WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ctbird78
    Member
    Posted 7 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
    Member
    Posted 7 years ago #

    Any of the "recent posts" plugins will do it:
    http://codex.wordpress.org/Plugins/Archive

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags