Tagged: x
-
AuthorPosts
-
October 26, 2016 at 5:50 pm #1232231
lightspeed2016ParticipantHi-
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!
October 26, 2016 at 11:36 pm #1232626
RupokMemberHi 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!
October 26, 2016 at 11:52 pm #1232639
lightspeed2016ParticipantThis reply has been marked as private.October 27, 2016 at 4:28 am #1232848
RadModeratorHi 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!
October 27, 2016 at 12:43 pm #1233515
lightspeed2016ParticipantHi 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’ buttonThe “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!
October 27, 2016 at 9:35 pm #1234178
RadModeratorHi 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!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1232231 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
