Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8212059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:38:17+00:00 2026-06-07T10:38:17+00:00

I am running WordPress 3.3.2 with multisite in sub-domain mode. I want to add

  • 0

I am running WordPress 3.3.2 with multisite in sub-domain mode.

I want to add a new sub-domain but have it be “offline” until I finish working on it. Is there an easy way to do this?

I know that if its a single site I can just add an if in the header file and the site will be online only to me, but in this case all of my sites are using the theme, making it the same header file thus making this solution invalid.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T10:38:19+00:00Added an answer on June 7, 2026 at 10:38 am

    You could check the current blog id in the theme like:

    <?php if (get_current_blog_id() == 1): ?>
      <?php //do stuff ?>
      <?php return ?>
    <?php endif ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At the moment, I have a wordpress-based site at http://sub.mydomain.com , running for 2
I've a Mac server and everything working fine I'm running a wordpress and have
Our company is trying to transition to WordPress Multisite but we have several issues
I have a site running on WordPress. I am testing out a new site
I'm pretty new to wordpress (only a couple of days), but I have it
I have a wordpress site running multistage on sub directories. when changing the permalink
If you want to develop against WordPress (i.e., have a local instance running on
I have to upgrade a running wordpress site's wordpress CMS and some installed plugins.and
I'm running a Wordpress site with the Disqus plugin and I have decided to
I have a local install of Wordpress running & I am suddenly getting these

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.