Title: Short Code not working
Last modified: August 22, 2016

---

# Short Code not working

 *  Resolved [hillmajo](https://wordpress.org/support/users/hillmajo/)
 * (@hillmajo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/short-code-not-working-22/)
 * Hi there,
 * I am using this plugin in an area that is not a widget by using the shortcode
   I found [here.](https://wordpress.org/plugins/recent-posts-widget-extended/other_notes/)
 * I am trying to get it to pull from a post category that i have created by using
   the shortcode argument **cat=””** and entering my category name in between “”.
   However, everytime I add the shortcode argument **cat=””** into my shortcode,
   the short code stops working.
 * Is there another shortcode argument for category that I am supposed to be using?
 * Here is the code that works:
    [rpwe limit=”3″ thumb=”true” orderby=”date” thumb_align
   =”rpwe-alignleft” thumb_height=”75″ thumb_width=”75″ excerpt=”true” styles_default
   =”false” length=”5″ post_type=”post” date=”false” readmore=”true” ]
 * Here is the code that doesn’t work:
    [rpwe limit=”3″ thumb=”true” orderby=”date”
   thumb_align=”rpwe-alignleft” thumb_height=”75″ thumb_width=”75″ excerpt=”true”
   styles_default=”false” length=”5″ post_type=”post” date=”false” readmore=”true”
   cat=”whats-hot” ]
 * p.s. The category slug is “whats-hot”
 * Thank you in advance.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [patsky](https://wordpress.org/support/users/patsky/)
 * (@patsky)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/short-code-not-working-22/#post-5457804)
 * Same problem for me – have tried with slug and full category name. Neither works.
 *  [patsky](https://wordpress.org/support/users/patsky/)
 * (@patsky)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/short-code-not-working-22/#post-5457805)
 * Ahhhhhhh! It’s the category id you need to add – same for tags 😉
 *  Thread Starter [hillmajo](https://wordpress.org/support/users/hillmajo/)
 * (@hillmajo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/short-code-not-working-22/#post-5457807)
 * You got it to work? Can you post a sample?
 *  Thread Starter [hillmajo](https://wordpress.org/support/users/hillmajo/)
 * (@hillmajo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/short-code-not-working-22/#post-5457808)
 * Never mind. I found it. Great work!
 *  [Husain Tezabwala](https://wordpress.org/support/users/htezabwala/)
 * (@htezabwala)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/short-code-not-working-22/#post-5457860)
 * [@patsky](https://wordpress.org/support/users/patsky/)
    Thanks a lot for your
   comment.
 * [@author](https://wordpress.org/support/users/author/)
    Please consider including
   this in the “Other Notes” section for ease of usage.
 *  [patsky](https://wordpress.org/support/users/patsky/)
 * (@patsky)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/short-code-not-working-22/#post-5457861)
 * [@htezabwala](https://wordpress.org/support/users/htezabwala/) you’re welcome.
   I try and feedback when I find a solution. So many people just say Fixed without
   any explanation!
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/short-code-not-working-22/#post-5457863)
 * Hi All,
    I promise to improve the shortcode function.
 * Thanks to [@patsky](https://wordpress.org/support/users/patsky/) for the answer
   🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Short Code not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-widget-extended_3384ca.
   svg)
 * [Recent Posts Widget Extended](https://wordpress.org/plugins/recent-posts-widget-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-widget-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-widget-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-widget-extended/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [satrya](https://wordpress.org/support/users/satrya/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/short-code-not-working-22/#post-5457863)
 * Status: resolved