If a category name has a space in it, your plug-in does not return any results. Consider using category-slug instead per the Codex: http://codex.wordpress.org/Function_Reference/query_posts
if (is_category('category-slug')): query_posts(array('category_name' => 'my-category-slug', 'posts_per_page' => -1 )); endif;
Tested by just putting the category slug into the wp_options: widget_rpbc – category_name value.
Also, the “Show credits” checkbox doesn’t stick on Save.
- The topic ‘Not choosing category if there's a space in name’ is closed to new replies.