Support » Networking WordPress » multisite template files location

  • Resolved dimafei

    (@dimafei)



    Hey everybody! I started multisite with wordpress 4.6.1. and created a child theme using it for several sites in the network. I want to custom the header template file just for one site (and not for all within the same child theme). how can I do it? where exactly template files for a network site (subdomains) are located at? thank you for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You will only ever find one set of files in a multisite network(5, 10, or 100,000 sites? all share one set of WordPress files), the multisites are virtual.

    Using a 2nd child theme (and making it visible on a per site basis) is a good way to go if you want to customize “out of the box” themes.

    If it is a matter of tweaking CSS, then use an EditCss plugin – CustomCSS with Jetpack plugin.

    OK! thank you David! I tried to do so but it doesn’t appear at the theme panel.. at the moment I have only managed to create a one child theme. what is the right way to create the 2nd child theme? thank you!

    Creating a 2nd child theme is a process identical to the first:

    https://codex.wordpress.org/Child_Themes

    When creating your child directories and stylesheet header just change the name is all.

    myfavtheme
    myfavtheme-child
    myfavtheme-child2
    myfavtheme-child3
    myfavtheme-child4

    In multisite, you need to visit the Network Themes panel to make themes “Network enabled” first:

    /wp-admin/network/themes.php

    then visit the site’s theme panel “activate” the child theme

    /wp-admin/themes.php

    • This reply was modified 2 years, 4 months ago by  David Sader.

    thank you David! now i’ve got through it!))

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘multisite template files location’ is closed to new replies.