WordPress.org

Ready to get started?Download WordPress

Forums

List post titles in sidebar (3 posts)

  1. danielkwan
    Member
    Posted 6 years ago #

    Sorry I've searched the site, the forums and plugins but I can't seem to find an answer for this...

    I'd like to list all my posts (titles only) in the sidebar in a collapsible list the way Blogger.com blogs do it. (eg. http://fakesteve.blogspot.com) Does anyone know of a plugin that does this?

    I also tried editing the wp_get_archives in sidebar.php to postbypost (as a temporary workaround) but it had no effect. I'm assuming it's because my Archives list is a widget? What file do I need to edit so my Archives widget does postbypost?

    Thanks a lot.

  2. MichaelH
    Member
    Posted 6 years ago #

    The file to modify would be wp-includes/widgets.php but how about this option:

    Install Otto's ExecPHP widget and then use the template tag, wp_get_archives(), with that widget.

    That way you don't have to modify a core file.

  3. danielkwan
    Member
    Posted 6 years ago #

    Thanks! That worked very well.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.