Themler theme contains a number of templates:

wordpress-templates.png

Each template is independent and is used for a specific CMS content type (Post, Page, Posts/Category Page, etc).
This allows to create unique design for some website pages without creating additional themes.

As templates in Themler theme are independent, in order to show some control, for example Horizontal Menu, on all website pages, you should add it to all templates.
The following article about sharing controls between templates describes how to share controls.

Note: The templates are always enabled and automatically assigned to specific types of CMS content. They can't be removed or disabled. When creating a theme you should configure all templates.

Home template is automatically applied to the website Front page. In Themler it is possible to create individual styling and layout for the Home page and it won't be applied to any other page.

In WordPress theme the Home Template is automatically applied to the Front Page specified under the WordPress Settings >> Reading:

The Front Page can be a list of Latest Posts or a Static Page.

In WordPress theme the Page Template is automatically applied to the WordPress Page view.

To create a page in WordPress please follow these steps:

  • Go to the WordPress Admin Panel.
  • Hover over the Pages tab and select Add new.
  • Add Page Title, Content and press "Publish".

In WordPress theme the Blog Template is automatically applied to the Posts Page (see the screenshot below).

Blog Layouts

The number of columns to show posts (for each responsive mode) can be customized under Themler >> Blog Template >> choose Posts control >> Layout menu:

In WordPress theme the Post Template is automatically applied to WordPress single Post view.

To create a post in WordPress please follow these steps:

  • Go to the WordPress Admin Panel.
  • Hover over the Posts tab and select Add new.
  • Add Post Title, Content, choose Category and press "Publish".

The 404 Template is responsible for showing the error response sent by the CMS. A site visitor will see it when trying to access a broken or non-existing link.

The template should contain the Text 404 control that displays WordPress default error message.

The 404 Text can be adjusted manually in the theme functions.php file:

Note:The WP translation function (THEME_NS) is applied to the 404 Text. It means that this Text will be translated. If you edit 404 Text you should also edit translation files usually available in the /languages folder. Otherwise the 404 Text will not be translated.

The Default Template is used for Category, Archive and Tags pages. It is also applied to all other templates created by third-party plug-ins.

The Products Template replaces e-commerce templates for WooCommerce when it's disabled or not installed.

You see this template in two cases:

  1. You are working in Themler Cloud and have chosen a theme without WooCommerce.

    To enable WooCommerce Page Template please access WordPress Admin Panel and enable WooCommerce plugin under WP Plugins >> Installed Plugins.

  2. You are working in your local/hosted CMS or Themler Desktop and you do not have WooCommerce plugin installed.

To install and activate WooCommerce please use one of available installation options:

  • Automatic Installation:

    1. To do an automatic installation of WooCommerce log in to your WordPress Admin Panel and go to: Plugins >> Add New.
    2. In the search field type "WooCommerce" and click "Search Plugins".

    3. Once you have found the plugin click "Install Now" to install the plugin.

    4. After clicking that link you will be asked if you are sure you want to install the plugin.
    5. Click "yes" and WordPress will automatically complete the installation.
    6. Once the installation is complete, activate the plugin by clicking on the "Activate Plugin" link.

  • Manual Installation:
    1. Download the plugin to your computer.
    2. Go to the WordPress Admin Panel >> Plugins >> Add New >> Upload >> click "Browse..." and choose the file. Then click "Install Now".

      Once the installation is complete, activate the plugin by clicking on the "Activate Plugin" link.

  • As alternate you can install WooCommerce plugin by uploading it to your webserver via your favourite FTP application.

    For this upload the unzipped plugin folder to your WordPress installation's wp-content/plugins directory.

    After you have installed the plugin you can activate it under WordPress Plugins >> Installed Plugins.

See Also

How To Create And Use Custom Templates
How to Share Controls between Different Templates

