Skip to content

Instantly share code, notes, and snippets.

View ChrisHursty's full-sized avatar
💭
🥑

Chris Hurst ChrisHursty

💭
🥑
View GitHub Profile
@ChrisHursty
ChrisHursty / RemoveCustomizerSections.php
Created February 12, 2019 18:07 — forked from 21stcenturyblogger/RemoveCustomizerSections.php
Remove common sections or panels from the WordPress theme customizer
// Remove unwanted sections or panels in the theme customizer
// Add to child theme fuctions.php or child_theme_functions.php or child-theme-customizer.php
function remove_customizer_options_sections(){
global $wp_customize;
// Normal customizer sections
//$wp_customize->remove_panel('nav_menus'); // Menus section
//$wp_customize->remove_section('title_tagline'); // Site Identity section
vagrant box add caseproof-lamp https://s3.amazonaws.com/caseproof/caseproof-lamp.box
vagrant init caseproof-lamp
vagrant up