Support » Plugin: List category posts » [Plugin: List category posts] Broken in WP 3.1

  • I now get this warning on the page where I have the shortcode:

    Warning: Invalid argument supplied for foreach() in /data/21/2/110/161/2110976/user/2316208/htdocs/wp-content/themes/george/list-category-posts/default.php on line 36

    Until I upgraded to WP 3.1 yesterday, it worked perfectly.

    Otherwise, great plugin.


Viewing 5 replies - 1 through 5 (of 5 total)
  • this stopped working for me as well. was working perfectly until i updated wordpress.

    I actually had the previous version of List Category Posts on another WordPress site. So I deleted the updated plugin, uploaded the previous version and installed it. It works.

    In conclusion… the latest version of this plugin is NOT compatible with WordPress 3.1, but the previous version of the plugin does work with WordPress 3.1.

    i removed the plugin altogether and just created a page template where i query that particular category. i liked it when it worked but i feel better now being dependent on one less plugin.

    Plugin Author Fernando Briano


    Hi George, drewshen,

    The error seems to be due to an update on the template system on version 0.18. Please, check the new included default.php and update your default.php file.

    I’m working on a new, improved, simpler system for templates, since this one is not really user friendly at all. Any feedback on the matter would be greatly appreciated. Check this link to a possible implementation.

    Thanks for a great plug-in fernandobt! I too had the error, but now am good to go with the new default.php template file. With the older template system, I was able to hyperlink each thumbnail with the following code:

    //Show thumbnail?
    		$lcp_output .= '<div class="lcp_thumbnail"><a href="' . get_permalink($single->ID) . '">'. lcp_thumbnail($single) . '</a></div>';

    Do you have any ideas as to how to accomplish this in the new template version? I can’t seem to figure it out.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: List category posts] Broken in WP 3.1’ is closed to new replies.