Advertisement
Misplon

Corp Disable Responsive Layout

Mar 29th, 2018
4,497
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.42 KB | None | 0 0
  1. if ( ! function_exists( 'siteorigin_corp_child_setup' ) ) :
  2. function siteorigin_corp_child_setup() {
  3.     remove_action( 'wp_head', 'siteorigin_corp_viewport_tag' );
  4.  
  5.     function siteorigin_corp_child_custom_viewport_tag() { ?>
  6.         <meta name="viewport" content="width=1280" />
  7.     <?php }
  8.     add_action( 'wp_head', 'siteorigin_corp_child_custom_viewport_tag' );  
  9. }
  10. endif;
  11. add_action( 'after_setup_theme', 'siteorigin_corp_child_setup' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement