Altering settings for mobile theme

Home Forums Any Mobile Theme Switcher Altering settings for mobile theme

This topic contains 3 replies, has 2 voices, and was last updated by  Dinesh 3 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1099


    Hi, is it possible to view different front page (posts vs. static) for mobiles?

    Kind regards, Peter



    Sorry, not yet in this version. We are going to keep this in coming version.



    we built a workaround for this, add this snippet to the functions.php file for your mobile theme;

    NOTE: The /mobile/homepage is the path to your page in your site.

    //Although the name says it does, this does not actually change the template, just the page
    function mobile_template_redirect(){
    if( is_front_page() ){
    wp_redirect( home_url( ‘/mobile/homepage/’ ) );
    add_action( ‘template_redirect’, ‘mobile_template_redirect’ );



    I haven;t checked it yet but seems promising.

    Thanks a lot 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Altering settings for mobile theme’ is closed to new replies.