Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1184802
Portfolios "mix"
Closed

Comments

  •  2
    typogretel started the conversation

    Hi, I use different portfolios for different topics. One category is e.g. "courses" another one "locations".

    But when I open the first single portfolio element of the "courses" category and click on the "previous" button at the bottom, it brings me to the last portfolio element of the "locations" category.

    How can I avoid that please?

    Thank you!

  •  435
    Sergio replied

    Hi, 

    not quite sure what do you mean. Can you pls provide more details (screenshots)?

    If you’re happy with our theme, please rate us with 5 stars on Themeforest. It keeps us motivated!  (How to rate).

    Regards Sergio Codex.

  •  2
    typogretel replied

    Ok, no problem ...

    Here is screenshot of a part of the backend ...

    The first 3 portfolio items are "Courses"

    The last 3 ones are "Locations"
    ....

    There are separate pages for an overview of all courses and one for all locations ....

    Now -  if I click on a preview element in the courses section, the single portfolio opens. If I scroll down, I find the NEXT and PREVIOUS buttons.

    In some cases, the PREVIOUS button does link to a "location" single portfolio page ...
    This is what I would like to avoid.

  •  435
    Sergio replied

    HI,

    pls. try to edit (you need to register true)

    <?php if($thegem_nav_post = get_previous_post(false, '', 'thegem_portfolios')) : ?>
    

    in the file /wp-content/themes/thegem/content-page.php line 157 и 172


    If you’re happy with our theme, please rate us with 5 stars on Themeforest. It keeps us motivated!  (How to rate).

    Regards Sergio Codex.