How to add custom titles with custom variables in them
-
Hi guys,
I’ve been trying to implement my own template in WP.
Right now I want to change the header file of my template so as to display a different title, depending on the URL of the page (using the GET method – http://mysite.com/page/?var=5). And the thing I’m trying to do is to have the title be:
“Welcome to page 5 (<=var from the URL), UserName.”
Where I need UserName to be a variable that is not passed through the URL.
I also have the Yoast SEO plugin, is there a way to do that through this plugin.I would be really, really grateful if someone could give me at least some insights on how to do this!
Thanks in advance : ]
- The topic ‘How to add custom titles with custom variables in them’ is closed to new replies.