Follow Me on Twitter!

Plugin Name: Latest Posts
Plugin URI: http://www.cypherhackz.net/?p=34
Description: Returns a list of the latest posts. You can set how many posts to be displayed.
Version: 1.0
Author: Fauzi Mohd Darus
Author URI: http://www.cypherhackz.net

Download Link: cypher_latest-posts.zip

NOTE: This plugin is not compatible with Wordpress 2.0. I will upgrade it when I have time for it. Sorry…

In the mean time, maybe you want to check my Previous Posts plugin. It is similar with Latest Posts plugin but more flexible. :)

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to StumbleUpon

Subscribe me feed! If you enjoyed this article, get latest updates via RSS feed or by email.

50 Responses to “WP Plugin: Latest Posts v1.0”

  1. Sy41ful
    July 1st, 2005 | 3:50 am | Reply

    Ok plugin ni dah ok best.. tapi sayangnya.. aku tak gunakan pada blog aku sebab aku dah guna plugin Smart Archives dimana dia akan display bukan sahaja 10 lastpost, tapi posting-posting terdahulu lengkap dengan tarikh semua aku dah gunakan.. apapun.. plugin ni sesuai untuk diletakkan pada sidebar untuk page.php atau single php… tahniah CypherHackz.. :)

  2. Administrator
    July 1st, 2005 | 4:00 am | Reply

    yup. plugin tu memang dibuat untuk digunakan kat sidebar sebenarnye. macam kat site aku ni la.
    btw aku ada gak gune SmartArchives tu. :D and thanks for the comment.

  3. megat
    July 2nd, 2005 | 5:11 pm | Reply

    aku nak cuba boleh tak!? eheh :d

  4. CypherHackz
    July 2nd, 2005 | 5:16 pm | Reply

    ler…sila, sila. cube2. kalau ade error or ada suggestion tuk improvekan lagi plugin ni sila la bagitahu aku. macih… :)>-

  5. megat
    July 6th, 2005 | 12:39 pm | Reply

    it’s work wif my themes :d well done cypher ;)

  6. Administrator
    July 12th, 2005 | 9:50 am | Reply

    macih… :d

  7. Juan Pablo
    July 21st, 2005 | 7:24 pm | Reply

    Sorry I am a novice in wordpress. Where put
    Thanks

  8. Juan Pablo
    July 21st, 2005 | 7:25 pm | Reply

    Sorry I am a novice in wordpress. Where put “”

  9. Juan Pablo
    July 21st, 2005 | 7:27 pm | Reply

    Sorry, AGAIN, I am a novice in wordpress. Where put the function php cypher_latestposts()

  10. Administrator
    July 22nd, 2005 | 10:19 pm | Reply

    put anywhere that you want. like mine, i put it at my sidebar.

  11. zikri
    August 17th, 2005 | 7:49 pm | Reply

    cypherhackz aku nak tanyer macam maner nak letak code plugin ni katpage aku ….

  12. Kenny (blaqenedwyte blog)
    October 26th, 2005 | 7:30 pm | Reply

    Great plug-in. It worked great for my site. Can you please tell me how I can get bullets in front of each post like the other items in my sidebar?

  13. Alan
    November 6th, 2005 | 8:04 am | Reply

    How do we get this to work with Permalink?

  14. Administrator
    November 25th, 2005 | 12:42 pm | Reply

    Kenny: put this tag

    <li> and </li>

    Alan: just copy and paste

  15. Tom Parker
    December 7th, 2005 | 3:20 am | Reply

    Damn in WP 1.5 its not working :(

    Parse error: parse error, unexpected T_STRING in /home/nwfax1/public_html/test/wp-content/themes/default/sidebar.php on line 72

  16. Administrator
    December 7th, 2005 | 10:41 am | Reply

    huh? but it works for me. im using WP 1.5.1.3

  17. Nay
    December 9th, 2005 | 1:41 am | Reply

    I’ve used this before, and worked fine. I wanted to start using it again, but just as Tom Parker said, I’m also getting the unexpected T_string error. Im using WP 1.5.2

    maybe something changed in the new upgrade?

  18. Administrator
    December 9th, 2005 | 2:14 am | Reply

    I’ll check the code after I back from camping. Btw, thanks for the information..

  19. Tom Parker
    December 22nd, 2005 | 6:28 pm | Reply

    Ok people simple mistake :”>

    its not

    its

    (No space ;) )

  20. Administrator
    December 22nd, 2005 | 6:43 pm | Reply

    Dude! The plugin works fine with my WP 1.5 Lol…
    Try and copy paste the tag included in the .php file. :d

  21. Chris
    January 6th, 2006 | 12:33 am | Reply

    Hi,

    How do you get it work with permalinks, where the base link is showing up as a subdirectory? root of blog works great, but within a category, the link is broken.

    Thanks,

    Chris

  22. Administrator
    January 7th, 2006 | 4:45 pm | Reply

    Chris wrote:
    Hi,

    How do you get it work with permalinks, where the base link is showing up as a subdirectory? root of blog works great, but within a category, the link is broken.

    Thanks,

    Chris

    Owh…I will check back the code but it will takes time cause I only upload the file when I home. Currently, I at Uni.

  23. sunny
    January 29th, 2006 | 4:06 am | Reply

    how to make the link fint smaller, or how to place * before them, how to out them withina box?

  24. Administrator
    January 30th, 2006 | 12:06 am | Reply

    Open up the plugin file. You can change font size from there.

  25. sunny
    January 30th, 2006 | 2:03 am | Reply

    i get error:

    after implementation:

    Parse error: parse error, unexpected T_STRING in /home/sunnybaj/public_html/wp-content/themes/FastTrack/sidebar.php on line 34

    Also how place aimage before the link.. can u paste any modified line as example!

  26. Administrator
    January 30th, 2006 | 2:36 am | Reply

    function cypher_latestposts($before='', $after='<br>') {

    Put image link (eg: http://www.test.com/test.gif) between inverted comma like this:

    function cypher_latestposts($before='http://www.test.com/test.gif', $after='<br>') {

  27. Bailey
    January 31st, 2006 | 7:43 am | Reply

    This does not appear to work on WP 2.0 :(

    [Mon Jan 30 17:47:32 2006] [error] PHP Parse error: parse error, unexpected T_STRING in /home/sracing/public_html/latest/wp-content/themes/travelogue/sidebar.php on line 7

  28. Bailey
    January 31st, 2006 | 7:46 am | Reply

    Here’s the corresponding code it’s puking on:

    And its error:

    [Mon Jan 30 17:47:32 2006] [error] PHP Parse error: parse error, unexpected T_STRING in /home/sracing/public_html/latest/wp-content/themes/travelogue/sidebar.php on line 7

    Bummer!!! :(( :(( :((

  29. Bailey
    January 31st, 2006 | 7:47 am | Reply

    Woops, apparently the comments “eat” the code. :-w Maybe the code does actually work — and this thing just doesn’t like 2.0. hehehehe! Now I don’t feel so bad! :”>

  30. Administrator
    January 31st, 2006 | 9:12 am | Reply

    Many people have problem with WP2.0 I not yet upgrade to WP2.0. He3. Sorry…

  31. Bailey
    January 31st, 2006 | 1:41 pm | Reply

    That is okay, thank you for letting me know — at least I don’t feel like I am losing my mind now!!!! :d

  32. sunny
    January 31st, 2006 | 2:34 pm | Reply

    Parse error: parse error, unexpected T_STRING

    This doesn’t work with 2.0 wordpress… plz update your plugin!

  33. Administrator
    January 31st, 2006 | 2:47 pm | Reply

    Currently I don’t have time to upgrade my plugin. Sorry…

  34. sunny
    January 31st, 2006 | 3:00 pm | Reply

    Also buddy can you tell me which plugin you used for comments, and how to added smiles to it? :-?

  35. Administrator
    January 31st, 2006 | 11:37 pm | Reply
  36. Darren
    April 30th, 2006 | 7:41 pm | Reply

    Umm it works fine in 2.0+

    Works fine on my blog anyway :D

  37. Pike
    May 1st, 2006 | 4:53 pm | Reply

    I couldn’t get it to work, so I checked your website. Glad to know that it doesn’t work in WP2.0. I thought I was going crazy! \:d/

  38. Administrator
    May 5th, 2006 | 12:00 pm | Reply

    I have made another plugin which most-likely like this plugin but it’s different.

    Check this out: wp-plugin-previous-posts-v10

  39. Gabriel
    July 3rd, 2006 | 2:47 am | Reply

    Hi,

    The plugin works in WP 2.0, I am using it. However, I need the links to be date and name based… /%year%/%monthnum%/%day%/%postname%/

    Is there any way to modify it to get the links to look like that?

    Thank you!
    Gabriel

  40. CypherHackz
    July 3rd, 2006 | 10:39 am | Reply

    You can use my latest plugin: Previous Posts

    This plugin works with permalinks structure.

  41. Jug
    July 21st, 2006 | 12:35 pm | Reply

    Hey all your folks who are on WP 1.5 are are still facing the T_STRING error, it not the problem with the php script file/code, there is a problem with the calling function. There is space which should not be there —
    Currently the Calling code to the function looks like this —

    It should be like this —

    Note — the space between ? and php was removed.

    Hope this helps

  42. SuMu
    October 15th, 2006 | 10:26 pm | Reply

    small error, you takes in place of
    the code is not valide\:d/

  43. SuMu
    October 15th, 2006 | 10:28 pm | Reply

    small error, you takes in place
    the code is not valide, see validome.org

  44. joomla
    November 26th, 2006 | 8:50 am | Reply

    Thx this plugin. nice… \:d/

  45. jack
    March 17th, 2007 | 4:04 pm | Reply

    :dI use your plug in. It operates very lightly. I will look forward to your plug in development in future.
    There is a point wanting you to change only 1. When the last POST was PAGE, it is listed. A link at that time is displayed by mistake. I think whether I do not list it when the last contribution is PAGE not to list PAGE. I cannot yet remodel it because it is a beginner. I expect it in the future.
    For example.
    (true)http://domein/?page_id=136
    (but list)http://domein/?p=136

  46. CypherHackz
    March 18th, 2007 | 2:57 pm | Reply

    i’m suggesting you to use my Previous Posts plugin.

Leave a Reply