• hi,
    i have just recently installed wordpress. it’s great. but i’m a beginner and need some help.
    this is what i want to do:
    1) have two different entry pages of my blog where version a) the default page shows only my public categories and posts and b) shows only my password protected posts and categories
    is there a way to do this?
    many thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You can add
    $cat = '3';
    to the top your template right after the $blog = 1; line to only show entries for that category (3 in this case).
    and/or you can add
    $cat = '-3';
    in the same place to show all categories except category 3
    Hope this helps,
    Mike

    Thread Starter kakirine

    (@kakirine)

    oh yeah. i tried that suggestion after reading another similiar thread. it worked, but also ends up displaying ALL the posts for that category on one big long page, and somehow disables the category selection ability. thanks though. any other suggestions?

    bump. if i put:
    $cat = '-4';
    I end up with ALL posts from ALL other categories.

    bump;

    forgive me but what IS this bump business??

    jon….
    What isn’t spoken is that there are a couple of settings that need to be set from the admin side…..
    go in to the admin area….click options
    change “posts_per_page” to how ever many you want to show: 5, 10, 13, 4, etc…
    then change “what_to_show” to “posts paged”
    I think this will give you the desired result.
    TG

    (Arthur, the ‘bump’ business is just to keep a topic current, if it hasn’t been responded to within some period of time.)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘customizing template questions’ is closed to new replies.