Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #397392

    Hallo Kriesi Team,

    is there a way to assign a previous / next portfolio item link to a button or text on a portfolio page ?

    How could that be done ?

    Many thanks, Chris.

    #397711

    Hi Chris!

    Are you talking about a page where your using the portfolio grid shortcode? If so then I do not see an easy way of going about that and it would have to be considered custom work.

    If your talking about your single portfolio posts though then there should be previous / next links on each side of the screen to navigate to the next post.

    Regards,
    Elliott

    #399858

    Yes, the single portfolio posts. Got it now and all good and that works for the client. They didn’t show up at first because we had a full width slider as the first element …

    #400052

    Hi!

    You can still enable the avia_post_nav on pages with full width sliders. Just add this to the functions.php file;

    add_filter('avia_post_nav_settings','avia_remove_fullwidth_slider_check', 10, 1);
    function avia_remove_fullwidth_slider_check($settings)
    {
    $settings['is_fullwidth'] = false;
    return $settings;
    }

    Regards,
    Ismael

    #404491

    Thanks – and how would I have to go about to reverse the direction of the default previous next buttons such that it shows newer entries on the left side and older entries on the right ?

    #405339

    Hey!

    To reverse them try adding this to the bottom of your functions.php file.

    add_filter( 'avia_post_nav_entries', 'enfold_customization_reverse_post_nav', 10, 1 );
    function enfold_customization_reverse_post_nav( $entries ) {
    	$prev = $entries['prev'];
    	$next = $entries['next'];
    	$entries['prev'] = $next;
    	$entries['next'] = $prev;
    	return $entries;
    }

    Cheers!
    Elliott

    #405655

    Works – awesome ! Thanks a lot.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Previous / Next Portfolio Item Buttons’ is closed to new replies.