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

    Hello
    My question is: How to REMOVE and not jsut hide the breadcrumbs?
    I’v done that, and it works, but i’m not sure that is the correct way :

    add_filter('avf_title_args', 'change_breadcrumb', 10, 2);
    function change_breadcrumb($args,$id) {
    	if($args['breadcrumb'] == true) {
    		$args['breadcrumb'] = false;
    	}
    	return $args; 	
    } 
    #224216

    Hi!

    That’s the correct way, if there’s no $args[‘breadbrumb’] the avia_breadcrumbs() function won’t be invoked (functions-enfold.php, linea 302)

    Cheers!
    Josue

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