Category Posts Widget
Can't pull category list (2 posts)

  1. The plugin fails to pull the category list (only shows 1 category total)


  2. cristiroma
    Posted 3 years ago #

    Inside file cat-posts.php at line 165, modify as this:

    <?php wp_dropdown_categories( array('hide_empty' => 0, 'name' => $this->get_field_name("cat"), 'selected' => $instance["cat"] ) ); ?>

    It is happening because the plugin by default does not show the empty categories.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Category Posts Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic