My url ?tag=example doesn't order posts with custom query
-
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/dUKk6hcbThis is what I am sorting the tags with in my functions.php:
https://pastebin.com/g7qevAijThis is where I output the tags in my sidebar.php:
https://pastebin.com/heazxvNsI 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]
- The topic ‘My url ?tag=example doesn't order posts with custom query’ is closed to new replies.