Documentation for Spencer

ATTENTION: This documentation is about the new version of Spencer, if you are using the legacy version please visit its documentation page here.

Server Requirements

If you already have WordPress installed, it means that you meet the minimum server requirements and you can perfectly install this theme without any issues. To get the most out of your website though, you should get in touch with your web host and ask them if they meet the following criteria:

  • PHP version 7.4 or greater.
  • MySQL version 5.6 or greater OR MariaDB version 10.1 or greater.
  • HTTPS support.

Prerequisites

Ignition Framework

This theme requires our free Ignition framework plugin to be installed. Simply visit the Downloads area, download the Ignition Framework plugin, upload it through your Dashboard > Plugins > Add new and Activate it.

It really doesn’t matter if you install the theme or the plugin first. Just make sure to install both in order for things to function as intended.

Read this for more information about the plugin installation procedure.

Theme installation

Installing the theme is a very simple process. Go to your dashboard under Appearance > Themes > Add new, click Upload Theme and upload the zip file. Once uploaded click Install Now and then the Activate Theme link. Here you can find a more detailed overview on how to download and install the theme.

Once the theme is installed and activated you will be forwarded to the theme’s onboarding page.

Here you will be prompted to install and activate the Ignition Framework plugin if you haven’t done so already. Here you can also install our free custom blocks plugin, GutenBee. Through the onboarding page you have access to many useful links, such as the theme’s documentation, our knowledge base articles, direct links to our support hub and access to our theme installation service.

In the Sample Content tab of the onboarding page you can install and activate all the plugins required to import the sample content and proceed with its installation. More info on that on the next section.

How to import the sample content

If you like what you see in our demo website you can simply import the sample content. This means that a close approximation of our demo website will be imported in your WordPress installation. Now all you have to do is replace the content of these pages with yours. Importing the sample content can help serve as a basis on which you can continue to build and expand your site, however keep in mind that this procedure is entirely optional.

A generic video guide on how to import the sample content can be found here.

The procedure:

  • In your WordPress dashboard visit Appearance > Theme Options > Sample Content.
  • Click Install and then Activate for each of the required plugins.
  • Click the Get Started button and in the next screen the Import Demo Data button.
NOTE: Due to the nature of the import mechanism some links may link back to our demo website. If you are not sure how to update / change these links simply get in touch and we’ll help you out.

Image sizes

Web page loading times are greatly affected by the size of your images. For best results make sure to use images with the recommended dimensions as described below:

  • Main post thumbnail: 770x513px
  • Item: 555x755px
  • Large Item:1170x780px
  • Article Media: 510x510px
  • Mini-cart items: 160x160px
NOTE: If for any reason you want to change the dimensions of any of the predefined image sizes you have to use a plugin. This guide describes the process of modifying image sizes.
NOTE: All image sizes are the minimum recommended, adding larger image sizes will result in cropping them to fit these sizes

Setting up site-wide sections

It’s considered a good practice to set up the areas of your website that you won’t be editing a lot in the future, like the general site layout, the header, footer and some secondary functionality.

General Site Options

You can change your general site options under Appearance > Customize > Site Options. Under the Layout section you can control your site’s and blog’s layout, as well as the site width and content/sidebar column ratio. The layout can then be overridden in each post/page individually. Under the Colors tab you can select the basic color palette for your installation and add a background image. Finally under Typography you can select the ideal font pairing from a full list of Google Fonts and customize font properties for key elements on desktop and mobile devices alike. You also have the option to disable Google Fonts altogether.

The theme’s header can be split into three distinct sections:

1. Top Bar
2. Logo
3. Main Menu

Top Bar

To edit the top bar go to Customize > Top Bar. Here you can toggle the top bar entirely and fill the 3 content areas with plain text, HTML, or shortcodes. Refer to the shortcodes section below for information regarding the shortcodes. Here you can also customize the color scheme of the top bar, especially useful if you are using the normal header layout.

On the theme’s demo we have a phone number in the left content column:

<a href="tel:+0123456789">+0123456789</a>

and on the right one we have a custom menu for social icons, a language switcher (you will need to have WPML or Polylang enabled and configured for the switcher to work) and a mini-cart button shortcode:

[ignition-custom-menu name="Social Menu"][ignition-language-switcher][ignition-minicart-button]

Logo

The recommended maximum logo size 116x23px. To upload your logo go to Customize > Site Identity. You can upload two logos. The main and the alternative one. The alternative logo can be used if you want a different logo to appear when the header layout is set to Transparent under Customize > Header > Layout. In the theme’s demo we don’t use any logos.

Follow the link for more information regarding the header and its options.

Main Menu

Start here if you are not familiar with WordPress menus.

