When you look for a specific portfolio tag with something like this url
http://energia.anci.emilia-romagna.it/fe/?tag=modulimodelli
you get a page with the portfolio entries filtered by the required tag but the page title is a generic “Portfolio elements” title
We’d like to have in the page title the tag name of the tag slug requested in the url (in that case “moduli/modelli”)
How can we do that?
Hi tipinoncomuni!
Please see here, https://kriesi.at/support/topic/portfolio-archive-page-title-replacing-archive-for-xxx-with-just-xxx/.
Best regards,
Elliott
Sorry but this is not correct.
Line 905 is an ‘if’ switch but, more important, my output title is not “Archive for …” or something similar,
it is “Portfolio items”. These words are not in this source file.
Hey!
Sorry, try this, https://kriesi.at/support/topic/tags-pages/#post-212154.
If that is not working for you either then just try changing it on line 98 in the tag.php file.
echo "<h3 class='post-title tag-page-post-type-title'>".$label."</h3>";
Regards,
Elliott