Title: Post Type Doesn&#039;t work
Last modified: August 20, 2016

---

# Post Type Doesn't work

 *  Resolved [Navjot Singh](https://wordpress.org/support/users/navjotjsingh/)
 * (@navjotjsingh)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/post-type-doesnt-work/)
 * 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.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Pippin Williamson](https://wordpress.org/support/users/mordauk/)
 * (@mordauk)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/post-type-doesnt-work/#post-2163073)
 * 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.

Viewing 1 replies (of 1 total)

The topic ‘Post Type Doesn't work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/better-recent-posts-widget_e2aaa4.
   svg)
 * [Better Recent Posts Widget (with thumbnails)](https://wordpress.org/plugins/better-recent-posts-widget/)
 * [Support Threads](https://wordpress.org/support/plugin/better-recent-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/better-recent-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-recent-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-recent-posts-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Pippin Williamson](https://wordpress.org/support/users/mordauk/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/post-type-doesnt-work/#post-2163073)
 * Status: resolved