Return to Support

Child theme with multisite with subdomains

Home Forums Graphene Mobile Neo Support Child theme with multisite with subdomains

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9021
    Mandado
    Member

    Hello,

    I have a multisite with 2 subdomains plus the normal domain.

    When setting up the mobile version in the subdomains the child theme doesn’t seem to work. Any ideas why?

    The “only” thing I want to do from the functions file is this:

    <?php
    function redirect_home_to_blog_mobile() {
    if ( is_front_page() ) {
    wp_redirect ( get_permalink( get_option( 'page_for_posts' ) ) );
    exit;
    }
    }
    add_action('template_redirect', 'redirect_home_to_blog_mobile');

    ?>

    I set that up correctly long time ago for my main blog: https://forum.graphene-theme.com/gmneo-support/non-static-homepage-for-mobile-version

    But now when trying to set it up for the en.xxx.com and lv.xxx.com it doesn’t work.

    #42596
    Syahir Hakim
    Keymaster

    What is the actual links for the two subdomains? Have you assigned the child themes as the mobile themes for those two subdomains?

    #42597
    Mandado
    Member
    Quote:
    What is the actual links for the two subdomains? Have you assigned the child themes as the mobile themes for those two subdomains?

    The subdomains are lv.thecrazytravel.com and en.thecrazytravel.com.

    Not sure if it is assigned the child themes as mobile themes for those two subdomains, how do I make sure it is assigned?

    Thanks.

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

You must be logged in to reply to this topic.