WordPress.org

Ready to get started?Download WordPress

Forums

To display Recent post in Unoder list (1 post)

  1. avay
    Member
    Posted 5 years ago #

    I want to display Recent Post item in list (Unoder list) which is in the leftside bar. But, I couldn't generate the list. Once I had edited the code(left_sidebar.php)

  2. <h2><?php _e('Recent Posts'); ?></h2>
    <ul type="disc">
  3. <?php wp_get_archives('type=postbypost&limit=5'); ?>
  4. Even though I couldn't get in the order:

    • History in the making
    • Development is not so easy
    • Interview with Dr. Babu Ram Bhattarai

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags