Posted By

robnilas on 01/21/17


Tagged


Versions (?)

/* WHITE PAGE */


 / Published in: PHP
 

  1. /* WHITE PAGE */
  2. function custom_remove_defaults($content) {
  3. return false;
  4. }
  5.  
  6. function apply_custom_filters() {
  7. if (is_page(array('Squeeze Page','Coming Soon Page'))) {
  8. add_filter('thesis_show_header', 'custom_remove_defaults');
  9. add_filter('thesis_show_sidebars', 'custom_remove_defaults');
  10. add_filter('thesis_show_footer', 'custom_remove_defaults');
  11. add_filter('full_width_header', 'custom_remove_defaults');
  12. }
  13. }
  14. add_action('template_redirect','apply_custom_filters');

Report this snippet  

You need to login to post a comment.