Creating custom websites and default templates Print

  • 0

"Anything you do more than once should be automated".

In the world today we take for granted many amenities of modern living like running water, refrigeration, heating and cooling - all these things are automatically part of a your home, but we are so used to them that we don't normally consider these were once manual tasks.

In the web world, automation will one day be as common as running water. Mozaic has jumped on the bandwagon and automated the website setup process with our "Custom Blog Templates" tool.

We have many layouts and templates to choose from and nearly everybody does that today, but what if you want to turn any website you have already created into a template for your future websites or clients. While we are at it, why not make creating your own templates automatic too!



Here's a brief explanation of how it works, followed by detailed instructions from the plugin provider.

Log in to your Mozaic WordPress Dashboard and from the menu bar at the top choose "my sites, network admin, dashboard".
From the left hand dashboard column choose "Blog Templates". under blog templates, let's start with "settings".
Set the options on this page to your preference, then choose "save settings". You can change these settings at any time.




Now from the blog templates menu choose the "blog templates" sub-menu - you'll be taken to a screen like this.



Give your new template a name. Choose which one of your websites will become the template, either by the website ID, or by the website name.
Give your new template a description. Click "Save Template" when you have your entered your settings and description.


After a short delay (whie we automatically create the template for you) you will be presented with the options screen as shown here.




You will have an extensive list of options as you scroll through them, if you are unsure just use the defaults. You will see any categories you have created on the right, and the ability to include and exclude database tables as desired. there are some powerful options, but the Title and description are the minimum suggested entries to help deliniate all of your different templates moving forward. For example, you might want one template for small one-page sites, another for a multipage site with home, about, and contact pages, and maybe a third template with e-commerce shopping and checkout pages. You can create as many templates as you want and choose from your list of custom templates each time you create a new site. 


Below are more detailed instructions from the Plugin creator. 

For help with installing plugins please refer to our Plugin installation guide.

Once installed go to Plugins in the network admin dashboard and Network Activate the New Blog Template plugin. You’ll see a new menu in your network admin: Blog templates.

new-blog-templates-2100--network-settings

Using Your New Blog Template

New blog template can be used as:

  • The default template for all new sites created on your network.
  • A template selection when people sign up for a new site on your network.
  • A template selection when a super admin user creates a new site in Sites > Add New in the network admin dashboard.

How the New Blog Template works is you first create a new site and customize it with all features you want automatically added to new sites created with this template. For example, you configure all settings, add all post(s), page(s), set up the theme, upload the custom image header, activate plugins, add users, add widgets, add links to the blogroll and so on. You’ll find an example of a blog template here.

Please Note:

  • The site you’ve customized to use as a template is designed solely to be used as a template and not to be used a functioning site.
  • Any changes made to a template blog affect any sites created after you’ve made the new changes, it doesn’t affect sites already created.
  • You cannot use your main site as a template blog! You’ll get a little reminder if you try.

Configuring the settings

Once you’ve customized your new site with prepackaged features, you’re ready to make your first blog template. But let’s configure some global options first. Go to Blog Templates > Settings in your network admin dashboard.

 

1. Configure template options for your signup page. 2. Configure the categories toolbar for your signup page. 3. Optional database repair function.1. Configure template options for your signup page.
2. Configure the categories toolbar for your signup page.
3. Optional database repair function.

 

1. You’ll likely want to offer your users a Template Selection when they sign up. So check the Show templates selection on registration box. You can always change this setting later if you wish.

Then select the style you want to use for display on the signup page from the other options. Here’s what each of those options could look like on your signup page (note that this may change depending on the theme you are using).

 

1. Simple selection box. 2. Radio with descriptions. 3. Theme screenshots. 4. Theme screenshots with titles & descriptions. 5. Theme previewer.1. Simple selection box.
2. Radio with descriptions.
3. Theme screenshots.
4. Theme screenshots with titles & descriptions.
5. Theme previewer.

 

