• So what I want is.. To exclude any post in the child cat from the loop within archive.php, and the thing is.. This works on the index smoothly, but not on my archive.php

    Here is the working code from index.php:
    https://codebins.com/bin/4ldqoza/

    Here is the code from archive.php:
    https://codebins.com/bin/4ldqoz8/

    The codes are almost the same and both works like a charm, EXCEPT if I use the <form>/sorting outside the loop as of index.php it ignores it? it does not do this on index.php

    Please help

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Exclude child_cat from archive & make form work outside loop’ is closed to new replies.