Navigate to Customize > Menus. Enter a menu name (It can be anything you like) and click on the Create Menu button. In the next page click the Add Items button and start adding items to the menu. Now all you have to do is assign this menu to a location through the Menu Locations section, check the Main menu location and you are done. Your navigation menu should be now visible on your website.

Create a menu button

You can create a special button-like menu item by setting a certain class for to it. The class name is nav-button and you can set it under Appearance > Menus for the item you want. First enable this section from Screen Options.

Menu bar search

To add search functionality (or any other shortcode) next to the main menu, navigate to Appearance > Header > Content and add the following shortcode in the content box:

[ignition-site-search]

The page title section

This section allows you to create an area just below the menu which can display the page’s title & subtitle along with a background image or color.

While Spencer does have this section globally disabled, you can set a common background image for every page on your website under Customize > Page title. You can also change the section’s height, alignment, content and toggle the site’s breadcrumbs. Under the Colors section you can set a background color, a background image, an overlay color and also set the primary and the secondary text colors.

In some cases, you might want to have different background images on different posts, pages and custom post types.

To achieve that create or edit a page. On the right sidebar locate the Page title image field. Upload a new image and preview this page. This will override the image set in the Customizer settings.

NOTE: The purpose of the Transparent header option is to have your main header components (Top bar, Logo & Main Menu) on top of a background image or background color which means that you have to set on in the Customize > Page title > Color section.

The footer area is a standard 4-column widgetized area that can be populated with widgets through Customize > Widgets. You can also adjust the colors by setting a background color & image and modify the border, title and text colors.

In the content section you can replace the existing copyright information with yours or use any of the shortcodes included in the Ignition Framework.

Utilities

Lightbox

The theme offers a lightbox for your images which is by default disabled to avoid conflicts with third party plugins which offer lightboxes. If you want to use it you can enable it under Customize > Utilities > Lightbox.

Weather

You can choose to show the weather for a chosen location using the weather shortcode anywhere inside your installation. First you will need to set it up by providing an API key and location under Customize > Utilities > Weather.

Block editor Dark Mode

Some themes might have a dark color scheme which is reflected in the block editor, this can make working with certain blocks a bit harder. Enabling the editor dark mode using the provided checkbox will apply certain styles to the editor in order to improve the content creation experience.

Setting up the pages

NOTE: All blocks used in the construction of the pages below are provided by the GutenBee plugin unless mentioned otherwise.

Homepage

Start by creating the page and apply to it the default template. Under Page Settings set the normal page title, subtitle and breadcrumbs to hide.

The homepage hero section, the newsletter subscription bar and the popular guides section are parts of a global section, to recreate that navigate to Global Sections > Add New.

The section’s content starts with a fully aligned Container block with the theme grid enabled, its height set to 750px, bottom vertical and left horizontal content alignment. Under block appearance we have a light background overlay and a background image applied, additionally we have 140px top/bottom padding. Inside the Container we have a single column with a Heading, a Paragraph and a Button block.

The newsletter subscription section consists of another fully aligned Container block with the theme grid enabled, middle vertical content alignment, a background color and 30px top/bottom padding. Inside we have two columns, the left one contains a Heading and a Paragraph, the right one contains a Core Shortcode containing a shortcode from the Contact Form 7 plugin.

Finally the popular guides section starts with another fully aligned Container with the theme grid enabled. Inside we have a single column with a Heading, a Paragraph and a Post Types block displaying three posts in a three column layout.

Now that the global section’s content is taken care of set it to appear in the Before main location and under inclusions pick the home page we’ve created earlier.

Publish the global section and we’re half way there with the homepage.

Go back and edit the home page, so we can add its content.

The content of the homepage is constructed with just three blocks. First we have a Post Types block with the alternative style applied displaying 1 post in a single column layout. Then we have a 50px spacer block and then another Post Types block again with the alternative style applied. This time the block displays 6 posts, has the offset set to 1 (in order for it not to show the post shown by the previously added Post Types block) and the number of columns set to 2.

Selecting the default page template means your homepage will display any widgets placed in the Pages sidebar. You can edit these under Customize > Widgets. On the theme’s demo we have a text widget with some HTML code which displays some basic information about you. This HTML code looks like this:

<p><img src="https://www.cssigniter.com/demos/spencer/wp-content/uploads/sites/16/2021/03/about.jpg" alt="" /></p>

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean sit amet scelerisque tellus. Integer in dolor lacinia, vestibulum justo nec, faucibus ipsum. Pellentesque a rhoncus urna, a pellentesque dolor. Nullam dapibus tellus eu orci congue molestie.</p>

<p>XoXo<br/>
<img src="https://www.cssigniter.com/demos/spencer/wp-content/uploads/sites/16/2021/03/signature_personal1.png" /></p>

