November 13th, 2012, 01:40 PM
Join Date: Aug 2009
Time spent in forums: 5 h 34 m 35 sec
Reputation Power: 4
How Would I Dynamically Change Meta Tag Information?
How would I dynamically change meta tag information on a per page basis?
If a visit is on my "about" or "inventory" page. In the title and meta tag I would want that user to see "about us" or "inventory". I've written some below sample code but it's not working. Not sure what I'm doing.
For example, this page should be echoing out "Title Test Page" but it's not. What am I doing wrong here?
$title = 'Home';
$title = 'Title Test Page';