Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #374813

    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;
    }
    #375204

    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

    #375712
    This reply has been marked as private.
    #376010

    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

    #376059
    This reply has been marked as private.
    #376137

    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

    #378569

    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.

    #379563
    #379905

    Hi!

    Use the Yoast plugin (https://wordpress.org/plugins/wordpress-seo/) to change the title. Go to SEO > Title & Metas panel.

    Best regards,
    Ismael

    #381772

    That will work for the main catalogue page, but the category pages are created on the fly so I can’t modify them.

    #383434

    Hi!

    You can change the archive titles in Dashboard > SEO > Titles & Meta > Taxonomies.

    Regards,
    Elliott

    #384097

    Ah ha!! Thank you! All done.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Remove "Archive" from category page title’ is closed to new replies.