List category posts Wordpress Plugin (English)

Wordpress 2.7 compatible

Description

List Category Posts is a simple WordPress plugin which allows you to list posts from a category into a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Great to use WordPress as a CMS, and create pages with several categories posts.
Usage: [catlist argument1=value1 argument2=value2].

The arguments you can use are:
‘name’ – To display posts from a category using the category’s name. Ex: [catlist name=mycategory]
‘id’ – To display posts from a category using the category’s id. Ex: [catlist id=24]
If you use both arguments (wrong!), List Category Posts will show the posts from the category in ‘name’.

‘orderby’ – To customize the order. Valid values are:

  • ‘author’ – Sort by the numeric author IDs.
  • ‘category’ – Sort by the numeric category IDs.
  • ‘content’ – Sort by content.
  • ‘date’ – Sort by creation date.
  • ‘ID’ – Sort by numeric post ID.
  • ‘menu_order’ – Sort by the menu order. Only useful with pages.
  • ‘mime_type’ – Sort by MIME type. Only useful with attachments.
  • ‘modified’ – Sort by last modified date.
  • ‘name’ – Sort by stub.
  • ‘parent’ – Sort by parent ID.
  • ‘password’ – Sort by password.
  • ‘rand’ – Randomly sort results.
  • ’status’ – Sort by status.
  • ‘title’ – Sort by title.
  • ‘type’ – Sort by type.

Ex: [catlist name=mycategory orderby=date]

‘order’ – How to sort ‘orderby’. Valid values are:

  • ‘ASC’ – Ascending (lowest to highest).
  • ‘DESC’ – Descending (highest to lowest).

Ex: [catlist name=mycategory orderby=title order=asc]

‘numberposts’ – Number of posts to return. Set to 0 to use the max number of posts per page. Set to -1 to remove the limit. Default: 5

Ex: [catlist name=mycategory numberposts=10]

‘date’ – Display the date of the post next to the title. Default is ‘no’, use date=yes to activate it.

‘author’ – Display the author of the post next to the title. Default is ‘no’, use author=yes to activate it.

You can customize the way List Category Posts shows the posts in your CSS by editing “lcp_catlist“. The generated code is: <ul class=”lcp_catlist”>, and a <li> for each post in the category.

Since version 0.2, List Category Posts includes a sidebar widget. It works pretty much the same as the plugin itself.

List Category Post was initially written with Geany

Now it’s being written with GNU Emacs.

Support this plugin:

Installation

  • Upload list-category-posts directory into your wp-content/plugins/ directory.
  • Login to your WordPress Admin menu, go to Plugins, and activate it.
  • Add “lcp_catlist” class into your theme’s CSS for custom formatting.
  • You can find the List Category Posts widget in your widgets.

The generated HTML looks like this:

<ul class="lcp_catlist">
	<li>
		<a href="post_url">
			Post title
		</a></li>
	<li>
		<a href="post_url">
			Post title
		</a></li>
	<li>
		<a href="post_url">
			Post title
		</a></li>
</ul>

You can see it working here:
http://picandocodigo.net/programacion/

| Download List Category Posts |
|Changelog|

