Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #986352

    Hello,

    When I’m on an article page, the breadcrumb looks like this :

    You are here : Home / Title of the article / Category name / Title of the article

    Is it possible to exclude the first Title of the article ?

    Thanks in advance for your help !

    #986461

    Hey intweb24,

    Are you using the latest version of Enfold?
    Can you post a link to the page showing that breadcrumb? so we can try to check further.

    Best regards,
    Nikko

    #986479

    Hello,
    Site is under construction, I give you admin access in private reply

    • This reply was modified 6 years, 5 months ago by intweb24.
    #986500

    oups

    • This reply was modified 6 years, 5 months ago by intweb24. Reason: error
    #986525

    Hey!

    I added this code to your child theme functions.php to adjust the breadcrumb:

    
    add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod', 50, 2 );
    function avia_breadcrumbs_trail_mod( $trail, $args ) 
    {
    	if ( is_single() ) 
    	{
    		unset($trail[1]);
    	}
    
    	return $trail;
    }
    

    Best regards,
    Peter

    #986534

    Nice, thank you !

    – – – –
    EDIT : In fact I realize I have an other problem on the search/results page when I use the search funciton from the navbar.
    Here the title of the first result appears in the breadcrumb.
    Do I need to make an other post for this question ?

    • This reply was modified 6 years, 5 months ago by intweb24.
    #986538

    Hi,

    Great, glad I could help you :)

    Best regards,
    Dude

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Article title x2 in Breadcrumb’ is closed to new replies.