Adding a "Recent Posts" list in the sidebar (2 posts)

  1. ctbird78
    Posted 9 years ago #

    I would like to have a list of 4 or 5 recent posts in my sidebar (with just the post's title and meta data). I copied some of the code from my index.php into my sidebar.php, which works when I have the index.php page loaded. However, when I go to a single post or an archive page, only the that article shows in my "recent post" list.

    The problem can be seen at http://www.birdhauswebdesign.com.

    Thanks in advance.

  2. moshu
    Posted 9 years ago #

    Any of the "recent posts" plugins will do it:

Topic Closed

This topic has been closed to new replies.

About this Topic