• OK ive been searching for this for hours now it may be the fact that i have been drinking that has stumped me or it may be harder than i think it should be…

    im trying to incert on the sidebar a list of post links about 10 for one catogory and i really cant find the answer anywhere, ive checked the template page and its given me a headache.

    please help out a destressed and very think person.

    also if anyone could point me in the right direction on how to stop that catogory from appearing on the main page that would be helpful but would be happy with just knowing how to list one catogory in the sidebar for now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The drinking may be the issue. This plugin provides the ability to list a specified # of posts, which you can restrict by categor(y/ies):

    http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/

    For removing categories from the sidebar links, see the ‘exclude’ parameter for list_cats() or wp_list_cats() (depending on the one used in your templates):

    http://codex.wordpress.org/Template_Tags/list_cats
    http://codex.wordpress.org/Template_Tags/wp_list_cats

    Thread Starter craig2

    (@craig2)

    WOW that is what i wanted (i need to cut down on this drinking lark)

    thank you very much for taking the time to respond… you are now officially my hero.

    you have managed to help me with a problem i have been looking for all night but if anyone can tell me how to get this category that ive now put on the sidebar from showing up in the post loop id be happy for the rest of me life and can get back to my drinking.

    this forum rocks bigtime for info.

    Thread Starter craig2

    (@craig2)

    Hi managed to get the category from showing up in the post loop by adding this code as all the category is only posted by blogger no 10 it made sence just to do it this way…

    <?php
    $blog = 1;
    if (!isset($author)) {
    $author = “-10”;
    }
    /* Don’t remove this line. */
    require(‘./wp-blog-header.php’);
    ?>

    the problem is this code works for every page is there a way to make this only work for the index page?

    or if anyone has a copy of mookitty’s show categories plugin as its not online anymore id be greatful 😉

    what pages do you want it in? The plugin allows you to exlcude categories.

    Thread Starter craig2

    (@craig2)

    yeah im just after excluding the cat or the writer from the front index page only… if this is possible.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘template (easy question) i think’ is closed to new replies.