Headway Child Themes - disable design editor


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. <?php
  2.  
  3. add_action('headway_setup_child_theme', 'disable_design_editor');
  4.  
  5. function disable_design_editor() {
  6. remove_theme_support('headway-design-editor');
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.