WordPress.org

Support

Support » How-To and Troubleshooting » Hide Category & Problem with showing last posts

Hide Category & Problem with showing last posts

  • 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? 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • Jaqueline
    Participant

    @jaqueline

    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! :/

    Jaqueline
    Participant

    @jaqueline

    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! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Category & Problem with showing last posts’ is closed to new replies.