Gratia

Theme Documentation

Hello there...

Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to contact me via Support page. Thanks so much!

By: Dannci & Themnific | Support*

* Please note, that theme support does not include:

  • Customization and installation services
  • Support for third party software and plug-ins

 

Theme Instalation

Installation via WP Dashboard:
  1. Unzip/extract the main (downloaded) theme package – to get thegratia.zip file,
  2. Go to Appearance >Themes,
  3. click on “Add New” > and “Upload theme”,
  4. click on the‘Browse’ button, find thegratia.zip file on your computer and press 'Install Now',
  5. Activate theme,
  6. Go to Appearance > Install Plugins after theme activation and install and activate the Redux Framework plugin!
  7. Refresh the page and the 'Gratia - admin panel' button will appear;
  8. Go to the Gratia - admin panel (theme options) and setup the theme.

 

Installation via FTP:
  1. Unzip/extract the main (downloaded) theme package / twice / to get the theme folder ‘gratia’,
  2. Using an FTP client (e.g. Filezilla) upload 'gratia' folder into the'themes' folder in your WordPress installation ( YOUR_HOSTING_ROOT/YOUR_SUBDIRECTORY/wp-content/themes/ ),
  3. Go to Appearance >Themes, find Gratia theme and activate the theme,
  4. Go to Appearance > Install Plugins after theme activation and install and activate the Redux Framework plugin!
  5. Refresh the page and the 'Gratia - admin panel' button will appear;
  6. Go to the Gratia - admin panel (theme options) and setup the theme.

 

You have to install and activate the required plugins (Redux, Elementor, and Sermon Addons). You can do this by visiting Appearance » Install Plugins inside the wp dashboard.

Required Plugins

The following message may be visible after the theme activation:

img

Go to Appearance » Install Plugins and install and activate following plugins:

  1. Redux Framework, it is not necessary to install and activate the 'Extendify' library after the 'Redux' plugin activation.
  2. Elementor: feel free to skip the whole setup process after the activation. But, go to Elementor > Settings and make the following basic setup of the plugin:
    Save changes and that's it. You can edit any page in the page builder later.
  3. Sermon Addons

Default Setup

1. After the theme activation go to Appearance > Install Plugins, and install and activate Redux Framework plugin!

2. Then go to the Gratia - admin panel

img

and hit "Save Changes" button to set default style settings:

img

You can change styling options later.

 

2. Following (or similar) message may be visible after theme activation:

img

Click on 'Begin activating plugins' link and install and activate 'Redux Framework' (if not installed yet), Elementor and 'Sermon Addons' plugins. Or you can do this by visiting Appearance » Install Plugins

 

4. IMPORTANT! It is possible that after theme activation are images wrongly cropped and look ugly! In this case use following plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/ to regenerate old thumbnails (from previous theme).
After plugin installation, start regeneration in Tools > Regen. Thumbnails. This process can take a while and you cannot close tab/window until regeneration is done.

 

 

 

Homepage Setup

  1. In 'Pages' section create new page > name it 'Home'
  2. Select 'Elementor Full Width' template for this page and publish the page:
    img
  3. Go to Settings > Reading and created 'Home' page set as Static page > Front page,
    img
  4. An empty homepage is created now! In the next steps, we'll create homepage content using 'Elementor' page builder.

 

 

Elementor

Important!

I recommend creating a few classic blog posts and 'Sermon posts' before you start creating templates in Elementor. Set 'featured images' for all your posts.

  1. Go to Pages section and edit 'Home' page, which we have created in previous steps:
    img
  2. Make sure that the 'Elementor Full Width' template is selected for this page (a.), then hit the'Edit with Elementor' button (b.):
    img

Adding Main Slider

  1. The Sermon Addons plugin have to be installed! Create a few 'Slider' posts in left dashboard menu. (Slider posts types are similar / work similar to classic posts. Set post title, add slide content and set featured image for every slider post. One 'slider' post represents one slide in the slider. See more )
  2. In 'Elementor edit mode' hit on 'Add new section' button and add select 'one column' setion:
    img
    img
  3. Hover over the section and click on 2nd blue icon to edit section (a.) In left section select 'Full Width' and 'No Gap' options (b.)
    img
  4. Then just click + sign and drag 'Themnific: Main Slider' block into setion.
    img
  5. Edit Themnific: Main Slider options in the left options bar and "Slider placeholder" will appear after save. On live homepage will be displayed fully functional slider.
    img

