Viewing 1 replies (of 1 total)
  • Thread Starter richstrauss

    (@richstrauss)

    I am not very good at this ??

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

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

    var templateDir = "https://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:

    /wp-content/themes/p2/inc/js.php

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

    /wp-content/themes/houston/inc/js.php

    and hardcoded my base url like this:

    var templateDir = "https://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 ??

    Rich

Viewing 1 replies (of 1 total)
  • The topic ‘Multi-Network install P2 child theme stylesheet path.’ is closed to new replies.