The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other wordpress archive help!

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #24065

    is anyone familar with any php function that i could use within my archive page, so that it will only show
    post for a certain category.
    basicly i have post coming from my home page, and also from a seperate news page.
    currently im creating an archive for my news page, but i dont want it to show the entries fro my home.
    ive search the web for hours but have not found anything.

    thanks in advance


    its me again, perhaps im not wording my question in the correct way. is anyone familar with how one would go about setting up unique archive pages for seperate categegories, or seperate pages. ultimately this is what im trying to do. im certain that if i can be pointed in that direction, this would also give me the answer for how to not show postings from another page/category within an archive page.


    This tag should list all pages in a certain category.


    This tag needs to be in the loop

    Read this for more info:


    hello and thanks for replying. actually i tried to use the querypost function but this does not work. the following is my code for my archive page. when i insert the querypost function within the loop, my post acts strange and insert a long list of repeating the post.
    again this is the code that im using, but the issue is that my archive page is displaying post from all post (particularly home page) i want it to display only the post from cat=5. im mainly refering to the postbypost section, the month section and category section will be removed.



    Monthly Archives

    Category Archives

    Post-by-Post Archives


    Hey Dave, is the plugin you are looking for. I’m also in search for similar solution, but without plugin.

    Ofcourse, using querypost inside archive page won’t work.

    PS : There are some permalink hacks to take care of to make it work, do read the FAQ page.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Other’ is closed to new topics and replies.