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

    Hi,

    I can’t find a solution for the next 2 problems. It would be really nice if you could help.

    1. For some reason I get a double Home/home in the breadcrumbs on portfolio detail pages, on other pages it is working fine: http://delta.jettender.com/portfolio-item/williams-diesel-jet/

    2. On portfolio overview pages the subtitle says: “Archive for:” How can I remove this?

    Thanks in advance,
    Ariane

    #243743

    Hi ariane1001!

    1.) You can add this on Quick CSS or custom.css:

    .trail-begin, #main > div.stretch_full.container_wrap.alternate_color.light_bg_color.title_container > div > div > div > span:nth-child(3) {
    display: none !important;
    }
    

    2.) Please add this on functions.php:

    add_filter('avf_which_archive_output', 'avf_remove_which_archive_output', 10, 1);
    
    function avf_remove_which_archive_output($output) {
    	$output = "";
    	
    	if(is_tax())
    	{
    		$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
    		$output = __('','avia_framework')." ".$term->name;
    	}
    	
    	return $output;
    }

    Best regards,
    Ismael

    #243782

    Hello Ismael,

    Works great, thanks!

    Ariane

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Double home in breadcrumbs and remove 'Archive for' from portfolio page’ is closed to new replies.