Support » Networking WordPress » Check if site is main site in network.

  • Resolved w1nk5

    (@w1nk5)


    Is there a way to check if the current site is the main site for the network or a subsite?

    My network sites use a child theme of the main site theme that shares the main themes header. I want to be able to change some content in the header based on a condition if it is the main site or a subsite.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Check if site is main site in network.’ is closed to new replies.