switch_to_blog() for index (1 post)

  1. cableghost
    Posted 4 years ago #

    I recently switched an existing site to MPMS. It's set as sub-domains and is working fine. Except, I coded ads into my main index, but do not want the ads to show in the sub-domain index.

    Since there is not an additional index for the sub-domain, how can I code out the ads for the sub-domain?

    I have read a bit about 'switch_to_blog()' but I do not understand it's individual functionality within a page.


Topic Closed

This topic has been closed to new replies.

About this Topic