Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #306877

    Hi there,

    I have several categories on my site for news & events, blog and case studies. I’m trying to add a custom sidebar to the main page for the category but can’t figure out how to do it. I have included an example of page below. Can you let me know please how to do it?

    Also, why is the category appearing as Archive for Category – is there a way of removing the word category from the breadcrumb menu

    Thanks for your help

    /Deirdre

    #306939

    Sorry guys,

    Figured out the sidebar categories by finding them in the widgets area but don’t know why I’m getting Archive for Categories – any way to remove that.

    Thanks

    #307350

    Hi!

    Yes, please insert this code into the enfold/functions.php or child theme functions.php file:

    
    add_filter('avf_which_archive_output','avf_change_which_archive', 10, 3);
    function avf_change_which_archive($output)
    {
    	if(is_category())
    	{
    		$output = __('Archive for:','avia_framework').' '.single_cat_title('',false);
    	}
    
    	return $output;
    }
    

    Regards,
    Peter

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.