extract recent blogs: PHP????? (4 posts)

  1. amitmohanty
    Posted 11 years ago #

    can any one tell me how to extract recent blogs for I want to display that in the menu?
    like for archives i do this
    <h3><?php _e('Archives:'); ?></h3>
    <div class="side">
    <h4>By Month:</h4>

      <?php wp_get_archives('type=monthly'); ?>

    <h4>By Category:</h4>

      <?php wp_list_cats(); ?>


  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

    You mean recent posts ?

  3. amitmohanty
    Posted 11 years ago #

    yeah someway i figured that put , podz..it was very intuitive and wp is realy written very well. i only changed from "monthly" to "daily"..anyway ..have a look at here
    u can see the archives there..but it is sorted in order of date..i want to publish the name of the blog instead of the date and also wants to control the no. of blog names appearing there..say i want only 7 recent entry name to come there..currently i am using this...
    <h3>Recent entry</h3>
    <div class="side">

      <?php wp_get_archives('type=daily');?>

    one more question is how the no of entries in each of the catagories get displayed..say i am having 4 entried in my introsepction catagory of the blog . how to i make it appear beside it in a bracket, say..

  4. amitmohanty
    Posted 11 years ago #

    okay i am gettin the plugins..being anewbis had no idea about plugins..now gettin it..:)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.