Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Using the list category posts plugin I'm trying to work out how to include a title for the link

In my main theme the links are styles as follows:

<a title="Article - Post title" rel="bookmark" href="http://mysite/mypage/">Post title</a>

I want to do that using the category list plugin too, can that be done using the shortcode tags or would I need to put together a template?

share|improve this question
This is finally going in (at least a first version) on release 0.24. I'll further work on it :) –  Fernando Briano Apr 19 '12 at 7:22

1 Answer 1

Actually, I should include this as an option on the plugin. Right now the code looks like this:

$info = '<a href="' . get_permalink($single->ID).'" >' . $single->post_title . '</a>';

So this generates a simple link:

<a href="yourpost.html">Post Title</a>

I'll see what I can do on a next version to make this customizable, but in the meantime you can go to line 164 on /include/CatListDisplayer.php and change that line into something like this:

$info = '<a href="' . get_permalink($single->ID).'" rel="bookmark" title='. $single->post_title . '>' . $single->post_title . '</a>';
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.