Title: Adding class to shortcode
Last modified: August 24, 2016

---

# Adding class to shortcode

 *  [Brandee](https://wordpress.org/support/users/brandeenortonstreetbiz/)
 * (@brandeenortonstreetbiz)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-class-to-shortcode/)
 * I’d like to be able to add a class to the Posts to Page short code so that I 
   can style certain categories differently than the other posts. Do you support
   this somehow?
 * [https://wordpress.org/plugins/posts-to-page/](https://wordpress.org/plugins/posts-to-page/)

The topic ‘Adding class to shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-to-page.svg)
 * [Posts to Page](https://wordpress.org/plugins/posts-to-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-to-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-to-page/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-to-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-to-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-to-page/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Brandee](https://wordpress.org/support/users/brandeenortonstreetbiz/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/adding-class-to-shortcode/)
 * Status: not resolved