Tagged: enfold
-
AuthorPosts
-
May 9, 2014 at 4:04 am #262107
Hi
I would like to know if i can change the direction of the portfolio arrows. So if i am on the most recent portfolio entry i can get an arrow on the right side instead of the left. I understand the portfolio entries are organized by date added, but in my website there is no use for that.In other words i would like to flip the portfolio entries like i am moving forward and not backwards.
Example:
http://daghlian.qc.cuny.edu/portfolio-item/vessel-with-two-half-loop-handles/
Here i would like the arrow to appear on the right side, so i can move “forward” to the next portfolio entry.let me know if is possible to do!
thank you! :)shanti
May 9, 2014 at 1:27 pm #262335Hi shantidevii!
Please go to Appearance > Editor and open functions-enfold.php file and find
$entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']); $entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']); } else { $entries['prev'] = get_previous_post($settings['same_category']); $entries['next'] = get_next_post($settings['same_category']);
and change it to
$entries['next'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']); $entries['prev'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']); } else { $entries['next'] = get_previous_post($settings['same_category']); $entries['prev'] = get_next_post($settings['same_category']);
Best regards,
YigitMay 11, 2014 at 12:36 am #262847Hi
thank you it works!. So everytime i update the theme, the functions will go back to the default?
There is a way to keep the changes on the functions (like the css)?
thanks!May 11, 2014 at 9:40 pm #262980Hey!
Yes it will :) To prevent that, you can use child theme. Please see – http://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
Yigit -
AuthorPosts
- The topic ‘Portfolio Arrows issue’ is closed to new replies.