• Good Day everyone. I’m very new here so any help would be appreciated. I would like to have on the front page of my wp to only show post that are in a specific catagory.

    For instance. I’d like to have 10 users on my site submit articles. But I don’t the articles to immediately show up. i want to be able to add them to the “Main” category, which THEN would allow it to be seen by the world.

    Is this something really simple that i’ve just overlooked in the control panel, or is this something that a plug in is needed for?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Well, you can creat users with “Contributor” acess, them they won’t be able to Publish any new, so they’re not going to apear to visitants of your website. (I don’t know if this works)

    And to show only a restrict category at the front page, just add this line before your The Loop (start with this line: <?php while (have_posts()) : the_post(); ?> )at index.php :

    <? query_posts("cat=XX"); ?>

    But in XX put the code of the category that you want.

    hello all,

    what i would like to have is a code or a plugin to display the last 5 or 10 articles from a category as a list with links to the articles…

    with the code :

    <?php query_posts(‘category_name=xxxxx&showposts=5’); ?>

    i have what i want but is not showned as a list, can i format the output data below de query_posts code ??

    (sorry my poor english)

    tks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘A Post Filter (I think)’ is closed to new replies.