Latest Post
I updated the script from Dagon Design with options to;
- remove the category name from output text
- remove duplicate posts from output. this is useful if a single post is in more than 1 category.
Please note this is only available for WordPress version > 2.3. If you need it for an earlier version please contact me as it would be great to know someone is actually using my work & such joy will encourage me to write it for you
I have also;
- changed comments to appear in brackets (as apposed to a full text listing)
- optimsed / fixed the invalid html tags
- optimsed php functions for speed
- optimsed sql queries for speed
Download
Installing
- Download the above file, rename it from .txt to .php, and upload it to your plugins directory.
- Enable the plugin.
- Configure the plugin options (under DDLatestFromEach).
Using
There are two ways you can use this plugin.
1) In a post or page, insert the following line:
<!-- ddlastfromeach -->
2) In a template file, insert the following code:
<?php echo dd_last_from_each(); ?>
June 4th, 2008 at 6:27 am
thanks for the update!