Plugin Directory

TDD Recent Posts

It looks like garbage in my theme, What's up?

You need to do some CSS Styling. The plugin uses the ul, li, dl, dt, and dd HTML tags.

The entries are based upon an unordered list with class "tddrecentposts"

In the next version I will probably include more classes to work off of, but right now you can still do some heavy styling with CSS by calling the classname and then the specific tag you want to work off of. For example:

.tddrecentposts dt { border-bottom: 1px solid #000; }

Can I set it to display pages as well as posts?

Yes, although it is not in the admin menu. 1. Open output.php. 1. Find the line that has the variable $include_pages (on or around line 18) 1. Set the variable to say: $include_pages = true;

What about password protected pages?

Same as above, but set the variable $hide_pass_post to false.

I have a post with a bunch of images before my text and it doesn't display a content preview. What's going on?

In order to limit the database query that is made, the plugin only retreives 250 characters more than what it needs. If you have more than 250 characters of HTML markup before the content of your post, it will start cutting into what can be displayed. You can increase the default of 250 characters: 1. Open output.php. 1. Find the line that has teh variable $sqllimit (on our around line 3) 1. Change 250 to whatever you need (or delete in the following line: $sqllimit = 250 + $lengthof;)

Why can't I display images (or other HTML stuff) in my recent posts preview?

Right now the plugin strips out any HTML occuring in the post and just outputs text. Perhaps this will be in the next release if the demand is strong enough.

________ screwed up OR _________ isn't working...

Sorry? Plugin dev isn't my full time job. Shoot me an email or post on my website and I'll try to fix it.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4 ratings)