Forums

Show posts only from select catergory on index.php? (8 posts)

  1. AnthonyC
    Member
    Posted 4 years ago #

    Hi everyone, I've just installed my first WordPress, very nice.

    Currently I have two categories labeled: News and Articles. When you load up the index page it shows the posts from both these categories, is there a way so only the News posts show on the index page?

  2. skippy
    Member
    Posted 4 years ago #

    See if the examples of The Loop help.

  3. AnthonyC
    Member
    Posted 4 years ago #

    Thanks, got it working.

  4. jorgent
    Member
    Posted 4 years ago #

  5. jorgent
    Member
    Posted 4 years ago #

    Anyone? Sorry if I'm impatient..

  6. Madcore
    Member
    Posted 4 years ago #

    To AnthonyC and Jorgent, try this plugin:

    http://www.nmyworld.com/wordpress/2005/04/elegant-category-invisibility-69/

    I´m using it in my blog, to show only "news" categories on the frontpage, and left the rest for viewing by a direct link for their categories (normal, or childs). It´s works perfect ^^.

  7. jorgent
    Member
    Posted 4 years ago #

    Thanks for the link Madcore! It's exactly what I'm looking for, but it seems like it doesn't work without the default permalink structure. I get 404 errors when I click on my post titles. I don't want to remove my permalink structure.. Too bad if I can't use this great plugin :(

  8. jorgent
    Member
    Posted 4 years ago #

    Sorry about the nagging, but I really want this to work :) I'm using this permalink structure: /%year%/%monthnum%/%day%/%postname%/

    The plugin seems to work, but when I click the post titles or the "read more" button, I get a 404 error. When I look at the url it looks like a permalink problem. I guess everything would work nice if I removed the structure, but I don't want to do that cause I need it for statistics etc.

    Can anyone please help me? Thanks in advance :)

Topic Closed

This topic has been closed to new replies.

About this Topic