Then you can add a search widget, followed by a categories widget and a text widget that renders your social icons using this shortcode:

[ignition-custom-menu name="Social Menu"]

Learn how to create this menu.

Blog

This is you main blog page. You can create a new page and set it as your posts page under Customize > Homepage Options. You can customize it under Customize > Blog from the Archives section.

Courses

Start by creating the page and apply to it the Full width boxed template. Under Page Settings set the normal page title, subtitle and breadcrumbs to hide. Then proceed to the content.

The content starts with a Container block with three columns, their widths are set to 45/10/45 respectively. The first column contains a Heading, a Paragraph and a Button, the middle is intentionally left blank to create some visual spacing and the right one contains a Core Image block. After the section we have a 50px spacer block.

The next section consists of another Container block with a background color set and a 30px padding. Inside we find three columns, each one containing an Icon, a Heading and a Core Paragraph block. After the section we have a 50px spacer block.

The next section starts with a Post Types block with the default style applied displaying three posts in a three column layout. After the section we have a 50px spacer block.

Finally we have a Container block with a background color set and a 30px padding. Inside we have two columns. The left one contains a Heading, a Paragraph and a Button. The right one contains a Core Image block.

Contact

Create a new Page under Pages > Add New. Leave the Default template selected under Page Attributes and set Show Normal Page Title and Show Normal Page Subtitle to hide. Add a Heading and a Paragraph block with your content and a Contact Form 7 block to display the form.

Spencer’s Global Section

Spencer features a Global Section for the newsletter subscription that appears before the footer site-wide with the exception of the Contact, Cart & Checkout pages. Create a new global section under Global Sections > Add New and proceed to the content.

The content consists of a Container block with the theme grid enabled, middle vertical content alignment, a background color and 30px top/bottom padding. Inside we have two columns, the left one contains a Heading and a Paragraph, the right one contains a Core Shortcode containing a shortcode from the Contact Form 7 plugin.

Under the Global Section Settings metabox, in the Conditions tab we have configured where we want the global section to appear.

Common Features

This section offers information on features common on all Ignition Framework based themes.

Shortcodes

The Ignition Framework offers a multitude of custom shortcodes these are:

  • Custom menu: [ignition-custom-menu name=”your menu name”]
  • Site search: [ignition-site-search]
  • Date: [ignition-date]
  • Weather: [ignition-current-weather id=”your-location-id(optional)”]
  • Minicart button: [ignition-minicart-button]
  • Language switcher: [ignition-language-switcher]
  • Icon link: [ignition-icon-link]
  • Instagram Feed: [ignition-instagram-feed]
  • WooCommerce search: [ignition-wc-search]

For more information have a look at this knowledgebase article about shortcodes and their usage.

Page options

All themes offer six different templates which modify the location and appearance of the sidebar and the main content’s width.

Additionally pages have a common set of options which allow you to customize the appearance of the page title section, toggle breadcrumbs and more.

All settings are inherited from Customizer. So you can actually set some global settings and if you wish change certain pages to have different behavior.

Read the following article for a detailed explanation of the available templates and their options.

WooCommerce

Ignition Framework based themes are compatible with WooCommerce giving you the ability to create awesome online stores which perfectly match the appearance of the rest of your site.

WooCommerce is an optional plugin. You don’t need to install it if you are not looking to build an online store.

After activating WooCommerce it will create and set some default pages. These will serve as your Shop, Cart, Checkout and My Account pages.

The framework offers various customization options both for the main product listing page under Customize > WooCommerce > Product Catalog and for single products under Customize > WooCommerce > Single Products.

Learn more about the WooCommerce integration and the options offered here.

Global Sections

With the Global Sections custom post type included in all Ignition Framework based themes users can create content which can be easily reused in more than 15 key theme locations. For example users can create a newsletter subscription call to action box and immediately display it above the footer on all (or some) posts and pages, or create a banner ad an easily add it between posts in post listings etc.

Check out our knowledge base article for more information about Global Sections.

Blog page

This is you main blog page. You can create a new page and set it as your posts page under Customize > Homepage Options. You can customize it under Customize > Blog from the Archives section.

Widget areas

The theme provides special widget areas for your posts listings, pages and shop. You can use a plugin/module like Jetpack’s widget visibility to hide or show widgets for certain pages, posts or products.

Page builder support

Ignition Framework based themes work seamlessly with popular page builders like Elementor, Divi, Beaver builder and more to cater to the needs of those who like to build things visually.

Support

If you need help during the initial installation and setup of this theme feel free to get in touch and we will get back to you within 24 hours to help.

Theme installation service

If time is of essence, we offer a theme installation fee for an one-off low fee of $69. Contact us here

Summer Sale! Use the coupon code SUMMER30 and save 30% OFF! Buy Now