Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #429733

    Can this be added to the child theme so it is not lost on an update?

    Thanks

    Hello,

    Open up framework > php > function-set-avia-frontend.php then find this code

    if(!function_exists(‘avia_which_archive’))

    You can edit the text below that function for example.

    $output = __(‘Archive for category: ‘,’avia_framework’).single_cat_title(”,false);

    can be replace with

    $output = __(‘ ‘,’avia_framework’).single_cat_title(”,false);

    Regards,

    Ismael

    #430209

    Hey xyzb!

    Thank you for using Enfold.

    Use the avf_which_archive_output filter in the 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 = single_cat_title('',false);
    	}
    	return $output;
    }

    The code above is for the category archive title.

    Cheers!
    Ismael

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