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. ![]()
If you enjoyed this article, get latest updates via RSS feed or by email.

















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..
yup. plugin tu memang dibuat untuk digunakan kat sidebar sebenarnye. macam kat site aku ni la.
and thanks for the comment.
btw aku ada gak gune SmartArchives tu.
aku nak cuba boleh tak!? eheh
ler…sila, sila. cube2. kalau ade error or ada suggestion tuk improvekan lagi plugin ni sila la bagitahu aku. macih…
it’s work wif my themes
well done cypher 
macih…
Sorry I am a novice in wordpress. Where put
Thanks
Sorry I am a novice in wordpress. Where put “”
Sorry, AGAIN, I am a novice in wordpress. Where put the function php cypher_latestposts()
put anywhere that you want. like mine, i put it at my sidebar.
cypherhackz aku nak tanyer macam maner nak letak code plugin ni katpage aku ….
[...] Next was to get some Wordpress plug-ins to suit my needs: RunPHP by James Van Lommel so I can process PHP code that I write into posts. Latest Posts by Fauzi Mohd Darus to simply display the latests posts on the side panel. Addictions by Joey Brooks for the stuff you see on the side for the leisurely things I have done recently. [...]
[...] Latest Posts [...]
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?
How do we get this to work with Permalink?
Kenny: put this tag
<li> and </li>
Alan: just copy and paste
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
huh? but it works for me. im using WP 1.5.1.3
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?
I’ll check the code after I back from camping. Btw, thanks for the information..
Ok people simple mistake
its not
its
(No space
)
Dude! The plugin works fine with my WP 1.5 Lol…
Try and copy paste the tag included in the .php file.
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.
how to make the link fint smaller, or how to place * before them, how to out them withina box?
Open up the plugin file. You can change font size from there.
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!
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>’) {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
Here’s the corresponding code it’s puking on:
And its error:
Bummer!!!

Woops, apparently the comments “eat” the code.
Maybe the code does actually work — and this thing just doesn’t like 2.0. hehehehe! Now I don’t feel so bad! 
Many people have problem with WP2.0 I not yet upgrade to WP2.0. He3. Sorry…
That is okay, thank you for letting me know — at least I don’t feel like I am losing my mind now!!!!
Parse error: parse error, unexpected T_STRING
This doesn’t work with 2.0 wordpress… plz update your plugin!
Currently I don’t have time to upgrade my plugin. Sorry…
Also buddy can you tell me which plugin you used for comments, and how to added smiles to it?
I use WordPress Yahoo/MSN Messenger Style Smileys Plugin. Cool eh? Lol…
Umm it works fine in 2.0+
Works fine on my blog anyway
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! \
/
I have made another plugin which most-likely like this plugin but it’s different.
Check this out: wp-plugin-previous-posts-v10
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
You can use my latest plugin: Previous Posts
This plugin works with permalinks structure.
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
Latest Posts v1.0 by Cypher
While looking for pludins for Jutia Group stumbled upon Latest Posts v1.0. It is on the left side, under “10 Newest Entries”.
I needed some more functionaly out of it so I took the liberty to modify the code a bit. Just to make it a tad more flexib…
small error, you takes
/
in place ofthe code is not valide\
small error, you takes
in placethe code is not valide, see validome.org
Thx this plugin. nice… \
/
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
i’m suggesting you to use my Previous Posts plugin.
[...] looking for plugins for Jutia Group I stumbled upon Latest Posts v1.0. It is on the left side, under “10 Newest [...]