WordPress.org

Ready to get started?Download WordPress

Forums

Automatic or Plugin??? (6 posts)

  1. Saion
    Member
    Posted 8 years ago #

    A friend of mine has a 3 column stylesheet blog. In the left hand column there is a list of the posts she's made. In the center tho, there's never more than one post visible at a time. You need to click on one of the titles in the left hand column to call up that post. I'm not certain whether there's a certain number of post titles allowed or if it changes after a certain time limit or not, but I'm trying to figure out whether this function is something that happens automatically with WordPress or you need to install a plugin or modify a file in order to make it happen.

    I put up a post yesterday then did a test post today to see if it removed yesterdays post - it didn't. Can anyone help here?

    Thanks

  2. Murry
    Member
    Posted 8 years ago #

    At a guess, & there are more experienced than me here so I may stand corrected. You can set the number of posts to show in the Admin/Options area. In the sidebar.php file or in the Template thats being used you set the category to display and what to display/exclude etc . So for any cat you will see only the number of posts you set in the admin. - Im sure theres another way but thats the usual road.

  3. Saion
    Member
    Posted 8 years ago #

    Okay, that took care of the number of posts showing - Thanks. The only thing remaining is that under the category name that the posts are made under, it's showing the number of posts in that category instead of listing the titles which can be clicked on to show the post. Got a resolution for that one?

  4. Murry
    Member
    Posted 8 years ago #

    I think so.
    In the Template or whatever is used. If its the sidebar - then in there it will have (likely) a tag of wp_list_cats
    You can set it to display number of posts - you edit the parameters there. I think you can do this with other tags as well - but you can check the CODEX if you need to explore that. Anyways - this is one way to do that.
    This is from the CODEX and describes the tag a bit:
    Displays category links sorted by name, shows # of posts for each category, and excludes category IDs 10 and 15 from the list.
    <ul>
    <?php wp_list_cats('sort_column=name&optioncount=1&exclude=10, 15'); ?>
    </ul>

    Edit the sidebar.php (I guess thats where your code to display the cats is) with a txt editor. That should sort you out :)
    Keep well.

  5. YellowSwordfish
    Member
    Posted 8 years ago #

    If you want to show posts you need http://codex.wordpress.org/Template_Tags/wp_get_archives which allows you to show them in sequence or by category and creates a link

  6. Murry
    Member
    Posted 8 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.