Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #283650

    Hi,
    I have two questions.
    1. I was wondering if there was a way to remove the previous/next navigation links. With a video within the portfolio it is confusing what to click on.
    2. Can you remove the navigation from the portfolio on only certain portfolio categories?

    Thanks

    #283653
    #283678

    Thanks Yigit –
    I had found that but it isn’t working for me. I could be doing something wrong.

    I have put this in the functions.php file at the end.
    function no_post_nav($entries)
    {
    if(get_post_type() == ‘portfolio’) $entries = array();
    return $entries;
    }

    add_filter(‘avia_post_nav_entries’,’no_post_nav’);

    My portfolio category is called Projects. so should this be

    /*
    function no_post_nav($entries)
    {
    if(get_post_type(Projects) == ‘portfolio’) $entries = array();
    return $entries;
    }

    add_filter(‘avia_post_nav_entries’,’no_post_nav’);
    /*

    #283776

    Duh – never mind – I had it commented out. Thanks!

    #283778

    Hi!

    Glad you figured it out! :) Let us know if you have any other questions or issues

    Regards,
    Yigit

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