Firstly, awesome theme – really, really great.
There are three things I am trying to do but I’ll split them into 3 posts so they can be found more easily if they are solved.
I found a post with this code to remove the word “Archive” from a category archive page, but having put it in my child theme functions.php, nothing changes. I do have other functions in that file that are working.
add_filter('avf_which_archive_output','avf_change_which_archive', 10, 3);
function avf_change_which_archive($output)
{
if(is_category())
{
$output = single_cat_title('',false);
}
return $output;
}
Hey alanboyle5355!
I checked the code once again and it seems to be working totally fine on my end. Do you mind creating a temporary admin login and posting it here privately so we can look into it?
Regards,
Yigit
Hi!
We tested the filter on our installation and it works fine. Please post the actual category page url. We would like to check it.
Cheers!
Ismael
Hi!
It does seem to work fine on my end – http://i.imgur.com/8K64st9.png?1
Please flush browser cache and refresh your page a few times
Regards,
Yigit
Sorry, yes it does work there. I mean the page title in the tab of the browser rather than the Title that Enfold puts underneath the menu.
The URL is now http://www.ofas.org.uk/products
Hi!
Use the Yoast plugin (https://wordpress.org/plugins/wordpress-seo/) to change the title. Go to SEO > Title & Metas panel.
Best regards,
Ismael
That will work for the main catalogue page, but the category pages are created on the fly so I can’t modify them.
Hi!
You can change the archive titles in Dashboard > SEO > Titles & Meta > Taxonomies.
Regards,
Elliott
Ah ha!! Thank you! All done.