WordPress.org

Ready to get started?Download WordPress

Forums

Hide Category & Problem with showing last posts (3 posts)

  1. fymmie
    Member
    Posted 9 years ago #

    Hi there :)

    I use the WP Category System to make my masthead page. For this I inserted the line "static"$cat="-6"; to exclude this category, which I want to hide on the Index Page Category listing. This works fine, but now I have the problem, that all Posts on the site are shown on index.php - not just the recent 5 posts like I configured in the WP options screen.

    Anyone got an idea how I could fix this? :)

  2. Jaqueline
    Member
    Posted 9 years ago #

    The Show Category plugin has the same problem. I configured two categories (and 5 posts in the admin area) and now I have 8 showing! :/

  3. Jaqueline
    Member
    Posted 9 years ago #

    Whith show category I could insert this: 'category=#&scp_limit=#&scp_status=publish'.

    Regarding to this problem at the index, if you choose in your options "posts paged" it seems to work! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.