Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1144424
    Exord B.V.
    Participant

    Hi,

    I updated the code, but it’s not working.
    Could you please help me again?

    Thanks!

    #1145433
    Rad
    Moderator

    Hi there,

    How about this?

     elseif ( is_singular( 'essential_grid' ) ) {
    
                if ( $is_ltr ) {
                  echo '<a href="' . get_permalink( get_option( 'page_for_posts' ) ) . '">' . $blog_title . '</a>' . $delimiter . $current_before . $page_title . $current_after;
                } else {
                  echo $current_before . $page_title . $current_after . $delimiter . '<a href="' . get_permalink( get_option( 'page_for_posts' ) ) . '">' . $blog_title . '</a>';
                }
    
            }

    Since it’s already a singular page, there is no need to check page_for_posts and is_front_page.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1077638 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>