Adding Hero image

 

  1. Add new section and add two column layout:
    img
    img
  2. Hover over the section and click on 2nd blue icon to edit section:
    img
  3. Switch to the Style tab (a.) and add background image, gradient, bg video or slideshow (b.).
    img
    img
  4. Then just click on + sign in the left column and drag; e.g. Heading block into it.
    img.
  5. Click on heading; and in Content / Style / Advanced tabs customize the appearance (size, text colors, font style, padding etc.).
    img
    img
  6. After all these, adjust overall padding (spacing) of the 'hero' section.
    a. edit section ,
    b. switch to the Advanced tab,
    c. adjust top and bottom padding of the section.
    img

 

Adding Columns

  1. In 'Elementor edit mode' hit on 'Add new section' button and select e.g. 'two columns' section:
    img
    img
  2. Using Drag&Drop resize columns to e.g. 68% (for wide column) and 32% (for narrow column) /a./ and select "boxed width" with '1250px' limitation and 'Wider' gaps /b./:
    img
  3. Click on the + sign in wide column and then drag blocks from the left menu; e.g. add 'Themnific: Blog (for Homepage) block to this wide column:
    img
  4. Adjust 'Number of posts' parameter , select layout (number of columns) and optionally select 'featured category' in left panel.
  5. Click on the + sign in the narrow column, then drag Sidebar block from the left menu into it.
    img
  6. Choose 'Sidebar' section which you can setup in Appearance > Widgets
    img

Important

  1. Adjust padding for responsive mode!
  2. Select the column (a.)
  3. Click on small 'Desktop' icon in the Advanced tab (b.); 'Tablet' and 'Mobile' icons will appear.
    Then click on 'Tablet' and 'Mobile' icon and check your layout on small screens. If necessary, adjust padding/margin values for the responsive mode.

    img
    img

 

 

Blog Template

  1. If you want to create News (or Blog) page, create empty page (Default template),
  2. name it News (or Blog),
  3. go to Settings > Reading and set this page as 'Post page',
  4. adjust number of posts.
    img

 

 

Theme Setup - Admin panel

img

Theme comes with extensive options panel with functions divided to these sections:

img

General Settings:
  1. Upload your Main logo image,
  2. Select blog layout,
  3. Type blog/news label,
  4. Enable/disable 'Uppercase' fonts.

img

 

Primary styling:
  1. Select font family (with color, style and width) for main body text,
  2. Choose colors for typographic elements: body, wrapper, containers (ghost color), text/links, hover, borders etc.

img

 

Header Styling & Settings:
  1. Setup color scheme (background, font, links and border colors) for header,
  2. Set other colors for header elements (sub-menus etc.),
  3. Set custom margins and width limitation for logo image.

img

 

Footer Styling:
  1. Setup footer logo and footer text.
  2. Select color scheme for footer (footer background, text, links, hover, borders etc.)

img

 

Other Styling:
  1. Set font styling for 'Meta' sections (date, category etc. post information)
  2. Choose background color for elements (buttons, lines etc.),
  3. Select text/link color for elements (buttons, lines etc.),
  4. Set color scheme for image backgrounds.

img

 

 

Headings Typography:
  1. Select Font-family for all headings (h1- h6) and 'post titles',
  2. Select font weight for all headings (h1- h6) and 'post titles',
  3. Select Font-size for all headings (h1- h6) and 'post titles',
  4. Select font color for all headings (h1- h6) and 'post titles',

img

 

Post Settings:
  1. Turn On/Off partial post sections.

img

