Theme Usage / How-to Quetions

Theme provide a great feature let you edit headers & footers packed with the theme as well as customize and add your own headers and footers.

From your admin page, click HTML Blocks on the left sidebar, then click to any entry to edit it.

Manage headers & footers

Now you can edit it as you wish with Visual Composer:

  • Note: If you don't see it, make sure you install and activate the plugin WPDance HTMLBlocks supplied with the theme.

Edit header with visual composer

Page Builder with Visual Composer

You can edit a page using Visual Composer with both Backend Editor and Frontend Editor mode.

To edit page with Frontend Editor, login to your admin account, then view the page on front-end, click button Edit with Visual Composer:

Edit a page with Visual Composer

You can freely edit any block contents, move blocks or add new blocks:

Edit page with Visual Composer on Frontend

If you refer to edit page in the backend, click button Backend Editor to swith standard editor to Visual Composer editor.

Click button Backend Editor

Now you can edit the page with drag & drop features of Visual Composer:

Edit a page with Visual Composer backend

Specific layout for a page, post, product, portfolio...

Theme adds extra options for any Page, Post, Product and Portfolio items, let you customize layout of every single page:

Post extra options

  • Page Layout: Let you configure layout (full width, left sidebar, right sidebar...) when viewing the single item page.
  • Image Position: Useful for post. Let you choose position to display featured image (left, right, top).
  • Hide Title: Show or Hide page title when viewing the single item page.
  • Custom Header: Let you assign a different header when viewing the single item page.
  • Custom Footer: Let you assign a different footer when viewing the single item page.

Specific layout for a category, tag, taxonomy, product category...

Theme adds extra options for Category, Taxonomy, WooCommerce taxonomy, Portfolio taxonomy and other post type taxonomy, let you customize specific layout for each archive page.

Category extra options

  • Columns: Number of items per row.
  • Layout: Let you configure layout (full width, left sidebar, right sidebar...) when viewing the single item page.
  • Image Position: Useful for post. Let you choose position to display featured image (left, right, top).
  • Masonry: Display items with masonry layout.
  • Excerpt: Show excerpt instead of content?

Make different sidebar for a specific page

  • Note: Make sure plugin WooSidebars is installed and activated.

This feature requires plugin WooSidebars, so make sure you have it installed and activated properly.

From admin page, go to Appearance > Widget Areas, click button Add New.

Custom sidebar

  1. Enter the name of new sidebar, anything you want.
  2. Select pages where the sidebar should appear.
  3. Choose the original sidebar which will be replace by this new sidebar.
  4. Finally, click Publish button.

In this example we will create a new sidebar show at the top of Shop Page, Product Categories, Product Tags. The sidebar will contain product filters widgets.

Now, let's see the new sidebar were created. Go to Appearance > Widgets, you will see the new sidebar exactly what you have created:

New sidebar created

Show horizonal product filters on top of shop page

Assume you already created the new sidebar "Product Filters" which will show up on WooCommerce pages only. This section, we will guide to show widgets like this:

Product filters widgets

Let go to Appearance > Widgets. Add these widgets below to sidebar Product Filters:

Text Widget:

Widget Text

This widget contents only show reponsive mobile screen.

  • Title: Products Filter or anything you want.
  • CSS Classes:: visible-xs-block sidebar-toggle. The class visible-xs-block makes the wigets only show on mobile size screen (See Bootstrap responsive utilities for reference). sidebar-toggle make site knowing that when click on this element, contains inside the sidebar expandable/collapsable.
  • Note: CSS Classes field only appear if plugin Widget CSS Classes is installed and activated.

WooCommerce Product Search Widget:

WooCommerce Product Search Widget

  • Title: Search or anything you want.
  • CSS Classes:: col-md-2 col-sm-6. This is Bootstrap CSS classes that allows the widget take 2 columns space on desktop screen, and 6 columns on small screen in total of 12 columns per row. In other words, The sidebar will spread 6 widgets per row on desktop screen and 2 widgets per row on small screen. See more Bootstrap Grid System for reference.

WooCommerce Layered Nav for product Size attribute:

Product Size Widget

WooCommerce Layered Nav for product Color attribute:

Product Color Widget

WooCommerce Layered Nav for product Brand attribute:

Product Brand Widget

WooCommerce Price Filter:

Product Price Widget

WooCommerce Product Categories:

Product Price Widget

Let see the your WooCommerce shop page:

Product filters widgets just added

Don't worry if it doesn't look like the demo.

Next step, let's make this page show full widget so that no right sidebar appears. Go to Pages, edit page named Shop which WooCommerce automatically created when activated the plugin:

Edit page shop

