WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] recent comments and recent posts in sidebar (10 posts)

  1. greatsales
    Member
    Posted 7 years ago #

    I am using emire 1.0 template and would like to display "recent comments" and "recent posts" in the sidebar (not using widgets because of undesireable display). What are the functions for these?

  2. whooami
    Member
    Posted 7 years ago #

    There is NO wordpress function for displaying either of those.

    If you have you looked at your dashboard then Im assuming you've seen the recent comments and recent posts then on that page...

    The file that generates that is called wp-admin/index.php and if you open that file and look at the source, you will see that both recent comments and recent posts are called via a basic SQL query.

    If you want plugins for those, not widgets, go here:

    http://mtdewvirus.com/code/wordpress-plugins/

  3. MichaelH
    Member
    Posted 7 years ago #

  4. macsoft3
    Member
    Posted 7 years ago #

    >There is NO wordpress function for displaying either of those.

    There is a plug-in called Get Recent Comments. I found it a long time ago under Extend > Plugins > comments. It's very useful.

  5. whooami
    Member
    Posted 7 years ago #

    If you are suggesting my reply was incorrect:

    thats a plugin. My answer is correct. A plugin is NOT a core wordpress function. If there were a core function already, a plugin wouldn't be needed now would it?

    If I misunderstood your reply:

    I apologize.
    ---------------------------------
    I linked to the page the plugin you suggested is on.

    Do we get a fancy avatar when we get to a certain post count?

  6. greatsales
    Member
    Posted 7 years ago #

    Thanks to all...got the plugin working except I am trying to figure out how to remove the ":" from the beginning of each listing. But works good gor comments. I'll go looking for a "recent posts" plugin now.

  7. greatsales
    Member
    Posted 7 years ago #

    dangit, couldn't find a "recent posts" plugin...any clues?

    tks in advance...

  8. MichaelH
    Member
    Posted 7 years ago #

    greatsales--Did you look at the 'postbypost' type parameter for the template tag, wp_get_archives() or the Recent Posts plugin link that whooami provided?

  9. pianosteve
    Member
    Posted 7 years ago #

    Another recent posts plugin which I have been using for a long time now is "Fuzzy Recent Posts".

    You can find it at:

    http://www.semiologic.com/software/recent-posts/

  10. macsoft3
    Member
    Posted 7 years ago #

    >If you are suggesting my reply was incorrect:

    Oh, I'm sorry, whooami. I misunderstood you. No offense.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags