Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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

    #262335

    Hi 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,
    Yigit

    #262847

    Hi
    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!

    #262980

    Hey!

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Portfolio Arrows issue’ is closed to new replies.