On the right sidebar, Clara Options, choose Page Layout is Full Width and save the page:

Page layout fullwidth option

Configure colors & image swatches for WooCommerce product attributes

Next step, we will configure Color and Size attributes to enable color swatches and image swatches features. Go to Appearance > Customize to open Theme Customizer:

Appearance > Customize

Click Layout > WooCommerce > enter Color to Color Attributes and Size to Image Attributes boxes, then click Save & Publish button.

Appearance > Customize

Now go to Products > Attributes to check your existing product attributes:

Sample product attributes

You will see these attributes if you import sample data products.xml.

  • Color attribute has value Black, Blue, Green. it values will transform to color name when showing on the widget.
  • Size attribute has value L, M, S, XL, XXL. Theme will look for presentative images in directory wp-content/themes/wpdanceclaratheme/images/product_attributes/pa_[attribute name]/[attribute value].png you can put your own images in this folder or Child Theme folder as well.

Image swatches directory

Now check your Shop page again:

Product filters after configured

It shows just like the demo!

You can test on responsive mode tablet and mobile as well:

Product filters on tablet screen

On mobile screen:

Product filters on mobile screen

Configure default layouts in Customizer

Go to Appearance > Customize. In Customizer, click Layout, here you can configure default layouts for any page types:

Configure default layout

  • General: Common settings for default and general pages.
  • Homepage: For Home page (Front page).
  • Post Categories: For Post Category archive pages.
  • Archive Pages: For other archive pages.
  • Tag Page: For Tag archive page.
  • Author Page: For Author archive page.
  • Single Post: For single post content page.
  • WooCommerce: For WooCommerce pages.
  • Portfolio: For Portfolio pages belong to Portfolio plugin.
  • 404 Not Found: For 404 Not Found page.

Layout options for each section include:

  • Page Title Position: Show Page Title at top position (below the navigation) or standard wordpress position.
  • Posts Pagination Type: Show post pagination bar as numbers or next/back buttons.
  • Layout: Full width, Left sidebar or Right sidebar.
  • Column: Default number of items per row.
  • Image Position: Show featured images position above post title, right of post or left of post, or both.
  • Masonry: Apply masonry layout effect.
  • Excerpt: Show full content or excerpt only on posts loop.
  • Products Per Page: Number of products per page for WooCommerce shop.
  • Products Column: Number of products per row for WooCommerce shop.
  • Color Attributes: Specify which product attributes showing as color swatches.
  • Image Attributes: Specify which product attributes showing as image swatches.
  • Portfolio Items Per Page: Number of portfolio items showing per page.
  • Static Page 404 Not Found: Specify which static page showing for 404 Not Found page.

Customize Typography and Colors

In WordPress Customizer, click on Typography & Color:

Typography & Color Settings

  • Presets: Choose Typography & Color presets builtin by the theme.
  • General:
    • Color Schema: Configure general color schema like colors, background colors, border colors.
    • Body: Typography, font, size, color for default text.
    • H1 to H6: Configure typography and colors for these elements.
    • Link: Configure typography and colors for links.
    • Button: Configure typography and colors for buttons.
    • Button: Configure typography and colors for buttons.
    • Others.
  • Header / Footer:
    • Colors: Configure color schema for header / footer section.
  • Page Heading:
    • Container: Configure background image, color of page heading container.
    • Title: Configure typography and colors of page heading title.
    • Content: Configure typography and colors of content inside page heading, like description.
  • Loop Posts: Configure typography and color for:
    • Article Title
    • Article Content
    • Article Meta
  • Single Post: Configure typography and color on single post page for:
    • Article Title
    • Article Content
    • Article Meta
  • Widgets: Configure typography and color for widgets.
    • Title
    • Content
  • Breadcrumbs: Configure typography and color for breadcrumb bar.
    • Parent Items
    • Current Item
  • Main Navigation: Configure typography and color for menus.
    • Root Level Menu
    • Sub Level Menu

Show Testimonials on a page

Testimonials Slider

To show testimonials slider on a page like this:

Testimonials Slider

In admin page, edit a page by click on menu Pages > edit a page in Visual Composer editor mode.

Click Add Element and choose Post Grid:

Choose Post Grid

Configure the post grid settings as showing below:

Configure post grid for testimonials slider

Click Save and preview the page.

Testimonials Grid

To show testimonials grid like this:

Testimonials grid

Configure the post grid settings as showing below:

Configure post grid for testimonials grid

Increase page loading speed with plugin WP-Super-Cache

Make mega menu with plugin Ubermenu

Explore theme's custom shortcodes for Visual Composer

Helpful CSS classes

Coding your own customization in Child Theme (Hack the theme)