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

    I see there is a global setting to turn off the breadcrumb navigation for Pages, but there is not a way to do this for Posts. We want to remove the breadcrumbs from all Posts. Is that possible?

    #1365244

    Hey garagestudios,
    Thanks for your question, the option Enfold Theme Options ▸ Header ▸ Header Layout ▸ Header Title and Breadcrumbs
    2022-09-16_001.jpg
    is a global setting for both pages and posts, to remove the breadcrumbs only from all posts please add this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field

    #top.single-post .title_container .breadcrumb {
    	display:none;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1365915

    or you let show for all – and remove it for some pages / posts

    function avf_header_setting_filter_mod($header) {
      if(is_single() || is_front_page()){
        $header['header_title_bar'] = 'hidden_title_bar';
      }
      return $header;
    }
    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);

    if you like to preserve showing it for portfolios – use instead this

    function avf_header_setting_filter_mod($header) {
      if(is_singular('post') || is_front_page()){
        $header['header_title_bar'] = 'hidden_title_bar';
      }
      return $header;
    }
    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.