WP Multi Network
Multi-Network install P2 child theme stylesheet path. (2 posts)

  1. richstrauss
    Posted 1 year ago #


    I have used WP-Multi-Network to create multiple networks on one domain.

    Network 1: http://mysite.com
    Network 2: http://network2.mysite.com

    On Network 2, I am using the P2 theme >> http://wordpress.org/themes/p2 with the Houston Child Theme >> https://wordpress.org/themes/houston

    I am making changes to Houston style.css, and uploading to the server, but the changes don't take effect.

    I have now realized that in the source code it reads the style.css location as http://network2.mysite.com/site1/wp-content/themes/p2 - this is a virtual directory and no style sheet exists there.

    Can anyone please help?

    Please let me know if you need any more info!

    Thank you!



  2. richstrauss
    Posted 1 year ago #

    I am not very good at this :P

    I looked at the page source code of the site at http://network2.mysite.com/newsite

    Close to the top I find a line within javascript tags:

    var templateDir = "http://projects.dotcomindependence.com/base/wp-content/themes/p2";

    I found this on line 224:

    var templateDir = "<?php echo esc_js( get_template_directory_uri() ); ?>";

    in this file:


    So I copied js.php to the Houston child theme:


    and hardcoded my base url like this:

    var templateDir = "http://dotcomindependence.com/wp-content/themes/p2";

    And uploaded it.

    But nothing :(

    Am I going in the right direction? I doubt it...

    Or should I put something in functions.php?

    Am I making sense at all?

    Thank you for reading.

    Sure hope someone in the know will find me here ;)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Multi Network
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic