Wordpress - Have Home Page Not Appear on Subdomains

andrew34
42 Posts
andrew34 posted this 28 April 2016

I have a domain with several subdomains. I'd like them all to use the same themler theme, but I'd like only the root to use the home page I created (with content) and the subdomains to use the barebones page layout for their home page. When I activate the theme on the subdomains now, the home page content appears on the home page, even though the page template does not have the home page set as the layout.

I have a domain with several subdomains. I'd like them all to use the same themler theme, but I'd like only the root to use the home page I created (with content) and the subdomains to use the barebones page layout for their home page. When I activate the theme on the subdomains now, the home page content appears on the home page, even though the page template does not have the home page set as the layout.
Vote to pay developers attention to this features or issue.
7 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 29 April 2016

Hi,

Have a look on how to create custom templates for WP:
http://answers.themler.com/articles/9466/how-to-create-and-use-custom-templates

There is a possibility to assign the theme for the home page in the site.

Sincerely,
Hella

Hi, Have a look on how to create custom templates for WP: http://answers.themler.com/articles/9466/how-to-create-and-use-custom-templates There is a possibility to assign the theme for the home page in the site. Sincerely, Hella
andrew34
42 Posts
andrew34 posted this 29 April 2016

I'm not sure that will get me where I need to be.

Currently, the homepage template is "Default Template" but because it's designated as the home page in wordpress->settings->reading, the home template is loaded. Won't that happen with the subdomains as well, regardless of what template is assigned?

I'm not sure that will get me where I need to be. Currently, the homepage template is "Default Template" but because it's designated as the home page in wordpress->settings->reading, the home template is loaded. Won't that happen with the subdomains as well, regardless of what template is assigned?
Support Team
Support Team posted this 05 May 2016

Hi,

Please check WP theme hierarchy:
http://codex.wordpress.org/images/9/96/wp-template-hierarchy.jpg

Site Front Page -> front-page.php -> ...

In the front-page.php theme loads Home Template:

<?php theme_load_template('Home', 'home'); ?>

So, by default, Home template is assigned to the WP frontpage automatically.
Themler uses WP templating mechanism. If WP sees this page as front page this page will use Home template by default.

You can create alternative Home, or load different template manually.

Thank you,
Olivia

Hi, Please check WP theme hierarchy: http://codex.wordpress.org/images/9/96/wp-template-hierarchy.jpg Site Front Page -> front-page.php -> ... In the `front-page.php` theme loads Home Template: `<?php theme_load_template('Home', 'home'); ?>` So, by default, Home template is assigned to the WP frontpage automatically. Themler uses WP templating mechanism. If WP sees this page as front page this page will use Home template by default. You can create alternative Home, or load different template manually. Thank you, Olivia
andrew34
42 Posts
andrew34 posted this 05 May 2016

Right, so the solution is to duplicate the home page as another page, make the home page usable by the subdomains, and assign the root domain home page to the duplicated page. Right?

Right, so the solution is to duplicate the home page as another page, make the home page usable by the subdomains, and assign the root domain home page to the duplicated page. Right?
Support Team
Support Team posted this 06 May 2016

Hi,

Feel free to try this solution. Hope that it will work fine.

Sincerely,
Hella

Hi, Feel free to try this solution. Hope that it will work fine. Sincerely, Hella
andrew34
42 Posts
andrew34 posted this 07 August 2017

So I'm wanting to set the home page to a specific template and it won't - it keeps trying to load the Themler Home template, which is blank, despite my setting the home page to use another template. Themler also won't let me delete the Home template. To fix my problem, is there a way to copy the contents of my page with content to the Themler home page?

So I'm wanting to set the home page to a specific template and it won't - it keeps trying to load the Themler Home template, which is blank, despite my setting the home page to use another template. Themler also won't let me delete the Home template. To fix my problem, is there a way to copy the contents of my page with content to the Themler home page?
Support Team
Support Team posted this 30 August 2017

Hi,

Sorry for the delay.
As I understand you have some websites on subdomains where you are using the same WP theme and you want to use different Home page templates, right?
WP installation has front page settings under the Settings >> reading. Themler applies Home template to the page specified as front page under the Reading Settings. You cannot change this logic and you cannot remove the Home page or assign a different template. But you can create alternative Home template in Themler (exactly Home template) and switch between Home templates under the Appearance >> Theme Options.
I don't know how exactly you configured your websites on subdomains. But if you're using different themes installations you can set different Home templates for front pages under the Theme Options.
Themler Home templates outputs the existing content of the WP front page (single page content or latest posts). This is not related to the template. The content is controlled by WordPress.

Thank you,
Olivia

Hi, Sorry for the delay. As I understand you have some websites on subdomains where you are using the same WP theme and you want to use different Home page templates, right? WP installation has front page settings under the Settings >> reading. Themler applies Home template to the page specified as front page under the Reading Settings. You cannot change this logic and you cannot remove the Home page or assign a different template. But you can **create** alternative **Home template** in Themler (exactly Home template) and switch between Home templates under the Appearance >> Theme Options. I don't know how exactly you configured your websites on subdomains. But if you're using different themes installations you can set different Home templates for front pages under the Theme Options. Themler Home templates outputs the existing content of the WP front page (single page content or latest posts). This is not related to the template. The content is controlled by WordPress. Thank you, Olivia
You must log in or register to leave comments