Thanks for the great support, so far the best.
I searched allover the forum before writing this message without finding my answer
In the portfolio, I’d like to invert the left and right slideout tabs, so the right tabs leads to the next item and the left one to the previous.
Is it possible?
Thanks for your help !
Open config-templatebuilder > aviashortcodes > portfolio.php, find this code on line 262:
<a href='#prev' class='ajax_previous'>".$avia_config['font_icons']['prev']."</a>
<a href='#next' class='ajax_next'>".$avia_config['font_icons']['next']."</a>
Replace it with:
<a href='#next' class='ajax_previous'>".$avia_config['font_icons']['prev']."</a>
<a href='#prev' class='ajax_next'>".$avia_config['font_icons']['next']."</a>
Thanks for your quick answer.
Unfortunately that doesn’t work. I still have the previous item on the right and the next on the left. Is there something else to update?
I did update the code in portfolio.php on line 262.
The url of my website is : http://arthurcommin.fr/print/
For information I’m using Enfold 1.8.4, and WordPress 3.5.2
Thanks in advance !
I think I found the solution.
I updated functions-enfold.php on line 319 whith this code :
$entries = get_previous_post($same_category);
$entries = get_next_post($same_category);
It seems to work as expected.
Your code works with the Ajax portfolio version. I just inverted the two lines, and the font_icon to make work.
Consider the thread solved !
The topic ‘Invert the next/last slideout tabs on the left and right side of the page’ is closed to new replies.