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
  3. add_action('headway_setup_child_theme', 'disable_design_editor');
  5. function disable_design_editor() {
  6. remove_theme_support('headway-design-editor');
  7. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.