Social Networks Settings:
  1. Enable "Social Networks" section,
  2. Enter the full URL of social network, your profile or account (enter full URL: http:// or https:// including).

img

 

 

If you are finished click on "Save changes" button!

 

 

 

Custom Posts

 

Sermons posts

Gratia theme (+ installed Sermon Addons plugin) comes with 'Sermons' custom post.

img

You can access and create Sermons posts in main dashboard menu:

img

 

Sermons posts work similarly to classic posts. You can add sermon content (headings, image, texts, button shortcodes etc.), set 'featured image' and sort/list these posts into own categories.

img

 

Display of the slider is very simple: in Elementor use 'Themnific: Sermons' widget in the 'boxed' one column section.

 

Slider posts

Gratia theme (+ installed Sermon Addons plugin) comes with 'Slider' custom posts. Purpose is to create simple image slider:

img

You can access and create Slider posts in main dashboard menu:

img

One 'Slider post' represents one slide in the slider.

Slider posts are similar / work similar to the classic posts. You can add slide content (headings, image, texts, button shortcodes etc.), set 'featured image' and sort/list these posts into own categories.

img

 

Display of the slider is very simple: in Elementor page builder add 'Themnific: Main Slider' widget in the 'full-width column'.

Custom Templates

 

  1. Create a page (or post).
  2. In the right side section select custom template ('Sermons', 'Donations', 'No Sidebar Layout', 'Right Sidebar Layout' etc.)
    img
  3. Click the Publish button to publish your page/post.

Note: The page becomes an archive when you select the 'Donations' or 'Sermons' template for it. Archives cannot be edited in any editor (Gutenberg, Elementor).

Archives are automatically generated pages and their layout and design in coded directly using PHP and CSS. An archive page in WordPress enables you to easily steer readers through your previously published custom posts (sermons, donations).

 

Custom Widgets

Theme comes with few custom widgets (marked as Themnific).

Go to Appearance > Widgets and setup your sidebar and footer widget areas. Widgets are very easy to setup.

Following widgets are used in theme demo (we are using 'Classic Widgets' plugin to achieve this look: https://wordpress.org/plugins/classic-widgets/):

img

In theme demo may be used custom widgets which come with 3dr party plugins (Top 10, Donations, Newsletter etc.).
Please see 'Plugins' chapter for more info about these plugins.

 

 

Images

IMPORTANT! It is possible that after theme activation are images wrongly cropped and look ugly!

In this case, use this plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/ to regenerate old thumbnails from the previous theme.
After the plugin installation: start regeneration in Tools > Regen. Thumbnails This process can take a while and you cannot close tab/window until regeneration is done.

Images and thumbnails are generated automatically.

To display thumbnails correctly upload images via WP interface using the "Set featured image" button.

 

Featured Images - Minimal Sizes
  1. Main Slider section: 1920x900px;
  2. Single post (as "Header backgorund"): 1920x900px;
  3. Blog, Sermons, Donations templates: 391px of width

 

 

Custom Menu :

 

! Create own custom menus first! Please see following tutorial !

 

Colored Menu Item (on the right)

1. Toggle 'Screen Options' on the top of the menu screen:

2. Enable 'CSS Classes' and 'Desription' option:

3. Toggle any menu item and type special word into 'CSS Classes' field

 

Menu Icons

 

1. Before (or after) menu label add this piece of code

<i class="fas XXX"></i>

Enter full icon code - 'fa' class is required.

2. For XXX you can set any icon name. You can find all icon names on Font Awesome homepage.

 

Plugins

 

Elementor

Elementor plugin will help you create awesome layouts for your pages.

Go to Appearance » Install Plugins inside wp dashboard and install and activate Elementor plugin.

Basic setup of this plugin is very easy; go to Elementor > Settings and disable default color and fonts:

Save changes and that's it. You can edit any page in the page builder now.

 

 

Events Manager

Plugin page: Plugin Homepage

Into search field (in Plugins > Add New) insert 'Events Manager' and Install this plugin.

Events manager plugin is very complex and I recommend to check plugin documetation carefully! Please go through 'Getting Started Guide' to learn how to work with the plugin.

Theme related plugin settings:

a) In Events > Setting > Pages select 'Without Sidebar Layout' template for Event and Location pages

b) In Events > Setting > Pages in 'Event List/Archives' section select which page will be used as an events page:

c) In Events > Setting > Formating enable Super Advanced Mode:

and after that paste the following code into 'Default event list format header' field:

<div class="tmnf_events_list" >

and this code into 'Default event list format' field:

<div class="event_item tmnf_border">
<div class="evnt_thumb">#_EVENTIMAGE{220,140}</div>
<p class="evnt_date"><span class="ribbon">#_EVENTDATES</span><span>#_EVENTTIMES</span></p>
<h3><a href="#_EVENTURL">#_EVENTNAME</a></h3>
#_EVENTEXCERPT
</div>

!!! don't forget to close the div markup in the 'Default event list format footer'

</div>

 

d) In Events > Setting > Formating > Single Event Page paste following code into 'Single event page format' field:

<div class="event_header tmnf_border">
<p class="sixcol">
<i class="far fa-clock"></i>
<em>Event Date:</em><br/><strong>#_EVENTDATES</strong> at <strong>#_EVENTTIMES</strong></p>
{has_location}
<p class="sixcol">
<i class="fas fa-map-marker-alt"></i>
<em>Location:</em><br/>
<strong>#_LOCATIONNAME,</strong> <br/>#_LOCATIONADDRESS, <br/>#_LOCATIONTOWN
</p>
{/has_location}
</div>
<br style="clear:both" />
#_EVENTNOTES
{has_bookings}
<h4>Bookings</h4>
#_BOOKINGFORM
{/has_bookings}

 

