Title: Custom Post issue
Last modified: August 22, 2016

---

# Custom Post issue

 *  Resolved [mungle](https://wordpress.org/support/users/mungle/)
 * (@mungle)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/custom-post-issue-1/)
 * Hello! Great Plugin. Just a question: I’m using a theme with custom posts and
   in there your plugin doesn’t display at all… do you think the issue came from
   my theme or from Custom CSS? Any idea to achieve this?
 * Thank you!
 * [https://wordpress.org/plugins/custom-css-by-techsperia/](https://wordpress.org/plugins/custom-css-by-techsperia/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [mungle](https://wordpress.org/support/users/mungle/)
 * (@mungle)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/custom-post-issue-1/#post-5264299)
 * Solved… just replace this part of code:
 *     ```
       function ts_custom_css_hooks() {
       	add_meta_box('custom_css', 'Custom CSS', 'ts_custom_css_input', 'post', 'normal', 'high');
       	add_meta_box('custom_css', 'Custom CSS', 'ts_custom_css_input', 'page', 'normal', 'high');
       }
       ```
   
 * with this one:
 *     ```
       function ts_custom_css_hooks() {
       	add_meta_box('custom_css', 'Custom CSS', 'ts_custom_css_input', 'post', 'normal', 'high');
       	add_meta_box('custom_css', 'Custom CSS', 'ts_custom_css_input', 'page', 'normal', 'high');
               add_meta_box('custom_css', 'Custom CSS', 'ts_custom_css_input', 'custom_post_type', 'normal', 'high');
       }
       ```
   
 * where **custom_post_type** is the **custom post type slug**!
 * You can also add more then one custom post type.

Viewing 1 replies (of 1 total)

The topic ‘Custom Post issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-css-by-techsperia_981a18.svg)
 * [Custom CSS by Techsperia](https://wordpress.org/plugins/custom-css-by-techsperia/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-css-by-techsperia/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-css-by-techsperia/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-css-by-techsperia/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-css-by-techsperia/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-css-by-techsperia/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [mungle](https://wordpress.org/support/users/mungle/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/custom-post-issue-1/#post-5264299)
 * Status: resolved