Title: Change in default display using shortcode?
Last modified: May 28, 2018

---

# Change in default display using shortcode?

 *  Resolved [dryanwp](https://wordpress.org/support/users/dryanwp/)
 * (@dryanwp)
 * [8 years ago](https://wordpress.org/support/topic/change-in-default-display-using-shortcode/)
 * I think that the most recent update changed the list displayed by the shortcode
   when the “post-type” is not specified in the shortcode. Before the update I was
   getting the display I wanted (both pages and posts) both on the settings page
   and in the list generated by a short code. After the update only posts were included
   in the shortcode generated list. Adding post_type=’post,page’ to the shortcode
   returned me to the result I wanted. Hope this helps someone else …it took a while
   to figure it out.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [8 years ago](https://wordpress.org/support/topic/change-in-default-display-using-shortcode/#post-10332884)
 * Hi [@dryanwp](https://wordpress.org/support/users/dryanwp/),
 * > I think that the most recent update changed the list displayed by the shortcode
   > when the “post-type” is not specified in the shortcode. Before the update I
   > was getting the display I wanted (both pages and posts) both on the settings
   > page and in the list generated by a short code. **After the update only posts
   > were included in the shortcode generated list.**
 * Yep, that is correct. I was sure I had included that change in the changelog 
   but I didn’t, so apologies for the lack of notice.
 * Originally though the plugin listed only posts by default. For some reason (probably
   a mistake from my side when version 4.0 was released, it was a plugin rewrite
   and some things were implemented from scratch) it got changed to list posts and
   pages. The latest release “corrected” that.
 * Thanks for the heads up, I’m sure other users will appreciate it.

Viewing 1 replies (of 1 total)

The topic ‘Change in default display using shortcode?’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/change-in-default-display-using-shortcode/#post-10332884)
 * Status: resolved