Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1125913
    Hugo Gerritsen
    Participant

    Hi,

    The breadcrumbs aren’t showing on the portfolio page. Any idea why? I have them enabled and they’re working on every other page, so I can’t find the cause.

    http://janvloeberghs.be/projecten/

    Theme X is fully updated. As is WordPress & Cornerstone.

    Kind regards,

    Hugo Gerritsen

    #1126153
    Nabeel A
    Moderator

    Hi Hugo,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1146164
    Hugo Gerritsen
    Participant
    This reply has been marked as private.
    #1146229
    Rupok
    Member

    Hey Hugo,

    Thanks for writing back. It’s a top level page so by default it should not show any breadcrumbs as there is no parent of this. If you want; let’s set “HomePage” as parent of Portfolio page. As it’s a Portfolio archive page; it might show “Archives” on the Portfolio page breadcrumbs. To change this; you can add this under Custom > JavaScript in the Customizer.

    jQuery ( function( $ ) { 
      $('.post-type-archive-x-portfolio .x-breadcrumbs .current').text("Projecten"); 
    } );

    I have added this to make sure it works. Let’s check yourself.

    Cheers!

    #1146300
    Hugo Gerritsen
    Participant

    Thank you.

    It does add the breadcrumbs to the page you’re talking about. But I tried to add it to the archive page that’s now on http://janvloeberghs.be/homepage/projecten/.

    Is this not possible?

    Kind regards,

    Hugo Gerritsen

    #1146371
    Rad
    Moderator

    Hi there,

    Your current stack is Renew where Portfolio index page has no breadcrumbs by default. It’s replaced by the filter and it’s an intentional design. http://demo.theme.co/renew-1/portfolio/

    You can either switch to another stack or edit this template \wp-content\themes\x\framework\views\renew\_landmark-header.php and replace this code,

    <?php if ( x_is_portfolio() ) : ?>
                <div class="x-breadcrumbs-wrap">
                  <?php x_portfolio_filters(); ?>
                </div>
              <?php endif; ?>

    with this

    <?php if ( x_is_portfolio() ) : ?>
                <div class="x-breadcrumbs-wrap">
                  <?php x_breadcrumbs(); ?>
                </div>
              <?php endif; ?>

    Then move the template to your child theme (eg. \wp-content\themes\x\framework\views\renew\ ).

    Thanks!

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