Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1072275

    Hi,

    i know the ability to sort Portfolio Items in a group of portfolio items (with the portfolio grid) in the Portfolio Grid settings or via the function.php.

    BUT this is only true for the Grid view. As soon as you are in the single Item view and use the Next/prev Buttons things are different:
    – The Items are sorted based on the creation Date/Time

    1 Question: How to sort the items (that are shown by the Next/Prev Button) also by something else then Date -> like “Title”

    2 Question: How to narrow the items (that are shown by the Next/Prev Button) to the category (Portfolio Grid) that it was called from. Is this possible?

    Thanks,
    Artur

    #1073103

    to answer my question myself, at least the 2 part: there is a way to limit the (prev next) entries to the category they are from. If anyone is interested, here is the code:

    add this to your function.php (child theme)

    add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod');
    function avia_post_nav_settings_mod($settings)
    {
      $settings['is_fullwidth']  = false;
      $settings['same_category'] = true;
      return $settings;
    }

    and some informations in the the docs
    Enfold Docs
    nevertheless I’m waiting for help or an answer to my first question.

    • This reply was modified 5 years, 8 months ago by ArturBala.
    #1073339

    Hi ArturBala,

    Yes, the second part is feasible, the first part will be harder.

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Victoria

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.