Title: Remove sections from customizer page
Last modified: August 21, 2016

---

# Remove sections from customizer page

 *  Resolved [jayhawkerd](https://wordpress.org/support/users/jayhawkerd/)
 * (@jayhawkerd)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/remove-sections-from-customizer-page/)
 * Is there a way to remove some of the sections from the customizer page like menu
   primary, entry meta? I know with the regular customizer I could remove by saying`
   $wp_customize->remove_section('title_tagline');` but that doesn’t seem to work
   with these new options (I tried st_searchform but it didn’t work).
 * [http://wordpress.org/plugins/styles/](http://wordpress.org/plugins/styles/)

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

 *  Plugin Author [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/remove-sections-from-customizer-page/#post-4330320)
 * Your code is probably running before the sections get added. Your ID is correct.
   I tested this and it works:
 *     ```
       function remove_styles_sections(){
           global $wp_customize;
   
           $wp_customize->remove_section('st_searchform');
       }
   
       // Priority 20 so that we remove options only once they've been added
       add_action( 'customize_register', 'remove_styles_sections', 20 );
       ```
   
 * Alternatively, you can copy `customize.json` to your theme directory, `styles.
   css` to your theme styles (if it exists), then disable the theme add-on plugin
   and edit `customize.json` to remove whatever you’d like. Each line is one option
   or group.
 *  Thread Starter [jayhawkerd](https://wordpress.org/support/users/jayhawkerd/)
 * (@jayhawkerd)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/remove-sections-from-customizer-page/#post-4330437)
 * Thank you. That worked!
 *  Plugin Author [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/remove-sections-from-customizer-page/#post-4330438)
 * Great! I’m glad we could get it resolved for you. 🙂
 * Please take a moment to [submit a review](http://wordpress.org/support/view/plugin-reviews/styles#postform).
   It helps a lot!

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

The topic ‘Remove sections from customizer page’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [pdclark](https://wordpress.org/support/users/pdclark/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/remove-sections-from-customizer-page/#post-4330438)
 * Status: resolved