203 Comentarios para “List category posts Wordpress Plugin (English)”

  1. baron a las 12:39 am 17 Agosto. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; tr; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    hi. Thanks for plugin

    perfect.

    Regards

  2. fernando a las 7:06 am 17 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Glad you liked it and found it useful :D
    Thanks for commenting.
    Regards

  3. Marty a las 5:51 am 18 Agosto. 2008
    Opera 9.51Windows XP
    Opera/9.51 (Windows NT 5.1; U; cs)

    Can it works in sidebar? Is there a php version instead of [catlist=ID]? I need to display last 3 post from each category in the sidebar. I cant find any plugin for WP 2.6:(.

  4. Mahdi Yousefi a las 8:33 am 18 Agosto. 2008
    Internet Explorer 7.0Windows XP
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

    I think there is a bug in it, I active it but in option menu there is wrong link to go to this plugin option, I use wordpress 2.6.1,

    Also it is very hard to find category ID if there is option to use Category name or Category slug it can be better.

  5. fernando a las 10:37 am 18 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Marty:
    I’ll look to include a sidebar widget to use with it. But if you’re into PHP hacking, here’s the code to include in your theme’s sidebar to include category posts (this is a static sidebar):

    $result = "<ul class='lcp_catlist'>";
    $catposts = get_posts('category='.$ID."&numberposts=".$NUMBEROFPOSTS);
    foreach($catposts as $single):
    	$result .= "<li><a href='";
    	$result .=get_permalink($single->ID)."'>".$single->post_title."</a></li>";
    endforeach;
    $result .= "</ul>";
    echo $result;

    Mahdi Yousefi:
    Thanks for your feedback. I had another user report your error too. There’s a bug at the options page. I’ll fix it ASAP.
    You’re right about findindg the Category ID, I’ll add an option to list categories by the name.

    Thanks for the comments, glad you like my plugin.

    Regards

  6. fernando a las 10:53 am 18 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    I just committed version 0.1.1 to wordpress.org, which fixes the 404 error when trying to enter the options page. If you’re using it in your blogs, WordPress should ask you to update soon.

  7. Toto a las 1:54 pm 18 Agosto. 2008
    Firefox 2.0.0.12Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080219 Firefox/2.0.0.12 Navigator/9.0.0.6

    Hi fernanado,

    congrats on this great little plugin.
    I have a question though. I have set the plugin to show 50 posts from category x with currently 12 posts added but it only shows 11 on the page and leaves a gap.

    Do you have an idea what this could be?

    Thanks alot and talk later. :-)

    Toto

  8. Toto a las 2:41 pm 18 Agosto. 2008
    Firefox 2.0.0.12Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080219 Firefox/2.0.0.12 Navigator/9.0.0.6

    Hi,

    i just found out that it is actually working just fine. :-) There was some image overlay in FireFox.

    1 suggestion if that ok?

    I have installed the plugin “AStickyPostOrderER” and oorted the posts differently from the way i added them. I see that your plugin still orders the posts the way i added them.

    Coiuld i change that soemwhere to be compatible?

    Thanks alot and keep up the good work.

    Hasta la próxima!

  9. fernando a las 3:10 pm 18 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Toto:
    Thanks for your comments. So the problem you mentioned in your first comment is working fine, right?

    About the order of the posts, it’s a great idea, and I’ll implement it on a future release. Something like [catlist=ID order=parameter], with parameter being: title, author, date, ID, etc.

    Thanks for the idea/request!
    Regards

  10. Toto a las 3:56 pm 19 Agosto. 2008
    Firefox 2.0.0.12Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080219 Firefox/2.0.0.12 Navigator/9.0.0.6

    Hi fernando,

    yes correct. It working fine. :-)

    yeah that’ll be great if you could order it like you mentioned. :-)

    And let me say that your plugin is exactly what i was looking for. I wanted to have a page for music articles on my site but have the music articles written as posts.

    But i am using the category part as an artist roster, therefore i didn’t want any article category shown there.

    Give me a few days and I’ll donate something. I’m just quite skinned atm. :P

    Thanks again and keep up the good work.

    Toto

  11. combo a las 5:06 pm 19 Agosto. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    where is the download link ?

  12. fernando a las 7:19 pm 19 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Toto:
    I’ll work on it. It’ll be like an overloaded [catlist]. This was also exactly what I was looking for, so not being able to find anything that suited my needs, I made it.

    A donation would be sweet, but not mandatory, thanks!

    combo:
    Sorry for that, the link was missing :P . The plugin is hosted at wordpress.org:
    http://wordpress.org/extend/plugins/list-category-posts/

  13. Shala a las 3:08 am 22 Agosto. 2008
    Firefox 2.0.0.15Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15) Gecko/20080623 Firefox/2.0.0.15

    Thanks – this plugin was just what I needed. I’m seconding the request to be able to change the sort order that displays (would like to order posts alphabetically by title).

    Thanks!

  14. fernando a las 3:26 am 22 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Shala:
    The request is on the way. I’m testing it and fixing some bugs right now, but as soon as it’s ready, I’ll release it. You’ll be able to order it by date, post title, author, etc., among other new options.

    Thanks for your comment!
    Your feedback is really important.
    Regards

  15. pdpate a las 5:16 pm 22 Agosto. 2008
    Safari 525.20.1Mac OS
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_4; en-us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1

    I wanted to use this as a static sidebar, how do I use that PHP snippet above with a specific category (ie what tags go around it?

  16. fernando a las 5:57 pm 22 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    pdpate:
    You should use that code in your sidebar.php, on your template’s directory. Here’s an example of how it might look:

    <div class="sidebar">
    	<?php
    		//The PHP code snippet from above
    	?>
    </div>

    The plugin will include a widget in a future release.
    Thanks for using it!

  17. Maurits a las 7:56 pm 22 Agosto. 2008
    Firefox 3.0Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0

    Still gives an error in the sidebar, even when using the php. It says this:

    Parse error: syntax error, unexpected T_DNUMBER, expecting T_VARIABLE or ‘$’ in C:\xampp\htdocs\nightlybuilt\wp-content\plugins\exec-php\includes\runtime.php(42) : eval()’d code on line 4

    I am using PHP exec plugin as well. Maybe it is related? Thanks.

  18. fernando a las 10:12 pm 22 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Maurits:
    I don’t know about that error. Seems like a specific error on your local server or something.

    I’ll be adding a widget to the plugin soon.

    Regards

  19. frank guillen a las 1:06 am 23 Agosto. 2008
    Safari 525.22Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22

    Help needed, how can I set this plugin, I am doing something wrong…. Check for yourself, http://www.macevangelismo.com

  20. fernando a las 1:16 am 23 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    frank:
    I don’t see what’s wrong. You can try contacting me via the contact form and explain what the problem is, and how it’s not working.

  21. frank guillen a las 1:24 am 23 Agosto. 2008
    Safari 525.22Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22

    Fernando, the problem is:

    How can I make it works if I place the code into my template?

    It is not working

  22. frank guillen a las 1:26 am 23 Agosto. 2008
    Safari 525.22Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22

    See Here what I am doing:

    MacDailynews
    [catlist=1047]

    MacIntouch
    [catlist= 2502]

    Placed directly in the template, if I create a page or a post the plugin works perfectly, but I need to place it in the template… thanks for your help in advance

  23. frank guillen a las 2:34 am 23 Agosto. 2008
    Safari 525.22Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22

    Thanks Fernando, something that I really need is how to have 2 lines of the post content below the title?

    Thx

  24. fernando a las 8:32 am 23 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    frank:
    Now I get it. What you need to do is write the PHP directly into the template.

    You need to do a loop for getting the categories. Change $ID for the category’s ID and $NUMBEROFPOSTS for the max number of posts you want to display:

    $result = "<ul class='lcp_catlist'>";
    $catposts = get_posts('category='.$ID."&numberposts=".$NUMBEROFPOSTS);
    foreach($catposts as $single):
    	$result .= '<li><a href=';
    	$result.=get_permalink($single->ID).'>'.$single->post_title.'</a><br/>';
    	//This displays the title for the post and an end of line (br tag)
    	$result .= $single->the_excerpt."\n".'</li>';
    	//This displays the first 55 words of the post's content [the_excerpt() function]
    endforeach;
    $result .= "</ul>";
    echo $result;

    The plugin doesn’t work if you use [catlist] on the template. Only on pages and posts. But I think this code snippet will work out for you. Tell me if it did (or didn’t).

    Regards

  25. Sam Deeks a las 11:00 am 24 Agosto. 2008
    Firefox 2.0.0.16Mac OS
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

    I downloaded the plugin, activated it.

    I then wrote [catlist=nameofmycategory] in my posts and pages (in the HTML editor)as the plugin text says.

    Nothing. It just shows [catlist=whatever] as text on the post.

    I’m WP 2.5 – any ideas why this just doesn’t work out of the box?

  26. fernando a las 4:44 pm 24 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Sam:
    You have to use catlist=categoryID for now. That’s the ID, not the name of the category. I am working on a more advanced version where you’ll be able to use the name of the category. It’ll be ready soon.

    Regards

  27. Elle Fredrix a las 12:37 am 25 Agosto. 2008
    Internet Explorer 6.0Windows XP
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; SU 3.005; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)

    Here’s something that I found that will help the last poster… http://lepixelshoppe.com/scrap4dollars/2008/06/wordpress-25-use-category-id/

    Fernando, I’ve been searching for a simple plugin like this all day. Thank you! One request. Is there any simple way to add the date of the post to the list as well?

    Thanks again!

  28. Priscilla a las 4:19 am 25 Agosto. 2008
    Firefox 2.0.0.16Windows 2000
    Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

    Oh, I was so excited about this plugin! I thought it was just what I needed, but I’ve run into a problem. I am using the plugin page-category-plus to assign categories to my pages as well as to posts (I use WP as a CMS, not only a blog) and when I activated your plugin, it lists only the posts assigned to the category in question, not pages. Would it be possible for you to edit it so it lists pages as well?

    Thank you!

  29. fernando a las 9:05 am 25 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Elle:
    It wouldn’t be too complicated to add the date to the list. I’ll add that as a feature too.

    Priscilla:
    I’ll download this plugin and check the way it assigns categories to pages. I’ll check if I can make lcp compatible with it, without breaking it for blogs not using page-category-plus.

    Thanks for your comments, suggestions and requests. Keep them coming! I’m writing down every suggestion, request and coment to improve the plugin. I’ll be working on them these days.

    The next version will be out soon, implementing the sidebar widget with a few options. It’ll be totally independent from the plugin itself. I’ll also try to get some “order by” options into the next release, since its one of the most popular requests.

    I’m kind of overwhelmed with all the positive feedback, thanks a lot. Glad you all found the plugin useful!

  30. jbevans a las 3:00 am 26 Agosto. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    Great plugin and perfect for what I want. Thanks for your time and effort!

    jbevans

  31. Boots a las 3:19 am 26 Agosto. 2008
    Internet Explorer 6.0Windows XP
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

    Fernado –

    What an excellent plugin!!! Nice job.

    It fits the bill to a T for one way I will be using it.

    I have a featue request or a hack request.
    I’d like to have the plug-in be able to produce the cat list with interection of two categories where I’d use [catlist id=24,46] and it would show only posts that are members of both 24 and 46. If you could squeeze it in…

    Best regards,

    Nick

  32. Elle Fredrix a las 6:53 pm 26 Agosto. 2008
    Internet Explorer 6.0Windows XP
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; SU 3.005; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)

    Great work! Thanks for the added functionality.

    Now another request. :) Is there any way to show the final result of the orderby list in the displayed list? For example, if I sort by the date, can the date AND the post title show? Or if I sort by author, could the output provide author PLUS post title? If it could, this plugin would be beyond perfect!

    Payday is Friday, so I’ll fire off a donation for your efforts then.

    Thanks again…

  33. fernando a las 7:37 pm 26 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    The data of the “order by” is definitively going in at version 0.4 of List Category Posts. It will display something like:

    *Post title – by Fernando

    That’s when it’s ordered by author, and:

    *Post title – 07/07/2008

    When ordered by date. Maybe even add the option to display the author/date before or after the post title.

    I’ll see what I can do about several categories, I should check if WordPress has a default for that, or should I make my own hack.

    Has anyone tried the sidebar widget? I haven’t had time for testing yet. I’ll try to have it complete for the next version.

    As I wrote before, all your comments and requests are being written down for me to work on them. Thanks for the feedback!

  34. Klaas Koopman a las 8:43 am 28 Agosto. 2008
    Firefox 3.0.1Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1

    Hi There,

    I’m trying your plugin right now and it seems to be doing what it should be, but I was wondering, is it possible to get the following:

    Include it in the sidebar and that i can choose that if you visit the page about fishing, people will see the headlines of the fishing news. And when they visit the page of horseriding, they see the news related to the horseriding.

    If so, please let me know how I do this. Someone told me i can do it with if statements, but i’m no php expert haha

  35. Klaas Koopman a las 8:45 am 28 Agosto. 2008
    Firefox 3.0.1Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1

    and some other thing to my post above:

    $catposts = get_posts(’category=’.$ID.”&numberposts=”.$NUMBEROFPOSTS);

    Can i insert the id in there somewhere?

    Cause i tried:

    $catposts = get_posts(’category=’.$3.”&numberposts=”.$NUMBEROFPOSTS);

    and I trieD:

    $catposts = get_posts(’category=’.3.”&numberposts=”.$NUMBEROFPOSTS);

    But none worked…

  36. fernando a las 10:37 pm 30 Agosto. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Klaas:

    The sidebar widget is still on development. You can use it with at least one category (i think), with certain parameters.

    I didn’t really get what you mean with the headings of each page. You can make a new page with the Headlines of the fishing news by using [catlist name=fishing] for example, and so on with horseriding, etc.

    About the code you posted, you should give $ID a value. For example:

    $id=3;
    $number_posts=5;
    And then use them in your code.

    Hope this helps.

    Regards

  37. pcngocquy a las 2:30 am 31 Agosto. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    thanks so much, it’s so great!

  38. tk a las 10:58 am 1 Septiembre. 2008
    Firefox 3.0.1Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1

    Great plugin!

    How can i list just the title of the category and no posts? I just want a list of categories on the page.

    Also how would i include this in a template? Looks like you mention some code above so how do include this in the loop?

    Thank you so much!

  39. fernando a las 12:50 pm 1 Septiembre. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    tk:
    You can either write the code above in the sidebar file (generally sidebar.php), or use the sidebar widget included in the latest version of the plugin.

    The code doesn’t go in the loop, at least not the one for the posts. It has its own loop, where you bring posts for each category.

    I don’t know about listing categories, I think there already is something in WordPress to do that, but I’ll check it.

    Regards

  40. tk a las 2:04 pm 1 Septiembre. 2008
    Firefox 3.0.1Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1

    thanks so much!!

  41. gw468 a las 11:34 pm 3 Septiembre. 2008
    Firefox 2.0.0.16Mac OS
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

    I tried the code above that you replied to Frank and it just breaks the page. The page won’t even load.

    I am trying to add this to my archive.php file. I would like to show a list of post names only, sorted ascending by name for the current category and all children categories. Is this possible? How would I code it to be included on the archive.php page? BTW, using it in a post works beautifully, so I know it is installed correctly.

  42. Craig a las 3:59 am 4 Septiembre. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    Is there any way of adding pagination to this so that if you have 8 articles but only allow 4 per page, then there is a next button to take you to the next 4 articles.

  43. Mike a las 10:49 am 4 Septiembre. 2008
    Firefox 3.0.1Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1

    Great plug in! I now have it working almost perfectly.

    I used the php code above in my template, at first it gave an error on this line:
    result .= $single->the_excerpt.”\n”.”;
    I fixed that by adding a $ at the beggining of the line and now it lists my posts perfectly but I cannot get it to show the excerpt. I have tried everything I can think of, and spent 2 hours searching the web for an answer, but no luck.
    Has anyone else managed to make it show the excerpt? muchas gracias

  44. Mike a las 11:35 am 4 Septiembre. 2008
    Firefox 3.0.1Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1

    @tk
    I almost forgot ‘wp_list_categories’ is what you are looking for.

  45. Wardeh a las 5:57 pm 8 Septiembre. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    Hi, I am using the widget. It works right off the bat, but I would like to be able to title my list of posts in the category specified. Right now it doesn’t do any title AT ALL, not even the category name.

    Thanks,
    Wardeh

  46. fernando a las 6:25 pm 8 Septiembre. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Wardeh:
    Thanks for trying the widget. I’ll add a title on the next release.

    Regards!

  47. Mrs. Brown a las 1:04 pm 11 Septiembre. 2008
    Camino 1.0.3Mac OS
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.7) Gecko/20060911 Camino/1.0.3 (MultiLang)

    Hi, Fernando, thank you so much for your plugin. I don’t know whether my little problem is related to the plugin or wheter its origin lies somewhere else. Anyway: I’m using this code to display the category list in the sidebar:

    ?php echo do_shortcode('[catlist name=Projects numberposts=5)]'); ?

    The list actually shows five titles but it displays titles from all categories I have, not just one category. I also tried to use the ID – with the same result. Do you have an idea what might be going wrong?

  48. Yick a las 2:36 pm 11 Septiembre. 2008
    Firefox 2.0.0.16Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

    I activated the pluggin, then I try to add the code to sidebar.php

    If I add [catlist id=24] to the html, it just print [catlist id=24].

    If I add [catlist id=24] inside php code, it gives me an error.

    Can you show me the exact coding to add to sidebar.php?

    <?php wp_list_categories(’show_count=1&title_li=Categories’); ?>

    I want to achieve the following result

    I see your examples but don’t know how to add the code correctly to the sidebar.php.

    Pls help.

  49. Yick a las 2:38 pm 11 Septiembre. 2008
    Firefox 2.0.0.16Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

    The result I want to achieve is

    (cat1)
    (post1)
    (post2)
    (cat2)
    (post1)
    (post2)
    (post3)

  50. aHfUi a las 2:45 pm 11 Septiembre. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    fernando,
    how can i display unlimited for the category ?
    i try to set $NUMBEROFPOSTS = “”;
    but it no function …
    Thanks you

  51. fernando a las 3:45 pm 11 Septiembre. 2008
    Firefox 3.0.1GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1

    Mrs. Brown:

    I had never used the do_shortcode function, but great if it works! I have no idea why it’s displaying posts from all of your categories. The ID should work as well. I think the “name” argument is actually the short url code for the category (See Manage => Categories => Your Category)

    Yick:
    Yeah, just adding the shortcode to html or php files won’t do it. I’ve said that on previous comments. Try the code I wrote up there for each category you want to display.

    aHfUi:

    ‘numberposts’ – Number of posts to return. Set to 0 to use the max number of posts per page. Set to -1 to remove the limit. Default: 5

  52. Yick a las 1:09 am 12 Septiembre. 2008
    Firefox 2.0.0.16Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

    Ok, thanx for your kind reply. However, it only display the post in the category, it does not display the name of the catergory.

    How to display the category name and then the post in the category.

    Like
    (cat1)
    (post1)
    (post2)
    (cat2)
    (post1)
    (post2)

    Thanx a lot

  53. Conrad Erway a las 11:21 pm 16 Septiembre. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    I am using AStickyPostOrderER to order my posts. I order I choose does not match with any of the choices you offer in the widget. Is there a way to pick the order from what I choose in AStickyPostOrderER? With this one added feature, this is a real winner.

    Also is there a way to put a title on the post lists in the sidebar widget such as you can with other widgets?

    Thanks.

  54. kirksydney a las 4:32 am 19 Septiembre. 2008
    Firefox 3.0b5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5

    Great plug in! make some more. =)

  55. Martino a las 11:55 am 19 Septiembre. 2008
    Firefox 2.0.0.16Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X; it; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

    Hi there,
    very useful plugin.

    I was wondering if there is a way to have a class to display as selected the page you’re in. I mean, let’s say i’m in the home page and there is the list in the sidebar: i click a link and there i’m in the page, but the list doesn’t show that i’m already in that page.

    This

    $result .= "&lt;a href='";

    is the code i need to edit. That should have a
    <li class="<php if (page_is(BIG_PROBLEM))".

    The BIG PROBLEM is how to tell WP to get the ID of the page i’m in so that php render the special class.

    Maybe i’m not very clear, but i can explain better if anybody can help me :)

  56. RiteandRitual a las 3:48 pm 19 Septiembre. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    I’ve had a heck of a time trying to find a way to make a standard static menu as described by Yick in the comment on Septiembre 12:
    (cat1)
    (post1)
    (post2)
    (cat2)
    (post1)
    (post2)
    … Looks like, of all the plugins for wordpress, this is the only thing that comes close to it. Great work! All you need now is to add the Category as a title and link (as above), let the user display all categories or choose which to exclude… and this will be a perfect plugin!
    Right now it looks like I have to do this manually…

  57. fernando a las 1:42 pm 21 Septiembre. 2008
    Debian IceWeasel 3.0.1Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

    Thanks for all your comments. Just a quick note to let you know all your requests will be considered for the next version.

    I’m running low on time recently, so as soon as I get some spare time, I’ll work on my WordPress plugins for a while.

    Regards

  58. Bob a las 1:06 pm 23 Septiembre. 2008
    Internet Explorer 7.0Windows XP
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727)

    Awesome plugin!

    I`m using several different categories on my website, and now i would like to display the last 5 posts within every category using the following code:


    $result = "";
    $catposts = get_posts('category='.$ID."&numberposts=".$NUMBEROFPOSTS);
    foreach($catposts as $single):
    $result .= "ID)."'>".$single->post_title."";
    endforeach;
    $result .= "";
    echo $result;

    For example:
    =======================================
    Post in Category 1.

    [text]

    Last 3 posts in this category:
    - post 1
    - post 2
    - post 3
    =======================================
    Post in Category 2.

    [text]

    Last 3 posts in this category:
    - post 4
    - post 5
    - post 6
    ========================================

    I want this code to be dynamic so that i dont have to change the code for every single category.

    Do you have any idea how to achieve this?

  59. TN a las 1:58 am 24 Septiembre. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    Thanks for plugin. Nice

  60. Amanda a las 4:18 pm 3 Octubre. 2008
    Firefox 3.0.3Mac OS
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3

    I just downloaded this plugin (not for the site listed above, but for a family member’s web site), and have followed the directions in uploading the plugin, etc. (as far as I know), but when I put your code in to list posts from a category on one of the site’s pages, it displays nothing. What could I be doing wrong?

    Thanks, I hope to get this working as I think this is just the plugin I’ve been looking for.

  61. krAzykrAkr01 a las 6:58 pm 4 Octubre. 2008
    Firefox 3.0.3Ubuntu
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3

    Great Plugin. It works perfect.

    To answer a question asked above, I have found that to get a title, the easiest way is to put a h2 tag with the title above the catlist shortcode.

  62. jG a las 6:39 am 7 Octubre. 2008
    Firefox 3.0.1Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

    congratulations, that’s a great plugin !
    I have one question for you …

    I use HeadSpace2 plugin :
    could you give me the code to display the meta title description despite the title_post ?

    your help would be really appreciated
    THANK YOU !

  63. Upekshapriya a las 5:20 pm 10 Octubre. 2008
    Firefox 3.0.3Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

    Very useful plugin. Just what I’ve been looking for. Thanks very much for releasing it. :-)

    However [catlist name=mycategory] doesn’t seem to be working for me, even though [catlist id=ID] is working just fine. I am using Wordpress 2.6.2.

    All I get with [catlist name=mycategory] is a list of all posts of all categories.

  64. Moondome a las 9:48 pm 15 Octubre. 2008
    Firefox 3.0.3Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

    I’m getting the same results as Upekshapriya. [catlist id=ID] works as designed (see the Berberova button on the site associated with my name above), but it would be nice to be able to use the category name.

    One additional question: can this plugin be configured to display the full text of the posts instead of just the titles, the same way clicking on a given category list does?

    My objective is to have a navigation button that points to such a page.

    Thanks so much for your contribution to the WP community.

  65. delbert a las 2:02 pm 17 Octubre. 2008
    Firefox 2.0.0.14Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

    i’m trying to use the plug in but all i get are the most recent posts, not the most recent posts by category:

    http://dudespaper.com/welcome/

  66. Melton Cartes a las 10:57 pm 19 Octubre. 2008
    Safari 525.22Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22

    I’m having the same problem as Amanda.

    I’ve added “[catlist id=3]” to a test post and a test page ([catlist id=0] too) on my Sandbox (my local version of WP and my live site and nothing shows up.

    My test Page includes the resulting code without displaying text:

    &lt;div class="entry"&gt;
    &lt;p&gt;Blah, blah...&lt;/p&gt;
    &lt;ul class='lcp_catlist'&gt;&lt;/ul&gt;
    &lt;ul class='lcp_catlist'&gt;&lt;/ul&gt;

    The test Post does the same thing.

    I checked a different theme and I checked my CSS for any “hiddens” or “display:none”s and found no further clues.

    Thanks for any help.

    mc

  67. Moondome a las 1:56 pm 21 Octubre. 2008
    Firefox 3.0.3Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

    In addition to the problem I mentioned a few posts above, I cannot get numberposts to work. I’ve tried 0, -1, and numbers greater or smaller than 5, but only the default five post titles appear on the page.

    Currently I’m using [catlist id=4 numberposts=7].

  68. Moondome a las 2:05 pm 21 Octubre. 2008
    Firefox 3.0.3Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

    I might also mention that for comparison, I tried the widget. It seems to work as designed, although it would be nice to have the option to title the widget.

  69. fernando a las 12:12 am 22 Octubre. 2008
    Debian IceWeasel 3.0.3Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-2)

    Thanks for the comments!

    I’ll look up those bugs you’ve mentioned, and try to release a new version asap.

    Any extra code is welcome.

    Regards

  70. aidee a las 12:24 am 29 Octubre. 2008
    Firefox 3.0.3Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

    Hello and thanks for the plugin!

    Is it possible to display posts relating to two (or more) categories i.e. posts with category ID 9 *AND* ID 13; posts marked with both these categories.

    I know there is the option in Wordpress to use the following code:

    query_posts(array(’category__and’=>array(9,13)));

    Is it possible to use the following:

    [catlist id=9&13]

    Thanks!

  71. aespe a las 10:26 am 5 Noviembre. 2008
    Firefox 3.0.3Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

    Exactly just what i need, with a little modification, what i need is simply all post without grouped in categories :) here is the result http://aespesoft.com/semua-artikel/

    Thank you fernando

  72. Brooke a las 4:33 pm 7 Noviembre. 2008
    Firefox 2.0.0.17Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17

    Is there any way to get the excerpt to show with this plugin?

  73. Tino a las 2:53 pm 10 Noviembre. 2008
    Firefox 2.0.0.17Mac OS
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17

    Is there a way to get the date to show after the title?
    I read the previous posts. However, I was not sure if this feature has been added or not.

  74. bill a las 12:00 am 11 Noviembre. 2008
    Firefox 3.0.3Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

    I have the same question as Brooke, can I add an excerpt using the shortcode?

  75. Pablo a las 4:04 pm 14 Noviembre. 2008
    Firefox 3.0.4Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; es-AR; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4

    Hola Fernando, la verdad que el plugin es espectacular! Felicitaciones!
    Tengo una duda, ¿Es posible listar las entradas correspondientes a cada categoría una vez que estás dentro de la misma?
    Digamos, si ingresas a la categoría “Juegos” que sólo aparezcan en el Sidebar las entradas que correspondan a esa categoría.

    Un abrazo y mil gracias!

  76. site a las 9:02 am 16 Noviembre. 2008
    Internet Explorer 7.0Windows XP
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; MSN Optimized;GB; MSN Optimized;GB)

    Hi,

    This doesn’t work for me.

    I have a page. I have a category called articles, so I have inserted this into the post:

    [catlist name=articles]

    But it displays 5 posts and not just from the artciles category but all categroies.

    Help please, thanks.

  77. clhmedia a las 2:07 am 3 Diciembre. 2008
    Internet Explorer 7.0Windows Vista
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SV1; Embedded Web Browser from: http://bsalsa.com/; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)

    This is exactly what i have been looking for… hope it works :)

  78. Graham a las 1:23 pm 3 Diciembre. 2008
    Firefox 3.0.4Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4

    name= does not work if you have multiple words in your category name.

    [catlist name=top 10 numberposts=10]

    doesn’t display the “top 10″ category items.

    name=”top 10″ doesn’t help.

    Great plugin – saved the day for me.

  79. bily a las 4:16 pm 26 Diciembre. 2008
    Firefox 3.0.5Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5

    fantastic plugin! and I’m happy it works as a sidebar widget now.

    Perhaps you could throw in the option to have a customizable Title in the widget options.

  80. Craig B a las 11:21 am 29 Diciembre. 2008
    Safari 525.27.1Mac OS
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

    This is exactly what I need. Are you developing this for 2.7?
    It seems very popular thank you

  81. fernando a las 12:58 pm 29 Diciembre. 2008
    GNU IceCat 3.0.3Kubuntu
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092921 IceCat/3.0.3-g1 Kubuntu

    I’ll be releasing a new version soon. This will include some extra customization for the sidebar widget, and WordPress 2.7 compatibility.

    Has anyone tried it on WordPress 2.7? I haven’t yet… But I’ll sure do in order to get compatibility with WP 2.7 and 2.6.

  82. Joe a las 12:46 pm 30 Diciembre. 2008
    Safari 525.27.1Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

    I am using .3 on a site I just created (http://www.reformedlafayette.com) with Wordpress 2.7. It was working great, I upgraded to .4 and I receive the following error message.

    “Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/wp-content/plugins/list-category-posts/list_cat_posts.php on line 62″

  83. Joe a las 2:05 pm 30 Diciembre. 2008
    Safari 525.27.1Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

    Thanks for the quick fix Fernando!

  84. HELLBOY a las 4:57 pm 30 Diciembre. 2008
    Internet Explorer 7.0Windows Vista
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)

    Very nice Plugin!!! Thanks you so much ^_^

  85. bilyxiao.com a las 5:32 am 31 Diciembre. 2008
    Firefox 3.0.5Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5

    Thanks for the update! I notice the title option is now in there.

    A quirk I’ve found in both the newest update and just previous (I’ve only tried it on wordpress 2.7) – everytime I save the widgets’ setting on my sidebar and then re-open the detailed options for your widget it seems everything is reset (to the first category, blank for the # of posts field, order by date, descending), instead of showing the previously saved settings.

  86. cynthia a las 6:30 pm 4 Enero. 2009
    Firefox 3.0.5Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    This plugin worked great until I upgraded the plugin in Wordpress 2.7.

    The pluginseems to want to list everything on my website, instead of just the category specified.

    I went back to the old version of the plugin, hoping I could get it working again. But no luck! The plugin is still listing everything on my website instead of just the categories specified. Any ideas what is going on?

  87. fernando a las 10:49 pm 4 Enero. 2009
    GNU IceCat 3.0.3Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092921 IceCat/3.0.3-g1 Debian GNU/Linux

    bilyxiao.com:
    Seems I forgot to program the part for the widget to remember its configuration :O
    Will be done for next release.

    cynthia:
    Which parameter are you using? Apparently some users have problems when using the name instead of the category ID. Maybe something else changed on WordPress 2.7 I didn’t realize…

    I’ll check it out.

  88. Dave a las 7:10 pm 7 Enero. 2009
    Firefox 3.0.3Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.3;MEGAUPLOAD 1.0

    Hello, I am trying to use this plug in but I can`t get it working for some reason. I either really stupid or there`s something I`m missing.

    Here`s what I`ve done.

    I`ve uploaded the files into the plugins directory in it`s foot folder “list-category-posts”.

    After that I went to the page where I wanted to post the list of post in the catagori and I used these variables.

    [catlist id=3 orderby=title order=asc]
    I`ve also tried..
    [catlist name=action orderby=title order=asc]

    Nothing shows up on the page. If someone can help me out that would be great. I am using wordpress 2.6

    Thanks :D

  89. Dave a las 7:24 pm 7 Enero. 2009
    Firefox 3.0.3Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.3;MEGAUPLOAD 1.0

    and yes i did activate the plug-in. I forgot to mention in my last post.

  90. graham a las 7:30 pm 7 Enero. 2009
    Firefox 3.0.5Mac OS
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5

    hi
    I’m slowly trying to figure out Wordpress and was really thrilled to see this plug-in because it sounded just like what I was looking for!
    Whenever I use a [catlist] it only displays the titles of the posts.
    Is there a way to display the full post information (title, date, post text, comments) similar to the way posts are displayed on the front page??

    Sorry if its been asked before, but I didnt see it in my skimming

  91. fernando a las 7:55 pm 7 Enero. 2009
    GNU IceCat 3.0.5Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008122316 IceCat/3.0.5-g1 Debian GNU/Linux

    Dave:
    If the plugin was correctly activated, then I don’t see where the problem is. The syntax is correct. Maybe the id for the category is wrong? Try with a different category ID and tell me if it works.

    graham:
    There’s a category page for that in WordPress. If you want to show all of the information, check the category’s page.

    Regards

  92. Dave a las 10:32 pm 7 Enero. 2009
    Firefox 3.0.3Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.3;MEGAUPLOAD 1.0

    Hey Fernando,

    It turned out to be my website host.

    I have a test website where i test all plug-ins. It’s a free hosting site so maybe they had some set persmisson on certain files. Aynway, I’m using it on my real site now and it’s working great. Thanks for the excellent plug-in. :)

  93. fernando a las 2:24 am 8 Enero. 2009
    GNU IceCat 3.0.5Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008122316 IceCat/3.0.5-g1 Debian GNU/Linux

    Dave:
    Glad it worked! You’re welcome!

  94. site a las 2:08 pm 8 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    Hello,

    I’ve been trying to get this working, and just now I tried

    [catlist name=articles orderby=title order=asc]

    The ascending and title works, but the category doesn’t.

    As in, the command of listing posts from a certain category does not work, nor does replacing it with id instead work either.

  95. fernando a las 2:25 pm 8 Enero. 2009
    GNU IceCat 3.0.3Kubuntu
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092921 IceCat/3.0.3-g1 Kubuntu

    site:
    What version of WordPress are you using?

    I don’t know about these bugs, I’ve tried to find out about them, but I don’t have enough information.

    Maybe incompatibility with other plugin?

    I’ll check the code…

  96. site a las 5:24 pm 8 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    I have wordpress 2.7 and don’t have other plugins there.

  97. site a las 5:33 pm 8 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    Add “lcp_catlist” class into your theme’s CSS for custom formatting.

    What do I do witht he aboce?

    I’ve activated the plugin and put the [cat name] ec. in but do I need to do the above?

    Thanks.

  98. Dave a las 8:46 pm 8 Enero. 2009
    Firefox 3.0.3Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.3;MEGAUPLOAD 1.0

    Hello again Fernando,

    I would like to use your plug in on a page to show the most recently updated posts. The problem is that I have over 30 catagories and I’m wondering if there is an alternative to listout out every catagorie like this [catlist id=1 catlist id=2 catlist id=3 ... orderby=title order=modified]

    Thanks in advance :)

  99. site a las 6:20 pm 10 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    ah okay it works, had it on the wrong page- thanks!

  100. site a las 11:25 am 14 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    Hello,

    How do I put the code for posts from tages?

    As catlist id=104 will list for the category id 204 but how about for the tags?

  101. site a las 11:25 am 14 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    I would like to display posts from tages.

  102. Jason a las 8:58 pm 14 Enero. 2009
    Firefox 3.0.3Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

    Anybody know how to list all post for a specific day? For example an end of the day listing of posts?

  103. Green Vine Designs a las 10:05 pm 14 Enero. 2009
    Firefox 3.0.5Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    For the people using WP 2.7 who find that it is not listing the posts in the proper category, here is your solution:

    1) Use [catlist id=VALUE] INSTEAD OF [catlist name=VALUE]

    2) To find the category id # in WP 2.7, go to the main categories page, click on the category, and look in the url

  104. Keith Moen a las 9:23 pm 16 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    This is an amazing plug-in!

    I have found a part that does not work for me.

    The catlist ignores “private” posts. I would like the titles of those posts listed as well, as I am using WP Sentry to give access to certain private posts to certain groups.

    Is there a way I can get catlist to include posts listed as “private”?

    Thanks!
    keith

  105. Carl a las 7:05 am 17 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    Hi,
    great plugin – just what I needed!. Is there a way do make it display postings from the last x days – I want to post a weekly “This weeks postings”, and then just display the last 7 days.

  106. fred a las 3:41 pm 19 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    The parameter NAME does not work. ID does work fine.

    Using with Wordpress 2.6

  107. site a las 3:04 pm 25 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    Hello,

    How do I list them in columns like on your example page?

    Thanks.

  108. Megan a las 1:51 pm 31 Enero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    I Love this plugin but really need to show excerpts of each post Has ANYONE been able to show post excerpts?? If not is there a plugin that will list post excerpts from a particular category on a wordpress page ??? thanks, Megan

  109. Miss Lunatic a las 1:34 am 1 Febrero. 2009
    Internet Explorer 7.0Windows XP
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Tablet PC 1.7; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

    Hi, is it possible to add the post excerpts? I’m interested in show all the post from an specific category with its excerpts. Thank u in advance

  110. mike a las 4:56 pm 1 Febrero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    Hello,

    I was just curious if there was a way to list posts from one single author. I want to create a page that will show the authors name with the authors posts below it. Something like this:

    Bob
    Authors post
    Authors Post

    Tom
    Authors post
    Authors Post
    Authors Post

  111. fernando a las 9:47 pm 2 Febrero. 2009
    GNU IceCat 3.0.5Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008122316 IceCat/3.0.5-g1 Debian GNU/Linux

    Dave:
    There’s no alternative to showing posts from different categories yet other than writing it several times. It’s one of the features I worked on, but it isn’t ready for release yet.

    site:
    There’s not a way to display posts from tags. At least not yet, I hadn’t thought about it. Maybe I can include that in a future release as “[taglist id=tagid]” or something.

    Keith Moen:
    I don’t know about private posts. I’ll check WP Sentry when I have some spare time.

    Carl:
    Not yet, could be a future implementation.

    fred:
    How about with the url name for the category?

    site:
    Try with divs or tables.

    Megan, Miss Lunatic:
    Not yet. I’ll look into that too.

    mike:
    I could look into that for a future release.

    To all af you thanks for using List Category Posts. I’ll make an update as soon as I have some time for php…

  112. site a las 11:39 am 4 Febrero. 2009
    Firefox 3.0.5Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

    could you tell me the exact code please?

  113. glenn a las 1:32 am 7 Febrero. 2009
    Firefox 3.0.6Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

    Hey Fernando,

    Thanks for making this excellent plugin. I know it works because I used it with the iNove template using wordpress 2.7 – but now I’ve switched themes (to the Gear theme) and it does the strangest thing: after I upload it to my server, then activate the plugin, it shows up as a widget but I can’t click ADD! There’s just no button for it.

    Is there some other way i can insert it directly into my page?

    Thanks!
    Glenn

  114. ajua a las 5:15 pm 7 Febrero. 2009
    Firefox 3.0.6Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

    Hi, i tried to use your plugin but the lists of post titles is somewhat wrong because i use jLanguage plugin.

    The titles appear as [english]Title[english][spanish]Titulo[/spanish] and not Title when in english or Titulo when viewing my blog in spanish.

    The Recent Posts that WordPress has by default works great. So, maybe you can make some magic with your plugin to work along with jLanguage.

    Thanks.

  115. Roger a las 6:54 pm 7 Febrero. 2009
    Internet Explorer 8.0Windows Vista
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.1; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.5.30729; .NET CLR 1.1.4322; .NET CLR 3.0.30618)

    I’m pretty sure the line:

    if($atts['name']!=’default’ && $atts['id']!=’0′){

    Should be:

    if($atts['name']!=’default’ && $atts['id']==’0′){

  116. Carlos a las 9:04 pm 10 Febrero. 2009
    Firefox 3.0.6Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

    Suggestion:
    http://wordpress.org/extend/ideas/topic.php?id=2390

  117. sdk a las 10:27 pm 17 Febrero. 2009
    Firefox 3.0.6Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6

    i’ve got it halfway working for 2.7

    i can list categories only by their ID – but i’m having a difficult time with the numberposts option – the page i’m trying to display all this on just comes up black when i try to use this option in more than one place…

    this is what i’m trying to do:

    `
    beverages
    [catlist id=23 orderby=name numberposts=-1]

    breads
    [catlist id=31 orderby=name numberposts=-1]

    breakfasts
    [catlist id=34 orderby=name numberposts=-1]

    condiments
    [catlist id=25 orderby=name numberposts=-1]

    cooked veggies
    [catlist id=29 orderby=name numberposts=-1]

    entress
    [catlist id=30 orderby=name numberposts=-1]

    desserts
    [catlist id=32 orderby=name numberposts=-1]

    salads
    [catlist id=28 orderby=name numberposts=-1]

    snacks
    [catlist id=22 orderby=name numberposts=-1]

    soups
    [catlist id=26 orderby=name numberposts=-1]
    `
    any suggestions or help would be much appreciated!

  118. Maxi Pandelli a las 3:18 pm 19 Febrero. 2009
    Firefox 3.0.6Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

    Hola gracias por el plugin. Es muy util! Pero tengo un problemita, no hay alguna forma de agregar mas de un widget. Tengo 3 sidebars y necesito agregar un widget por cada una de mis secciones. Al poner una ya no se puede usar mas!!

    Un abrazo!
    Maxi

  119. kmjamal a las 5:58 am 22 Febrero. 2009
    Firefox 3.0.6Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

    how can i use this code in the side bar i mean if i want to add * ‘ASC’ – Ascending (lowest to highest).
    * ‘DESC’ – Descending (highest to lowest).

    can anyone help please ?

  120. kunal a las 10:43 am 25 Febrero. 2009
    Google Chrome 1.0.154.48Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.48 Safari/525.19

    Although I think I have used the right code, it only shows me 5 posts per category.

    See here: http://www.recipemobile.com/recipes

    The code I used eg. [catlist id=15 numberofposts=-1]

    Please help!

  121. Miguel a las 7:34 pm 27 Febrero. 2009
    Firefox 3.0.6Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; pt-BR; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

    OHHHHHH YEAHH!!
    i got it!! oh yeahhhh!!!
    thanks dudeeeeee thanks so much =D
    bate aiii
    o/
    /|
    /\

    e noixxx!!!
    saudacoes brasileira!!!!!!!!!!

  122. Tom a las 1:38 pm 28 Febrero. 2009
    Firefox 3.0.6Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

    Hi Fernando,

    Great plugin! Easy to use!
    I’ve made a little adaptation on it though, to exclude the current post on which the list will be displayed. Thus when I now put your [catlist] on a post, that post itself will not be displayed in the list.
    Might be useful for others too, maybe an argument to pass in? Like exludeCurrent=yes?

    Alterations that I did:
    //define the current post
    global $post;
    $thePostID = $post->ID;

    //inside the foreach loop, filter the current post
    //that is: only display other posts than the current one
    foreach($catposts as $single):
    if ($thePostID != $single->ID){
    $output …. (your code)
    }

    Keep up the good work!

    Tom

  123. xensen a las 12:56 am 1 Marzo. 2009
    Firefox 3.0.6Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

    How can I exclude the current post from the list of results?

  124. Kitty a las 3:54 pm 1 Marzo. 2009
    Firefox 3.0.6Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

    Is there a way to change how the date is displayed? I’d like to have it like this: Mar. 1/2009 (without the time)

  125. Andrew a las 11:08 pm 3 Marzo. 2009
    Firefox 3.0.6Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

    Thanks for a great plugin. Question about the css.
    My my dynamic horizontal menu is ul,li so I changed the plugin output to just ul and it worked perfect. In the next upgrade can you have separate styling for li,ul display?

    Thanks.

  126. fernando a las 1:42 am 4 Marzo. 2009
    GNU IceCat 3.0.5Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008122316 IceCat/3.0.5-g1 Debian GNU/Linux

    I’ll see to add Tom’s code to the next release, as well as a way of changing the way dates are displayed and the CSS Andrew requests.

    Thanks!

  127. dX a las 9:35 pm 4 Marzo. 2009
    Firefox 3.0.6Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

    Nice plugin, for things like this I usually prefer hard coding into template file, though laziness took over and I gave in. Im glad that I did, this sweet little plugin saved me allot of time. Good job man….. Be sure to mention you somewhere out there…..

  128. Dave a las 3:06 pm 6 Marzo. 2009
    Firefox 3.0.3Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.3;MEGAUPLOAD 1.0

    Hey Fernando,

    I’m wondering if there is a way to show only posts that have been posted within a certain ammount of days within a page. I’d like to have a few tables such as “todays posts” and “yesterday’s posts” and have them display on my front page.

    Let me know. Thanks :D

  129. teja a las 1:59 pm 11 Marzo. 2009
    Firefox 3.0.7Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7

    i am using it inside a page and it is working well for me with my version of wordpress i.e 2.7.x now i would like to use this inside a template file. How can i use it?

  130. Tom a las 1:11 pm 12 Marzo. 2009
    Firefox 3.0.6Mac OS
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6

    How to add .widgettitle class to widget title?

  131. jean a las 7:33 pm 18 Marzo. 2009
    Internet Explorer 7.0Windows Vista
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 1.1.4322)

    Your plug in is exactly what I need but I cannot get it to work. All I get in the page is the code, not the content.
    That is, the page says:

    Blah blah blah
    [name=sewing]
    where sewing is my category name.
    I tried disabling the WYSIWYG editor but that made no difference. It is as if your plug in is just not there.
    Version 2.7.1
    Thanks

  132. jean a las 7:35 pm 18 Marzo. 2009
    Internet Explorer 7.0Windows Vista
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 1.1.4322)

    Sorry, I got it to work – forgot to put catlist in the slug. Oops

  133. jean a las 8:02 pm 18 Marzo. 2009
    Internet Explorer 7.0Windows Vista
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 1.1.4322)

    [catlist id=4]works
    [catlist name=sewing]does not
    it just lists all posts!
    I tried name=Sewing, name=’sewing’ does
    not work either.

  134. Michael a las 9:16 am 1 Abril. 2009
    Firefox 3.0.8Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

    Great plugin… just needs a little more explanation when suggesting php hack.

    Quick suggestion:

    When you say “Change $ID for the category’s ID and $NUMBEROFPOSTS for the max number of posts you want to display:”

    You need to remind people that the numbers entered need to be in “” marks. For example… if category ID is 7 and number of posts is 10 then the code will look like this:

    $catposts = get_posts(’category=’.”7″.”&numberposts=”.”10″);

    Otherwise… you get the T_Dnumber parse error

  135. Michael a las 9:33 am 1 Abril. 2009
    Firefox 3.0.8Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

    OOPs! Quick follow up… That code had ” instead of ‘ !!!

    Meant to say single quote marks (otherwise IE loads page but gives an error message)

    So for the same example:

    $catposts = get_posts(’category=’.’7′.’&numberposts=’.'10′);

    Sorry!

  136. Ando a las 6:38 pm 2 Abril. 2009
    Firefox 3.0.8Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8

    Hello,

    Is there a way I can change the format of the date? I’d like it to display like this: Thursday, April 2, 2009.

  137. justin a las 7:11 pm 13 Abril. 2009
    Firefox 3.0.8Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

    I can’t figure out how to configure the css to show the post date in the list… is this even possible?

    Thanks!

  138. justin a las 7:23 pm 13 Abril. 2009
    Firefox 3.0.8Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

    OH I’m stupid sorry – i have figured it out. duh.

  139. morsefire a las 5:47 pm 17 Abril. 2009
    Firefox 3.0.8Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

    hi,

    nice work! and a hell a lot of comments! i have been wondering if i could get you to extent the functionality of this plugin a little more? things like the_content or the_excerpt would be REALLY GREAT !!! i don’t actually know if that is even possible!? let me know.

    greetings
    marc

  140. fernando a las 7:58 pm 17 Abril. 2009
    GNU IceCat 3.0.6Debian GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020414 IceCat/3.0.6-g1 Debian

    Hey marc,
    I haven’t updated the plugin for a while, since I’ve been pretty busy with work and stuff.

    But as soon as I get on another plugin updating streak, I’ll try to include as many new features as possible, mostly based on the comments.

    Thanks for using LCP!

    Regards

  141. rob a las 2:10 am 22 Abril. 2009
    Firefox 3.0.8Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8

    Hello! Is there a way to show a list of multiple categories? For example, to sort by cat1 AND cat2? This would rock, though the plugin is fantastic now. :)

  142. Tery a las 2:33 am 22 Abril. 2009
    Camino 1.6.7Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.21) Gecko/20090327 Camino/1.6.7 (like Firefox/2.0.0.21pre)

    For those who want to use excerpts, this
    small addition works for me.

    Edit list_cat_posts.php.

    After line 64, add:

    if( $single->post_excerpt ) {
    $bodycontent=$single->post_excerpt;
    } else {
    $bodycontent=$single->post_content;
    }

    $output.="";
    $output.=$bodycontent;
    $output.="";

    That’s all!

  143. Vincent a las 2:05 pm 23 Abril. 2009
    Firefox 3.0.8Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)

    Hello, Thanks ! Great Plugin !

    But in my category i have more of 150 article and when i use

    numberposts=0

    I no see page 1 2 3… or Next Page Prev Page
    ( in wordpress i have defined 30 articles)

    And if i use numberposts=-1 :

    All article links are in one page and google doesn’t like more of 100 links.

    How do the plugin list items according to the number defined in wordpress and the links to the following pages

    Big thanks

  144. Kane a las 12:58 am 26 Abril. 2009
    Firefox 3.0.9Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9

    I’m trying to remove the time from the date option, but can’t seem to get it to output anything.

    I tried chaning

    $output.=$single->post_date

    to

    $output.=$single->post_date = date(”d-m-y”,strtotime($post->post_date))

    but it returns 0 for the date. Any ideas?

  145. Joe a las 8:35 am 30 Abril. 2009
    Firefox 3.0.10Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10

    Hi Fernando,

    Thanks for making this great plug-in, really useful for me, exactly what I was looking for!

    @ Kane (and other trying to change the date format)

    Edit the list_cat_posts.php

    at line 59 change
    $output.=” – “.$single->post_date;

    to

    $output.=” – “.$single->post_date = date(”l, F jS, Y”,strtotime($single->post_date));

    where “l, F jS, Y” is according to the standard Wordpress date formats which can be found here
    http://codex.wordpress.org/Formatting_Date_and_Time

  146. Mike a las 2:19 am 1 Mayo. 2009
    Firefox 3.0.10Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)

    Great plugin. How would I go about adding a small image before the links?

    $output .= “I WANT AN IMAGE HEREID).”‘>”.$single->post_title.”“;

    For some reason when I try to add the normal deal it errors and makes my page entirely white. I don’t know a good way to do so, any help will be appreciated. Thank you.

  147. Mike a las 2:20 am 1 Mayo. 2009
    Firefox 3.0.10Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)

    Sorry code came out wrong…

    $output .= "I WANT IMAGE HEREID)."'>".$single->post_title."";

  148. Kane a las 6:00 pm 1 Mayo. 2009
    Firefox 3.0.10Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10

    @Joe,

    Thanks! That worked with one minor change. the double quotations needed to be single quotations within the date format.

    $output.=” – “.$single->post_date = date(’l, F jS, Y’,strtotime($single->post_date));

    You are my new hero!

  149. pbravin a las 2:44 pm 5 Mayo. 2009
    Firefox 3.0.10Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10 GTB5

    can you append the icon “new!” to the first entry of a list of posts in a category and to be removed by some specified date–i know this it too muc to ask, maybe do the “new! first and worry about the date later.

    thanks for a great plug in

    Phil

  150. Rob a las 12:06 am 7 Mayo. 2009
    Firefox 3.0.10Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)

    Thanks for the plug-ins. the listing works great, but I have installed a multi-language tool called gengo.

    I have both english and french translations and both show in the category list when I am looking at the english or french site.

    Any thoughts on how to work around this?

    thanks in advance.

  151. nlx a las 7:19 pm 10 Mayo. 2009
    Safari 528.16Mac OS
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; fr-fr) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16

    Hey. Is it possible to use th eplugin to display the list of the posts + the thumbs ?

  152. Jim Pickell a las 12:41 pm 13 Mayo. 2009
    Google Chrome 1.0.154.65Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.65 Safari/525.19

    Love the plug in; however, whenever I edit any of my side bar widgets it resets. Any idea why?

    Thanks,
    Jim

  153. BOGDAN a las 10:37 am 29 Mayo. 2009
    Firefox 3.0.10Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 GTB5 (.NET CLR 3.5.30729)

    Hi there … how can i use this plugin in my sidebar without widgets?
    Can i use a specific php code?

  154. AJ a las 3:45 am 12 Junio. 2009
    Internet Explorer 7.0Windows XP
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

    Has anyone tested this on Wordpress 2.8 yet?

  155. AJ a las 4:02 am 12 Junio. 2009
    Internet Explorer 7.0Windows XP
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

    Don’t worry it was a different error, not this plugin.

  156. Duncan a las 3:07 am 14 Junio. 2009
    Internet Explorer 7.0Windows Vista
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SV1; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; Windows-Media-Player/10.00.00.3990; .NET CLR 3.5.30729; .NET CLR 3.0.30618)

    Can someone walk me through the installation of this? I do not understand. This is the part of the instructions I don’t get…

    Add “lcp_catlist” class into your theme’s CSS for custom formatting.

    I am trying to get my posts to list by category on my archives page. Any ideas? Hope someone can help. This looks like what I need, jsut not that saavy when it comes to code, etc.

    Thanks!

    Duncan

  157. Naureen Shaikh a las 3:08 am 14 Junio. 2009
    Firefox 3.0.10Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10

    I wanted to use only pages and keep posts seprate from my content. This plug in help me a lot.

    THanks for sharing.

  158. Guennadi M a las 12:17 pm 15 Junio. 2009
    Google Chrome 2.0.172.31Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.31 Safari/530.5

    This is fantastic! I spent the whole day trying to create something like this myself, without any luck. And then I came across your plugin. Thank you very much. I use it to display “Related Articles” on my blog posts: http://www.ausbusiness.net/review/brain-games-for-kids/

    Thank you very much.
    Guennadi M

  159. Manan a las 11:30 am 23 Junio. 2009
    Google Chrome 2.0.172.33Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5

    Is there any way by which I can show the title of the category above the category? Example:

    Apple:

    1. abc
    2. pqr
    3. xyz

    where ‘Apple’ is the name of the category & ‘abc’; ‘pqr’; ‘xyz’ are posts under the category ‘Apple’

    Thanks :)

  160. Manan a las 6:49 am 25 Junio. 2009
    Safari 530.17Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17

    Welll, I figured out my last issue, however is it possible to customize the layout, like show the date in the next line (but the same bullet)?

  161. Tim a las 1:51 pm 30 Junio. 2009
    Internet Explorer 7.0Windows Vista
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.1; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)

    It took me a bit of fiddling about but I got it working! It’s on a site which could be considered commercial so no link to the placement but it’s a great plugin and realy helps with site navigation!

  162. shae a las 9:16 pm 30 Junio. 2009
    Firefox 3.0.11Windows Vista
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)

    Anyone know how to have 2 categories showing with 2 different styles applied?

Trackbacks

  1. Leonaut.com
    Pligg
    PLG (http://www.pligg.com)
  2. 10 New Useful WordPress Plugins | Blog Oh Blog
    WordPress 2.5.1
    Incutio XML-RPC -- WordPress/2.5.1
  3. blog.rightreading.com » A WordPress plugin, and how to find category ID numbers
    WordPress 2.6
    Incutio XML-RPC -- WordPress/2.6
  4. List Category Posts | Gabfire web design
    WordPress 2.6
    Incutio XML-RPC -- WordPress/2.6
  5. 10 plugins wordpress novinhos em folha! | Wordpress Love - Themes, Plugins e tudo para Wordpress, em Português
    WordPress 2.6
    Incutio XML-RPC -- WordPress/2.6
  6. 10+3 nuevos plugins para Wordpress muy útiles | frogx.three
    WordPress 2.6.1
    Incutio XML-RPC -- WordPress/2.6.1
  7. Plugins Úteis para WordPress
    WordPress 2.3.1
    Incutio XML-RPC -- WordPress/2.3.1
  8. Tarde programando PHP para WordPress | Picando Código
    WordPress 2.6.1
    Incutio XML-RPC -- WordPress/2.6.1
  9. WordPress Plugin Releases for 08/19 | BlogBroker24-7
    WordPress 2.3.1
    Incutio XML-RPC -- WordPress/2.3.1
  10. ??? ? Wordpress » ????? ????? » ??????? ??? Wordpress (29.08.2008)
    WordPress 2.5.1
    Incutio XML-RPC -- WordPress/2.5.1
  11. ??10??????? | ?????
    WordPress 2.6
    Incutio XML-RPC -- WordPress/2.6
  12. wordpress??????????…? - ????
    WordPress 2.6.2
    Incutio XML-RPC -- WordPress/2.6.2
  13. BLOVEC » ??10???????
    WordPress 2.6.2
    Incutio XML-RPC -- WordPress/2.6.2
  14. 13?????Wordpress?? | ??????-HEAMO Digi Observer
    WordPress 2.6.2
    Incutio XML-RPC -- WordPress/2.6.2
  15. 10 plugins novos em folha para turbinar seu Wordpress | Wordpress Themes
    WordPress 2.6.2
    Incutio XML-RPC -- WordPress/2.6.2
  16. Nuovi plug-in per migliorare il vostro WordPress! | TechNotizieNews
    WordPress 2.6.1
    Incutio XML-RPC -- WordPress/2.6.1
  17. ??????? » ??10???????
    WordPress 2.3.3
    Incutio XML-RPC -- WordPress/2.3.3
  18. List category posts Wordpress Plugin (English) | Lesehan bareng Kang Oyot
    WordPress abc
    Incutio XML-RPC -- WordPress/abc
  19. 10 New Useful WordPress Plugins | WP Passion
    WordPress 2.3.1
    Incutio XML-RPC -- WordPress/2.3.1
  20. 10 Plugins for Wordpress is very Useful | Blogs and Wordpress
    WordPress 2.3.3
    Incutio XML-RPC -- WordPress/2.3.3
  21. HellBoy » Blog Archive » 10 New Useful WordPress Plugins
    WordPress 2.6.2
    Incutio XML-RPC -- WordPress/2.6.2
  22. ??10??????? ? ????
    WordPress 2.6.3
    Incutio XML-RPC -- WordPress/2.6.3
  23. ??10??????? | ????-Blog QQ:47900026
    WordPress 2.6.3
    Incutio XML-RPC -- WordPress/2.6.3
  24. ??10??????? | ????-Blog QQ:47900026
    WordPress 2.6.3
    Incutio XML-RPC -- WordPress/2.6.3
  25. ??.com » wordpress????
    WordPress 2.6.2
    Incutio XML-RPC -- WordPress/2.6.2
  26. ??10??????? at Wopus????
    WordPress 2.7
    The Incutio XML-RPC PHP Library -- WordPress/2.7-beta1
  27. 10 Latest Useful WordPress Plugins | Get paid to blog
    WordPress 2.6.2
    Incutio XML-RPC -- WordPress/2.6.2
  28. SAP Lobby » wordpress????
    WordPress 2.7
    The Incutio XML-RPC PHP Library -- WordPress/2.7
  29. Lista tuturor articolelor din Milionar | Milionarul Mioritic ®
    WordPress 2.7
    The Incutio XML-RPC PHP Library -- WordPress/2.7
  30. How do I make my category pages display full lists of entries? - DIY Themes Forums
    Unknown
    Mozilla/4.0 (vBSEO; http://www.vbseo.com)
  31. 4webmasters » Top 1000 WordPress Plugin Authors
    WordPress 2.7
    The Incutio XML-RPC PHP Library -- WordPress/2.7
  32. En.nicuilie.eu Blogs » Top 1000 WordPress Plugin Authors
    WordPress 2.6.5
    Incutio XML-RPC -- WordPress/2.6.5
  33. List category posts Wordpress Plugin (English) | Picando Código « Exploring Life: WordPress Resources
    WordPress MU
    The Incutio XML-RPC PHP Library -- WordPress/MU
  34. 10 Plugins Baru yang Membantu dan Berguna Untuk Blog WordPress | Nafasku Adalah Blog
    WordPress 2.6.5
    Incutio XML-RPC -- WordPress/2.6.5
  35. ???? » ??10???????
    WordPress 2.7
    The Incutio XML-RPC PHP Library -- WordPress/2.7
  36. wordpress??????? | ??????
    WordPress 2.7.1
    The Incutio XML-RPC PHP Library -- WordPress/2.7.1
  37. 10???????
    WordPress 2.7.1
    The Incutio XML-RPC PHP Library -- WordPress/2.7.1
  38. magnus.de
    WordPress 2.6
    Incutio XML-RPC -- WordPress/2.6
  39. A plee to the bloggers amongst us. - The HUBB
    Unknown
    vBSEO (http://www.vbseo.com)
  40. Joomla ut, Wordpress inn igjen at Sånn er livet!
    WordPress 2.8
    The Incutio XML-RPC PHP Library -- WordPress/2.8-bleeding-edge
  41. PC-Achievements dank Wordpress | Der Burtchen bloggt
    WordPress 2.7.1
    The Incutio XML-RPC PHP Library -- WordPress/2.7.1

Dejar un comentario

Al agregar un comentario en esta página, usted acepta la siguiente licencia para su publicación:
Creative Commons License Creative Commons Attribution-Share Alike 3.0 Unported License.

Si quieres mostrar código, enciérralo entre los tags pre de esta forma:
<pre lang="L"> y </pre>, donde L es un lenguaje compatible GeSHI. Más info.

XHTML: Las siguientes tags están permitidas: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">





Búsqueda personalizada