Tagged: x
-
AuthorPosts
-
August 10, 2016 at 12:31 pm #1125913
Hugo GerritsenParticipantHi,
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
August 10, 2016 at 3:47 pm #1126153
Nabeel AModeratorHi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
August 25, 2016 at 1:40 am #1146164
Hugo GerritsenParticipantThis reply has been marked as private.August 25, 2016 at 2:46 am #1146229
RupokMemberHey 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!
August 25, 2016 at 3:57 am #1146300
Hugo GerritsenParticipantThank 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
August 25, 2016 at 5:08 am #1146371
RadModeratorHi 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!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1125913 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
