WordPress.org

Ready to get started?Download WordPress

Forums

Post List In Sidebar Formatting (1 post)

  1. GreenFairy
    Member
    Posted 7 years ago #

    Hey all,

    Currently I am using:
    <li id="Recent_Posts">
    <?php _e('Recent Articles'); ?>

      <?php if (function_exists(jwPM_get_Recentposts))
      jwPM_get_Recentposts('10','custom','
    • ','
    • ');

      ?>

    To list my posts in the sidebar, but I have more then 10 now and I cannot seem to get more then 10 posts listed, even when changing the '10' to '15' or whatever.

    So then I tried this:

    • <?php wp_get_archives('type=postbypost&limit=15'); ?>

    Which lists the 15 posts, but is not formatted the same as the origninal list.

    Can anyone please tell me how to get it so the formatting is the same?

    The reason I want the same formatting (or something similar) is because with the 2nd piece of code it is hard to tell when one post title starts and the next begins.

    Whereas originally the list was seperated like:

    Article 1
    -------
    Article 2
    -------
    Article 3

    Genuinely,

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.