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
Hi Ismael,
1) I want title appear only on Page and disable on Post.
2) I had try the code but no change.
Thanks.
Hi, anyone can help?
Thanks.
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
Hi,
1. It’s work. Thanks.
2. I add the code in functions.php in child theme.
Here I attach login for portal.
Thanks.
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
Hi Ismael,
Thank You
Hi ayeh,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria