Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1232231
    lightspeed2016
    Participant

    Hi-

    I am using x-theme 4.6.2; and cornerstone plugin 1.3.2.

    I have two portfolios on my site, one called “Outreach” and one called “Projects”:

    http://perfectpromos.wpstagecoach.com/projects/

    http://perfectpromos.wpstagecoach.com/outreach/

    I have next/prev links at the top of each portfolio item. When you get to the end of the “Projects” Portfolio, I would like the ‘next link’ to take you back to the beginning of that portfolio; similarly, I would like the next/prev links on the “Outreach” portfolio to only cycle through the “Outreach” portfolio items.

    Thanks!

    #1232626
    Rupok
    Member

    Hi there,

    Thanks for writing in! I’d like to check but your site asking for credentials that you might have set through htaccess. Please provide the access as well.

    Cheers!

    #1232639
    lightspeed2016
    Participant
    This reply has been marked as private.
    #1232848
    Rad
    Moderator

    Hi there,

    Would you mind clarifying what you wish to achieve? Prev and next is currently working as it should. Should it go to portfolio home page? What do you mean next should go to the beginning? It’s currently linking to the next item by default.

    Thanks!

    #1233515
    lightspeed2016
    Participant

    Hi Rad-

    So I have two portfolios on the site: “Outreach” and “Projects”.

    Projects: http://perfectpromos.wpstagecoach.com/projects/

    Outreach: http://perfectpromos.wpstagecoach.com/outreach/

    The most recently published “Project” portfolio item is “Extreme Networks” –
    As you can see, there is a Prev/Next button at the top of the page, but the Prev button doesn’t work. It stays on that page. I would like this item to only show a ‘next’ button

    The “Projects” portfolio has a similar issue with the last item. The last item is “Meg’s Smile Snugly Sweater 5K”. There is a prev/next button at the top of the page, but since it is the last portfolio item, I’d like to remove the ‘next’ button.

    Let me know if this is possible. Thanks!

    #1234178
    Rad
    Moderator

    Hi there,

    I see, it’s a custom code. In that case, please add this javascript code to Admin > Appearance > Customizer > Custom > Javascript

    jQuery( '.wp-post-navigation-next a[href="'+ window.location.href +'"]' ).remove();

    Cheers!

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