WP Plugin: Latest Posts v1.0

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. :)

Comments

  1. Sy41ful says:

    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. 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 says:

    aku nak cuba boleh tak!? eheh :d

  4. CypherHackz says:

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

  5. megat says:

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

  6. macih… :d

  7. Juan Pablo says:

    Sorry I am a novice in wordpress. Where put
    Thanks

  8. Juan Pablo says:

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

  9. Juan Pablo says:

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

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

  11. zikri says:

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

  12. 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 says:

    How do we get this to work with Permalink?

  14. Kenny: put this tag

    <li> and </li>

    Alan: just copy and paste

  15. Tom Parker says:

    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. huh? but it works for me. im using WP 1.5.1.3

  17. Nay says:

    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. I’ll check the code after I back from camping. Btw, thanks for the information..

  19. Tom Parker says:

    Ok people simple mistake :”>

    its not

    its

    (No space ;) )

  20. 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 says:

    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. 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 says:

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

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

  25. sunny says:

    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. 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 says:

    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 says:

    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 says:

    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. Many people have problem with WP2.0 I not yet upgrade to WP2.0. He3. Sorry…

  31. Bailey says:

    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 says:

    Parse error: parse error, unexpected T_STRING

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

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

  34. sunny says:

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

  35. Darren says:

    Umm it works fine in 2.0+

    Works fine on my blog anyway :D

  36. Pike says:

    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/

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

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

  38. Gabriel says:

    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

  39. CypherHackz says:

    You can use my latest plugin: Previous Posts

    This plugin works with permalinks structure.

  40. Jug says:

    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

  41. SuMu says:

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

  42. SuMu says:

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

  43. joomla says:

    Thx this plugin. nice… \:d/

  44. jack says:

    :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

  45. CypherHackz says:

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

Speak Your Mind

*