• I’ve got a problem sorting my posts by tags on index, archive, I am using the same custom query for my posts to exclude a some categories from the loop, everything works fine. My tags is shown as they should in my sidebar, for an example if I am under a certain category it shows the related tags as well.. But when I click on them, it does not affect my posts

    Please help.. Really tried everything, might be a little error.

    This is my index query for the posts:
    https://pastebin.com/dUKk6hcb

    This is what I am sorting the tags with in my functions.php:
    https://pastebin.com/g7qevAij

    This is where I output the tags in my sidebar.php:
    https://pastebin.com/heazxvNs

    I think my function in function.php does NOT fetch my custom query to sort the posts, so the problem might rely on the functions.php

    [Please don’t bump]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘My url ?tag=example doesn't order posts with custom query’ is closed to new replies.