Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #336672

    Nan Say
    Participant

    Hi,

    Would you please assist how should I enable the breadcrumb to show on the pages that I have created?
    Be default, the breadcrumb is only show on the blog posts.

    And another problem, after I have update the x theme latest released. All my icon such as social media, small icon on the breadcrumb disappear. Only when I re upload my old renew.css its appear. The strange thing is I never change anything on renew.css to make all icons appear.

    Looking forward to your support.

    Thank You

    #336793

    Zeshan
    Member

    Hi there,

    Thanks for writing in! To assist you with this, we’ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you.

    As for the social icons issue, can you confirm that you are fully updated? (Theme and Plugins)

    You can find the latest version numbers here: (http://theme.co/x/member/changelog/) Then you can compare them to what’s installed on your site.

    If you find anything to be out of date, you can review our update guide.

    Thanks!

    #337588

    Nan Say
    Participant
    This reply has been marked as private.
    #337727

    Rupok
    Member

    Hi There,

    Let’s enable the breadcrumb from Customize > Header > Miscellaneous > (check) Breadcrumbs.

    If you have already enabled it but can’t see on pages, then share us your credentials in a private reply to have a closer look.

    Cheers!

    #337801

    Nan Say
    Participant
    This reply has been marked as private.
    #337876

    Lely
    Moderator

    Hello There,

    Thanks for the site admin credentials. Please install Cornerstone via Addons > Extensions > Install Cornerstone because it is required in X v4.0. Then you may now safely disable X shortcode plugin.

    Let us know how this goes.

    #337895

    Nan Say
    Participant

    Hi,

    Yes now I have install Cornerstone and deactivate X shortcode plugin. Please let me know how should I proceed to make my breadcrumbs appear in page and also posts.

    Thanks

    #337912

    Rupok
    Member

    Hi There,

    It seems you have the following code on your customizer –

    .x-landmark {
      display: none;
    }
    
    .h-landmark span {
      display: none;
    }
    

    Let’s remove it and also check if you have other custom code that might hide it.

    Hope this helps.

    Cheers!

    #337938

    Nan Say
    Participant

    Hi There,

    This following code doesn’t cause anything to hide the breadcrumb as I check. But anyway, I have removed it. But the breadcrumbs on the page itself seems still not appear at all.

    .x-landmark {
    display: none;
    }

    #337981

    Rue Nel
    Moderator

    Hello There,

    Breadcrumbs and Landmark title is not visible page templates 1, 2, 4 and 5 namely (Container | Header, Footer), (Container | Header, No Footer), (No Container | Header, Footer) and (No Container | Header, No Footer). If you want to display the landmark and breadcrumbs in these pages, you have to customize the landmark template.

    Since you already have a child theme setup, please copy the file /WP-CONTENT/X/FRAMEWORK/VIEWS/RENEW/_LANDMARK-HEADER.PHP and paste it in your child theme’s folder /WP-CONTENT/X-CHILD/FRAMEWORK/VIEWS/RENEW/_LANDMARK-HEADER.PHP. Please edit that file and insert this code instead:

    <?php
    
    // =============================================================================
    // VIEWS/RENEW/_LANDMARK-HEADER.PHP
    // -----------------------------------------------------------------------------
    // Handles content output of large headers for key pages such as the blog or
    // search results.
    // =============================================================================
    
    $disable_page_title = get_post_meta( get_the_ID(), '_x_entry_disable_page_title', true );
    $breadcrumbs        = x_get_option( 'x_breadcrumb_display', '1' );
    
    ?>
    
      <?php if ( is_page() && $disable_page_title == 'on' ) : ?>
    
      <?php else : ?>
    
        <header class="x-header-landmark">
          <div class="x-container max width">
            <div class="x-landmark-breadcrumbs-wrap">
              <div class="x-landmark">
    
              <?php if ( x_is_shop() || x_is_product() ) : ?>
    
                <h1 class="h-landmark"><span><?php echo x_get_option( 'x_renew_shop_title' ); ?></span></h1>
    
              <?php elseif ( x_is_bbpress() ) : ?>
    
                <h1 class="h-landmark"><span><?php echo get_the_title(); ?></span></h1>
    
              <?php elseif ( x_is_buddypress() ) : ?>
                <?php if ( x_buddypress_is_component_with_landmark_header() ) : ?>
    
                  <h1 class="h-landmark"><span><?php echo x_buddypress_get_the_title(); ?></span></h1>
    
                <?php endif; ?>
              <?php elseif ( is_page() ) : ?>
    
                <h1 class="h-landmark entry-title"><span><?php the_title(); ?></span></h1>
    
              <?php elseif ( is_home() || is_single() ) : ?>
                <?php if ( x_is_portfolio_item() ) : ?>
    
                  <h1 class="h-landmark"><span><?php echo x_get_parent_portfolio_title(); ?></span></h1>
    
                <?php else : ?>
    
                  <h1 class="h-landmark"><span><?php echo x_get_option( 'x_renew_blog_title' ); ?></span></h1>
    
                <?php endif; ?>
              <?php elseif ( is_search() ) : ?>
    
                <h1 class="h-landmark"><span><?php _e( 'Search Results', '__x__' ); ?></span></h1>
    
              <?php elseif ( is_category() || x_is_portfolio_category() || x_is_product_category() ) : ?>
    
                <?php
    
                $meta  = x_get_taxonomy_meta();
                $title = ( $meta['archive-title'] != '' ) ? $meta['archive-title'] : __( 'Category Archive', '__x__' );
    
                ?>
    
                <h1 class="h-landmark"><span><?php echo $title; ?></span></h1>
    
              <?php elseif ( is_tag() || x_is_portfolio_tag() || x_is_product_tag() ) : ?>
    
                <?php
    
                $meta  = x_get_taxonomy_meta();
                $title = ( $meta['archive-title'] != '' ) ? $meta['archive-title'] : __( 'Tag Archive', '__x__' );
    
                ?>
    
                <h1 class="h-landmark"><span><?php echo $title ?></span></h1>
    
              <?php elseif ( is_404() ) : ?>
    
                <h1 class="h-landmark"><span><?php _e( 'Oops!', '__x__' ); ?></span></h1>
    
              <?php elseif ( is_year() ) : ?>
    
                <h1 class="h-landmark"><span><?php _e( 'Post Archive by Year', '__x__' ); ?></span></h1>
    
              <?php elseif ( is_month() ) : ?>
    
                <h1 class="h-landmark"><span><?php _e( 'Post Archive by Month', '__x__' ); ?></span></h1>
    
              <?php elseif ( is_day() ) : ?>
    
                <h1 class="h-landmark"><span><?php _e( 'Post Archive by Day', '__x__' ); ?></span></h1>
    
              <?php elseif ( x_is_portfolio() ) : ?>
    
                <h1 class="h-landmark"><span><?php the_title(); ?></span></h1>
    
              <?php endif; ?>
    
              </div>
    
              <?php if ( $breadcrumbs == '1' ) : ?>
                <?php if ( ! is_front_page() && ! x_is_portfolio() ) : ?>
                  <div class="x-breadcrumbs-wrap">
                    <?php x_breadcrumbs(); ?>
                  </div>
                <?php endif; ?>
              <?php endif; ?>
    
              <?php if ( x_is_portfolio() ) : ?>
                <div class="x-breadcrumbs-wrap">
                  <?php x_portfolio_filters(); ?>
                </div>
              <?php endif; ?>
    
            </div>
          </div>
        </header>
    
    <?php endif; ?>

    Save the file and upload it again in your child theme.

    Let us know if this has been helpful to you.

    #338031

    Nan Say
    Participant

    Hi there,

    Thanks for the effective support.

    Now its working as expected. But would you please give instruction how to remove this
    .x-header-landmark on the front page only. The breadcrumb doesn’t appear in front page which is right for me
    but there is gap between the header and and slider since an empty div (<div class=”x-header-landmark”>…</div>) is there.

    So I’d like to remove the whole div in home page only. I could do this…
    .x-header-landmark {
    display: none;
    }

    but I want it to work on front page only. is there a way? please suggest.

    Thank you

    #338038

    Rue Nel
    Moderator

    Hi There,

    Please make use of this code instead:

    .home .x-header-landmark {
      display: none;
    }

    This enables you to hide it in your home page only. And by the way, thanks for letting us know that the custom page template works out for you.

    All the best.

    #338054

    Nan Say
    Participant

    Hi There,

    Its all working fine for me now. Thanks for a great support.

    I seems focus on the breadcrumbs too much and forget where did i drop the icons issues 🙂
    I believe you could recall my issue the I have mentioned. Is there a way to fix that?

    Seems like after updating x-theme, those icons disappear. Its look like the font awesome was missed out.

    #338091

    Paul R
    Moderator

    Hi,

    Your icons are appearing fine on my end.

    http://screencast.com/t/ZLP20KRe

    http://screencast.com/t/hIoA3S1P

    Please clear your browser cache and plugin cache(if you have one installed)

    Thanks