I'm using thefox template to build site for my client.
I think that I discovered a bug with the order of the portfolio items.
As you can see in the link: thefoxwp.com/portfolio-classic-09-2/
Creative studio Project pencil is second in stack, when you click on it thefoxwp.com/project/creative-pen-5/ and then click previous you should get "GREAT CD" project, not the "BOON THE RACOON".
So, when I push portfolio items through the category to build the stack, the first item is actually the last, so in the detailed view user don't get the next btn, only the previous.
I'm after 2 hours of searching the problem, but when I checked demo template and confirmed, that the issue is not from my modifications, I decided to submit ticket.
I can't figure how to fix this.
Please advice where to look and how to invert the stack. (can be html/css/js/php related answer).
Hello Sebastian,Like the blog the latest post show first, so that why your top item will only have a previous button.
To change the order, you need to go edit the rd_portfolio.php and the ajax-handlers.php, find the portfolio post query and add this to the query :
\'orderby\' => \'date\',
\'order\' => \'ASC\',That should do the tricks.Hope it helps, do not hesitate to contact us if you have other questions.Regards
Hosting we recommend ( Free SSL and CDN included in all plan ).
Speed up your site with Autoptimize
Test your site with GTmetrix and fix the issue to make it faster
How to Update your Theme
Thanks a lot, saved me a lot of time, drilling down.
I know that the items are date related, but it\'s awkward if user clicks first item in stack, and then gets previous button.
Imo it\'s not logic.
You\'re welcomeIf you want to change the button too go edit the single-portfolio.phpOn the line 347 you should be able to change the next and previous text.Do not hesitate to contact us if you have other questionsRegards