• After manually adding a site from Super Admin >> Sites >> Add Site, the sub-domain site’s theme is Twenty Ten; however, the current site theme is BuddyPress Default 1.2.7.

    Also, in Super Admin >> Themes, the Twenty Ten theme has been disabled.

    So, what might the problem be? A manually created site is using a disabled theme instead of inheriting the current, enabled theme of the site.

    I can’t speak about sub-domains created via registration because that is a pending problem of a previous topic.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Because the default theme for NEW sites is defined in your wp-config.php file.

    http://wpmututorials.com/how-to/change-the-default-theme-for-sites-without-a-plugin/

    Basically, something like this on your config file:
    define('WP_DEFAULT_THEME', 'classic');

    where ‘classic’ is replaced with the folder name of your theme.

    Thread Starter cdvrooman

    (@cdvrooman)

    Ahhh, ok. I’ll give that a try.

    Thanks!

    Thread Starter cdvrooman

    (@cdvrooman)

    Ipstenu,
    Ok… I looked in /wp-config.php, but there was no mention of the WP_DEFAULT_THEME. But I did find this in /wp-includes/default-constants.php:

    if ( !defined('WP_DEFAULT_THEME') )
    		define( 'WP_DEFAULT_THEME', 'twentyten' );

    When I look in /wp-content/themes/ the only directory is ‘twentyten’; however, I’m running BuddyPress 1.2.7 and I specified the default BP theme after enabling the BP plugin. When I look in wp-content/plugins/buddypress/bp-themes/ , ‘bp-default’ is the only theme directory.

    So… what should I do as a best practice? Do I create a symbolic link in the /wp-content/themes directory to bp-themes/bp-default, do an outright copy of the /bp-default directory to /wp-content/themes or something else?

    Sincerely,
    Christopher.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You have to ADD it to your WP-config, it’s not there by default but you can ADD it. Just put it in and see.

    Also, you’re supposed to COPY the buddy press default theme into your WP-content/themes folder. This is mentioned in the install directions.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Creating a site doesn't use current theme’ is closed to new replies.