Title: Limit Category
Last modified: April 12, 2019

---

# Limit Category

 *  Resolved [shawnvliem](https://wordpress.org/support/users/shawnvliem/)
 * (@shawnvliem)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/limit-category/)
 * Added the following shortcode to an html block and it is not limiting to only
   the category (sponsor) I have specified. It continues to display all of the posts
   regardless of the category assigned to them.
 * [spt-posts-ticker category=”sponsor”]
 * Is the above syntax correct? Is there something else I need to do?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Sayan Datta](https://wordpress.org/support/users/infosatech/)
 * (@infosatech)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/limit-category/#post-11423677)
 * Hi [@shawnvliem](https://wordpress.org/support/users/shawnvliem/)
 * Use any one of the below:
 * `[spt-posts-ticker category_name="sponsor"]`
 * Or
 * `[spt-posts-ticker category="categoryidofsponsor"]`
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Limit Category’ is closed to new replies.

 * ![](https://ps.w.org/simple-posts-ticker/assets/icon-256x256.png?rev=2961877)
 * [Simple Posts Ticker - Easy, Lightweight & Flexible](https://wordpress.org/plugins/simple-posts-ticker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-posts-ticker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-posts-ticker/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-posts-ticker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-posts-ticker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-posts-ticker/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sayan Datta](https://wordpress.org/support/users/infosatech/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/limit-category/#post-11423677)
 * Status: resolved