For the date use M d, Y as a format. If you remove , Y the date will be shown without the year.

 

 

 

MailChimp for WordPress

You can easily create newsletter subscribe form with 'MailChimp for WordPress' Plugin: Plugin Homepage

Into search field (in Plugins > Add New) paste MailChimp for WordPress and Install this plugin

Plugin can be set in MailChimp for WP section:

In demo is used subscribe form with following markup: https://pastebin.com/FR9zipnB

 

 

Recent Tweets Widget

Theme is compatible with Recent Tweets Widget plugin. Plugin is used in demo site.

In search field (Plugins > Add New) insert 'Recent Tweets Widget' and Install plugin.

Plugin widget can be set in Appearance > Widegts:

Note!: You need to get "consumer and secret" codes for Recent Tweets Widget:

  1. Go to https://dev.twitter.com/apps/new and log in, if necessary
  2. Enter your Application Name, Description and your website address. You can leave the callback URL empty.
  3. Accept the TOS, and solve the CAPTCHA.
  4. Submit the form by clicking the Create your Twitter Application
  5. Copy the consumer key (API key) and consumer secret from the screen into widget fields

 

 

AddToAny Share Buttons

Plugin page: Plugin Homepage

Into search field (in Plugins > Add New) insert 'AddToAny Share Buttons' and Install this plugin.

Plugin can be set in Settings > AddToAny:

Theme is compatible with Simple Share Buttons Adder too.

 

 

Contact Form 7

Plugin page: Plugin Homepage

Into search field (in Plugins > Add New) insert 'Contact Form 7' and Install this plugin

You can create own contact form(s) in main wp menu > Contact.

You can display created 'contact form' on any page using shortcode.

On demo page is used contact form with following markup: https://pastebin.com/a0Hcywkd

Please read plugin documentation for more info about this very flexible plugin.

 

 

 

 

Demo Import (XML file)

 

Make sure that Gratia theme, Elementor and Sermon Addons plugins are installed and activated before demo import.

If you want to import whole content (events, donations) activate Events Manager, Give & MailChimp plugin too! (All required and recommended plugins)

 

One Click Demo Import

Install and activate 'One Click Demo Import' plugin.

After that import full demo content easily in Appearance > Import Demo Data. img

Just hit the 'Import Demo Data' button and wait until import is done (it can take few moments).

 

Elementor templates

If you don't want to import whole demo content you can import just elementor templates (e.g. layout of the homepage) using .json file.

.json files are located in main theme package, in 'Spec' folder. Extract .json files to you computer.

img

Extract .json files to you computer.

Import template in Templates section > click on 'Import Templates' button:

img

Find .json file on your computer and import Elementor template.

After that, the template will be available in the 'My Templates' section and you can insert the template into the page you are editing.

img

Hit the 'Don't Apply' option in the modal window when you are inserting an imported template:

img

 

 

Important!

Due licenses all imported images are for testing purposes only and cannot be used on your live website!!!

You can download free photos for your commercial & personal works on sites like:

http://picjumbo.com/

http://pixabay.com/

https://unsplash.com/grid

 

Translation

This theme is translation/localization ready and comes with gratia.pot file. File is located in ../gratia/lang/ folder.

  1. You need to use localized WordPress installation (core) in the first place:
    img
    If not, localization will be not successful.
  2. .pot file is located in root theme folder inside 'lang' sub-folder: ../gratia/lang/
  3. Download poedit software here,
  4. Install software it and translate gratia.pot file (line by line),
  5. Once you have translated all the strings, you can save this as your .po file.

    The filename of your .po / .mo file is crucial! Gettext uses the ISO 639 standard for language abbreviations and ISO 3166 for locales. If your translation is written in Deutsch for example, your file name will look like de_DE.po. Capitalization is also important here. For a full list of language and country codes, check out these two links:

    Once you save, POEdit by default automatically creates a .mo file alongside your .po file. Put these files into 'lang' folder.

  6. Access your wp-config.php file found in your WordPress' root folder. Your file should already contain define('WPLANG', ''); but if it does not, you can add it in. You simply need to add your language and locale code into the define. If you were to translate your theme into German, you would have this:
    define('WPLANG', 'de_DE');

Your internationalization is complete!

 

 

 

 


Once again, thank you so much for purchasing this theme.

Go To Table of Contents