1
vote
2answers
573 views

Add the last viewed post title to a contactform with shortcode

I'm using the contactform 7 plugin and i want to add the title of the last viewed page (The page visited before the contact) to the dynamic field of the plugin with a shortcode. Is there a way to do ...
-1
votes
1answer
600 views

Changing the title tag from a shortcode

I currently have a shortcode which dynamically swaps out locations on a page to make each page specific to a location. For example the url http://mywebsite.com/offers/scotland/ Would make the H1 ...
2
votes
1answer
198 views

Browser title script ignoring is_page /else conditional [closed]

I've used this code to stipulate different separators for different pages in my clients site: <title> <?php if(is_page('Portfolio')){ wp_title( 'of', true, 'right' ); echo ...