Support » Networking WordPress » Determine which blog in a network?

  • Resolved dcherring

    (@dcherring)


    I’ve added some changes to a piece of php code in my theme, and I want this code to run only on a certain page in the top level blog in a network.

    I have already figured out the “certain page” part of this endeavor, and that works great. Now I’m trying to find a function in wordpress that I can call to determine which blog in the network is currently tickling this code. So far, I’m not finding it.

    Can anyone tell me if such a function exists and what it is?

    If it’s not a matter of calling a function in an “if” statement, then is there another way to do what I want to do?

    Thanks!
    David

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Determine which blog in a network?’ is closed to new replies.