• I was looking for how to disable the mobile view. I did find it on the themes website support forums but I thought I’d post it here for the ease of others.

    simply create or edit the custom-functions.php file in the magazine directory and add

    <?php

    function themify_disable_responsive_design() {
    // Remove media-queries.css
    add_action( ‘wp_enqueue_scripts’, create_function( ”, “wp_deregister_style( ‘themify-media-queries’ );” ), 20 );

    // Remove JS for IE
    remove_action( ‘wp_head’, ‘themify_ie_enhancements’ );

    // Remove meta viewport tag
    remove_action( ‘wp_head’, ‘themify_viewport_tag’ );

    // Include html5.js for IE
    add_action( ‘wp_head’, ‘themify_custom_ie_html5’ );
    }
    add_action( ‘init’, ‘themify_disable_responsive_design’ );

    function themify_custom_ie_html5(){
    echo ‘<!– html5.js –>
    <!–[if lt IE 9]>
    <script src=”https://html5shim.googlecode.com/svn/trunk/html5.js”></script&gt;
    <![endif]–>’;
    }
    ?>

  • The topic ‘disable mobile view’ is closed to new replies.