Viewing 10 replies - 1 through 10 (of 10 total)
  • you need to add a query before the loop on the home page (probably in the template file index.php, or loop.php ? http://codex.wordpress.org/Template_Hierarchy);

    example:
    <?php global $query_string; query_posts( $query_string . '&cat=-3,7'); ?>

    http://codex.wordpress.org/Function_Reference/query_posts

    that should hopefully exclude posts with the category ids 3 and 7 from the homepage.

    Thread Starter paraderain

    (@paraderain)

    Do I really need to hardcode this alchy?

    I have just made a page with a simple embedded flash game on it, I want to post a thumbnail link to the page in my “games” category without the post showing up on my “home” category?

    I really need to hardcode it in my directory to do this? I think I may be a bad idea using wp as a cms

    Well paraderain… There are different themes that have more customisable features than perhaps the one you have now…

    But if you need to exclude pages and you’re not one for “coding”, then install this plugin:

    http://wordpress.org/extend/plugins/exclude-pages/

    or another like it… Just search through the plugins for other peoples work and see if it suits your needs…

    Thread Starter paraderain

    (@paraderain)

    Not what I’m looking for jim unfortunately.

    What I don’t understand is, by default, when you create a new post, you have check boxes to select which category you would like the post to be published in, so when I check “games”, and uncheck “home”, the post is still being published in “home” aswel as “games”, so frustrating!

    tigtog

    (@tigtoggmailcom)

    The home page shows all your posts, not just the ones in the separate “home” category you’ve created (why? people are going to think you are writing about where you live).

    WordPress over the last few years has added more and more CMS features, and you can add a lot of functionality via adding code to functions.php on any theme manually, but there are lots of plugins that will do it for you.

    Thread Starter paraderain

    (@paraderain)

    tigtog

    I looked at your website, you are able to publish posts in certain categories without them showing up in your “welcome” category… how can I do that?

    tigtog

    (@tigtoggmailcom)

    paraderain, if you are looking at my viv.id.au page I don’t actually have any “posts” on that site, I only have “pages”, because it’s my site that points to everything else that I do. I don’t have a “Welcome” category, I have a “Welcome” page.

    Perhaps if you share the link to your site with us we can get a better idea of what you are trying to do?

    Thread Starter paraderain

    (@paraderain)

    How are you listing pages in the place where categories are usually listed? welcome personal/political professional, etc etc

    On my them (widgets disabled), when I create a catagory, it is listed on my website in the same place as your pages are listed, but when I create a page, it is not displayed anywhere on my website it just creates a permalink

    tigtog

    (@tigtoggmailcom)

    I’m using the built-in Menu function (Dashboard >> Appearance >> Menus) to tailor how that navigation bar appears.

    bfamilar

    (@bfamilar)

    I use a plug-in called PE Category Filter

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Stop category posts showing on homepage’ is closed to new replies.