WordPress.org

Ready to get started?Download WordPress

Forums

Limit number of recent posts shown in sidebar (2 posts)

  1. shimon
    Member
    Posted 7 years ago #

    I want to show only the last five recent posts in my sidebar widget for recent posts. I tried <?php wp_get_archives('type=postbypost&limit=5'); ?> in the sidebar.php file and it did not work-it still shows 10. My site is http://www.mutabletech.com . Any suggestions?

    Thanks in advance and happy New Year :-)

  2. shimon
    Member
    Posted 7 years ago #

    C'mon guys, I know someone out there could help me out!

Topic Closed

This topic has been closed to new replies.

About this Topic