The first four selections are self-explanatory. However, the 5th one is pretty cool. You can customize the label of the “Select” button, and the “View Demo” button actually links to your template site so users can really get a feel for how their own site might look.

2. You can also select to display the Categories Toolbar if you’re going to be categorizing your templates (we’ll get to that below).

You can customize the colors of the toolbar to better fit the overall look of your site.

new-blog-templates-2100-cat-toolbar

3. The Repair Database option is there is case you are having issues with some of the plugin tables not having been created. Simply check the box and click Repair Now!

Got all that? Great, now let’s go set up some template categories!

Setting up Categories

This step is entirely optional. If you do not intend on creating a bunch of templates and separating them into categories for your users, you can skip this step.

Creating blog template categories is just like creating post categories. Simply enter the category name and optional description, then save. Done deal. :)

new-blog-templates-2100-categories

You’ll be able to select the category for each template you create. They will then display to your users on your signup page as shown in the Categories Toolbar screenshot seen above.

Creating a Blog Template

Go to Blog Templates > Blog Templates in your network admin.

At the top of that screen, you’ll see all the templates you have already created. As this is likely a new install, you won’t see anything there yet.

 

1. Give your new template a name. 2. Select the blog to use as a template. 3. Give your template a description.1. Give your new template a name.
2. Select the blog to use as a template.
3. Give your template a description.

 

Template Name is where you enter the name you want your new template to have.

The Blog ID setting enables you to select which blog to use as a template. If you know the numerical blog ID, you can enter that. Or you can simply search for the blog name, and select it from the search results that will appear as you type.

Template Description is… the description of the template. This will display on the signup page depending on the settings you had previously configured.

Once you have that basic information entered, click “Create Blog template!” at the bottom. The next screen enables you to configure all the settings for that particular template (this is the same screen that appears if you decide to edit a template later on).

 

1. Edit the template name & description if desired. 2. Select what to include in the template. 3. Block content from being edited. 4. Set meta of included posts/pages to date of blog creation. 5. Upload a screenshot. 6. Select plugin data to copy. 7. Select a template category.1. Edit the template name & description if desired.
2. Select what to include in the template.
3. Block content from being edited.
4. Set meta of included posts/pages to date of blog creation.
5. Upload a screenshot.
6. Select plugin data to copy.
7. Select a template category.

 

1. The Template Name & Description fields allow you to modify that information if you wish.

2. The What To Copy To New Blog? area is where you check off exactly what you want to include in all new blogs based on this template.

3. Check Block Posts/Pages if you want to include default content that users cannot change.

4. If Update Dates is selected, the dates of all posts/pages included in your template will be updated to the date when the blog is created. Cool huh?

5. Upload the Screenshot that you want to use for this template.

6. Check any Additional Tables that may be required by active plugins if you have selected that above.

7. Select one or more Template categories that you may have created earlier.

All done? Click “Save Template”. You should now see your new template added to your blog template list.

new-blog-templates-new

Setting up a default template

Making a template the default template is as simple as:

1. Click on Make Default next to the template you want to use as your default template

new-blog-templates-default

2. Now every newly created site will be a replicate of the default template unless an alternative template is selected.

new-blog-templates-default-created

Customizing Blog Template Selection Options On The Sign-Up Page

The look and feel of the template selector can be customized for your sign up page by copying the files from wp-content/plugins/blogtemplates/blogtemplatesfiles/template to your theme folder and editing them.

The following 4 files need to be copied to your theme folder:

  • blog_templates-registration-description.php
  • blog_templates-registration-screenshot.php
  • blog_templates-registration-screenshot_plus.php
  • blog_templates-registration.php

Using template selection in Sites > Add New

1. Go to Sites > Add New in the network admin dashboard.

2. Add the site address, site title, admin email address and select the Template from the template dropdown menu then click Add Site.

new-blog-templates-select-5

 




Was this answer helpful?

« Back