Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1320886

    Hi gurus
    I have 2 issues on my site:
    1. I have a portfolio grid on the page below, with side navigation. I changed the direction with some code in the function.php, which worked fine. Now I am seeing that if I click through the nav arrows, I see portfolios that are not shown in the grid. I haven’t seen this happen before. Can you see what the problem is?
    2. My links are supposed to be red, but on some pages are displaying black. see the pages in private content. I’ve looked at the text code and it’s the same. Can you see why this is happening?

    thanks
    Nancy

    • This topic was modified 1 week, 3 days ago by  Munford.
    #1321017

    Hey Munford,

    Thank you for the inquiry.

    Are you trying to adjust the order of the items in the post navigation to be the same as in the grid? Please note that the posts or items in the navigation are sorted by published date regardless of their categories. It is using the get_adjacent_post function by default.

    // https://developer.wordpress.org/reference/functions/get_adjacent_post/

    We can use the get_{$adjacent}_post_sort filter to adjust the query if necessary.

    Best regards,
    Ismael

    #1321020

    no I am sorting them with a plugin but I figured out what the problem was (private posts)
    you can close this thread, thanks.

    #1321153

    Hi,

    Great, I’m glad that you found the problem, and thanks for the update. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘portfolio side navigation issue, link color problem’ is closed to new replies.