Return to Snippet

Revision: 54921
at January 18, 2012 02:33 by codepunk


Initial Code
<?php

add_action('headway_setup_child_theme', 'disable_design_editor');

function disable_design_editor() {
    remove_theme_support('headway-design-editor');
}

Initial URL

                                

Initial Description
Disables the design editor in the VE when using a child theme.

Initial Title
Headway Child Themes - disable design editor

Initial Tags
wordpress, theme

Initial Language
PHP