Set recent posts title in the sidebar in WP

Discussion in 'WordPress' started by pilar, May 29, 2008.

  1. #1
    Hi guys.. I'm trying to setup my WP blog and I'm wondering how to get my recent post titles in the sidebar. My site is www.demakelaarinzwolle.nl and as you can see on the right sidebar there is one Item "Artikelen" which means articles. I want to get my 5 recent posts (titles) in there.

    Anyone can recommend me how to do that or which source I should use? Currently I was searching on Google and have found some things, but I don't understand exactly what to do..

    Help would be appreciated and green rep will be given.

    Thanks!
     
    pilar, May 29, 2008 IP
  2. pilar

    pilar Peon

    Messages:
    863
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Anyone, please?
     
    pilar, May 29, 2008 IP
  3. System0

    System0 Well-Known Member

    Messages:
    168
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    128
    #3
    you can code this manually however you may want to try one of the many plugins which achieve this (eg. this one)

    do a search at http://wordpress.org/extend/ for 'recent comments' and you'll find a few of them :)
     
    System0, May 29, 2008 IP
    pilar likes this.
  4. pilar

    pilar Peon

    Messages:
    863
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks, rep has been added ;)
     
    pilar, May 29, 2008 IP
  5. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #5
    No plugin necessary. In your sidebar.php add:

    <?php get_archives('postbypost', 5); ?>
    Code (markup):
    More info on it here.
     
    mizaks, May 29, 2008 IP
    pilar likes this.
  6. pilar

    pilar Peon

    Messages:
    863
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    thanks man, this is what i was looking for! block of green rep has been added
     
    pilar, May 30, 2008 IP
  7. godsofchaos

    godsofchaos Peon

    Messages:
    2,595
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #7
    godsofchaos, May 30, 2008 IP