Better Recent Posts Widget
[resolved] Post Type Doesn't work (2 posts)

  1. Navjot Singh
    Posted 3 years ago #

    No matter what post type you select, it shows default posts only. That's because on line 45 the code is

    $args = 'numberposts=' . $number . '&offset' . $offset . '&post_type' . $posttype . '&cat=' . $cat;

    whereas it should be

    $args = 'numberposts=' . $number . '&offset=' . $offset . '&post_type=' . $posttype . '&cat=' . $cat;

    Also Want to give a suggestion. Default Recent posts widget does not show dates but this one shows. I don't want to show dates in it so please include option to remove the dates or remove them by default.

  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 3 years ago #

    I've updated it to fix the post type problem. I probably won't add the date on/off option, simply because I have a Pro version of this widget available from Code Canyon.net that has advanced features such as this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic