Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #989068

    Hi Enfold Team,

    How to remove item 1 and 2 in breadcrumb.
    Please refer attachment.

    Thank You.

    #989530

    Hey ayeh,

    Thank you for using Enfold.

    1.) Set the Enfold > Header > Header Title and Breadcrumbs to the third option to remove the title and only display the breadcrumb.

    2.) Use this filter in the functions.php file to remove the page trail.

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

    Best regards,
    Ismael

    #989568

    Hi Ismael,

    1) I want title appear only on Page and disable on Post.

    2) I had try the code but no change.

    Thanks.

    #990013

    Hi, anyone can help?

    Thanks.

    #990079

    Hi,

    Thanks for the update.

    1.) Add this css code instead of changing the header option.

    .single .title_container .main-title {
       display: none;
    }

    2.) Where did you add the code? It should be added on the functions.php file. Please provide the login details in the private field so that we could test the filter.

    Best regards,
    Ismael

    #990107

    Hi,

    1. It’s work. Thanks.

    2. I add the code in functions.php in child theme.
    Here I attach login for portal.

    Thanks.

    #990594

    Hi,

    The “Sample Page” is set as blog page in the Enfold > Theme Options. Was that intentional? I reset the blog option.

    Best regards,
    Ismael

    #990792

    Hi Ismael,

    Thank You

    #991078

    Hi ayeh,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

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