Forums › Forums › Search & Filter Pro › Custom Page Titles / Meta Descriptions
Tagged: meta description, page title
- This topic has 4 replies, 2 voices, and was last updated 9 years, 1 month ago by Anonymous.
-
Anonymous(Private) November 21, 2015 at 3:57 pm #30373
Hello, I have V 2.0.3 Is there a way to have S+F Pro add in page titles/meta descriptions based on what the user selects in the search fields?
Say for instance 1 user selects –
“Dog Breed” = Pug
and
“Product Type” = Figurines
Search and filter would replace the default “View All Products” with “Pug Figurines”
So, somewhere within S+F you would need to be able to add text for each dropdown value that S+F would use to insert in the page title …
Is something like this possible or currently available?
Thanks
Ross Moderator(Private) November 23, 2015 at 9:21 am #30480Hey John
I want to add this in natively to the plugin, however that is a little way away yet.
However, it is still possible provided you are happy manipulating search data and wordpress filters for things like page title.
This class will allow you to retrieve all the data you need:
http://www.designsandcode.com/documentation/search-filter-pro/accessing-search-data/
Which means you can insert this into your page titles dynamically. I think you will need to use the WP Filter to modify page title though –
wp_title
(if you are using the YOAST plugin, it might bewpseo_title
)Thanks
-
AuthorPosts