To display Recent post in Unoder list
-
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)
- <h2><?php _e(‘Recent Posts’); ?></h2>
<ul type=”disc”> - <?php wp_get_archives(‘type=postbypost&limit=5’); ?>
Even though I couldn’t get in the order:
- History in the making
- Development is not so easy
- Interview with Dr. Babu Ram Bhattarai
- <h2><?php _e(‘Recent Posts’); ?></h2>
- The topic ‘To display Recent post in Unoder list’ is closed to new replies.