Themler theme contains a number of templates: !wordpress-templates.png! Each template is independent and is used for a specific CMS content type (Post, Page, Posts/Category Page, etc). This allows to create unique design for some website pages without creating additional themes. As templates in Themler theme are independent, in order to show some control, for example Horizontal Menu, on all website pages, you should add it to all templates. The following [article about sharing controls between templates](page:4783) describes how to share controls. **Note:** The templates are always enabled and automatically assigned to specific types of CMS content. They can't be removed or disabled. When creating a theme you should configure all templates. <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="home_template_heading"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#home_template" aria-expanded="false" aria-controls="home_template"> Home Template </a> </h4> </div> <div id="home_template" class="panel-collapse collapse" role="tabpanel" aria-labelledby="home_template_heading"> <div class="panel-body"> <b>Home template</b> is automatically applied to the website Front page. In Themler it is possible to create individual styling and layout for the Home page and it won't be applied to any other page. <p>In WordPress theme the <b>Home Template</b> is automatically applied to the Front Page specified under the WordPress Settings >> Reading:</p> <p><img src="http://attachments.answers.billiondigital.com/208/6208/wp-settings.png"></p> <p>The Front Page can be a list of <b>Latest Posts</b> or a <b>Static Page</b>.</p> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="page_template_heading"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#page_template" aria-expanded="false" aria-controls="page_template"> Page Template </a> </h4> </div> <div id="page_template" class="panel-collapse collapse" role="tabpanel" aria-labelledby="page_template_heading"> <div class="panel-body"> <p>In WordPress theme the <b>Page Template</b> is automatically applied to the WordPress Page view.</p> <p> To create a page in WordPress please follow these steps: </p> <ul> <li>Go to the WordPress Admin Panel.</li> <li>Hover over the <b>Pages</b> tab and select <b>Add new</b>.</li> <li>Add Page Title, Content and press <b>"Publish"</b>.</li> </ul> <p><img src="http://attachments.answers.billiondigital.com/209/6209/wp-add-page.png"></p> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="blog_template_heading"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#blog_template" aria-expanded="false" aria-controls="blog_template"> Blog Template </a> </h4> </div> <div id="blog_template" class="panel-collapse collapse" role="tabpanel" aria-labelledby="blog_template_heading"> <div class="panel-body"> <p>In WordPress theme the <b>Blog Template</b> is automatically applied to the <b>Posts Page</b> (see the screenshot below).</p> <p><img src="http://attachments.answers.billiondigital.com/222/6222/wp-settings-posts-page.png"></p> <h4>Blog Layouts</h4> <p>The number of columns to show posts (for each responsive mode) can be customized under Themler >> Blog Template >> choose <b>Posts</b> control >> Layout menu:</p> <p><img src="http://attachments.answers.billiondigital.com/851/11851/wp-posts-layout.png"></p> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="post_template_heading"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#post_template" aria-expanded="false" aria-controls="post_template"> Post Template </a> </h4> </div> <div id="post_template" class="panel-collapse collapse" role="tabpanel" aria-labelledby="post_template_heading"> <div class="panel-body"> <p>In WordPress theme the <b>Post Template</b> is automatically applied to WordPress single Post view.</p> <p> To create a post in WordPress please follow these steps: </p> <ul> <li>Go to the WordPress Admin Panel.</li> <li>Hover over the <b>Posts</b> tab and select <b>Add new</b>.</li> <li>Add Post Title, Content, choose Category and press <b>"Publish"</b>.</li> </ul> <p><img src="http://attachments.answers.billiondigital.com/220/6220/wp-add-post.png"></p> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="404_template_heading"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#404_template" aria-expanded="false" aria-controls="404_template"> 404 Template </a> </h4> </div> <div id="404_template" class="panel-collapse collapse" role="tabpanel" aria-labelledby="404_template_heading"> <div class="panel-body"> <p>The <b>404 Template</b> is responsible for showing the error response sent by the CMS. A site visitor will see it when trying to access a broken or non-existing link.</p> <p>The template should contain the <a href="http://answers.themler.com/articles/5088/text-404">Text 404 control</a> that displays WordPress default error message.</p> <p>The 404 Text can be adjusted manually in the theme <tt>functions.php</tt> file:</p> <p><img src="http://attachments.answers.billiondigital.com/219/6219/404-text.png"></p> <p><b>Note:</b>The WP translation function (THEME_NS) is applied to the 404 Text. It means that this Text will be translated. If you edit 404 Text you should also edit translation files usually available in the <tt>/languages</tt> folder. Otherwise the 404 Text will not be translated.</p> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="default_template_heading"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#default_template" aria-expanded="false" aria-controls="default_template"> Default Template </a> </h4> </div> <div id="default_template" class="panel-collapse collapse" role="tabpanel" aria-labelledby="default_template_heading"> <div class="panel-body"> <p>The <b>Default Template</b> is used for Category, Archive and Tags pages. It is also applied to all other templates created by third-party plug-ins.</p> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="products_template_heading"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#products_template" aria-expanded="false" aria-controls="products_template"> Products Template </a> </h4> </div> <div id="products_template" class="panel-collapse collapse" role="tabpanel" aria-labelledby="products_template_heading"> <div class="panel-body"> <p>The <b>Products Template</b> replaces e-commerce templates for WooCommerce when it's disabled or not installed. </p> <p>You see this template in two cases:</p> <ol> <li><p>You are working in Themler Cloud and have chosen a theme without WooCommerce.</p> <p>To enable WooCommerce Page Template please access <b>WordPress Admin Panel</b> and enable <b>WooCommerce plugin</b> under <b>WP Plugins &gt;&gt; Installed Plugins</b>.</p></li> <li>You are working in your local/hosted CMS or Themler Desktop and you do not have WooCommerce plugin installed.</li> </ol> <p>To install and activate WooCommerce please use one of available installation options:</p> <ul> <li><p><b>Automatic Installation:</b></p> <ol> <li>To do an automatic installation of WooCommerce log in to your <b>WordPress Admin Panel</b> and go to: <b>Plugins &gt;&gt; Add New</b>.</li> <li>In the search field type <i>"WooCommerce"</i> and click "Search Plugins". <p><img src="http://attachments.answers.billiondigital.com/224/6224/woo-install-1.png" alt=""></p> </li> <li>Once you have found the plugin click "Install Now" to install the plugin. <p><img src="http://attachments.answers.billiondigital.com/225/6225/woo-install-2.png" alt=""></p> </li> <li>After clicking that link you will be asked if you are sure you want to install the plugin. </li> <li>Click <b>"yes"</b> and WordPress will automatically complete the installation. </li> <li>Once the installation is complete, activate the plugin by clicking on the "Activate Plugin" link. <p><img src="http://attachments.answers.billiondigital.com/226/6226/woo-install-3.png" alt=""></p> </li> </ol> </li> <li><b>Manual Installation:</b> <ol> <li> <a href="http://wordpress.org/plugins/woocommerce/">Download the plugin</a> to your computer.</li> <li><p>Go to the <b>WordPress Admin Panel &gt;&gt; Plugins &gt;&gt; Add New &gt;&gt; Upload &gt;&gt;</b> click "Browse..." and choose the file. Then click "Install Now".</p> <img src="http://attachments.answers.billiondigital.com/227/6227/woo-install-4.png" alt=""> <p>Once the installation is complete, activate the plugin by clicking on the "Activate Plugin" link.</p> </li> </ol> </li> <li><p>As alternate you can install WooCommerce plugin by uploading it to your webserver via your favourite <b>FTP</b> application.</p> <p>For this upload the unzipped plugin folder to your WordPress installation's <i>wp-content/plugins</i> directory.</p> <p>After you have installed the plugin you can activate it under <b>WordPress Plugins &gt;&gt; Installed Plugins</b>.</p> </li> </ul> </div> </div> </div> </div> ### See Also [How To Create And Use Custom Templates](page:9466) [How to Share Controls between Different Templates](page:4783)