Saonara Theme / template documentation version 1.0
First of all, Thank you so much for purchasing this template and for being my loyal customer.
This documentation is to help you regarding each step of customization. Please go through the documentation carefully to understand how this template is made and how to edit this properly.
If you plan to make some modifications to the code of the theme, will be better to make them via the child theme. If you make modifications directly to the parent theme, you will lose them when the theme is updated. When you make modifications inside of the child theme instead, you can update the parent theme without losing any change you have made.
Child Theme you’ll find in a saonara-child.zip, which is included in a main downloaded package.
More information about child themes you can find in WordPress Codex.
To install this theme, you must have a working version of WordPress already installed.
For information regarding installing the WordPress platform, please see the WordPress Codex
To add a new theme to your WordPress installation, follow these basic steps:
Use your FTP Client to upload non-zipped folder called saonara (Unzip the saonara.zip file) and saonara-child (optional child theme) into the /wp-content/themes/ folder on your server.
To update the theme please follow these basic steps:
To add the needed functionality to the theme is necessary to activate the required plugins.
To automatically import the demo data into your WordPress, follow these basic steps:
What if the Import fails or stalls?
If the import stalls and fails to respond after a few minutes, or it fails with a simple error message like “Import failed,” You are suffering from PHP configuration limits that are set too low to complete the process. You should contact your web host and ask them to increase those limits to a minimum as follows:
To set up the homepage, follow these steps:
The theme comes with a list of built-in block patterns. To get started, we’ll create a new page, though you can use an existing page or post as well.
You can add a circle block to your page from the Add Block button.
In some cases, like when you’re building your homepage or a landing page, you might want to remove the page title.To remove the page title, go to the WordPress page dashboard, and in the page attribute box, under template, choose the Blank Page template.
The Saonara theme comes with advanced options to make adjustments to individual standard post categories via the admin so you can easily change the layout, colors…etc on a per-category basis. Simply log into WordPress and go to Posts > Categories and click on the category you wish to edit to access these settings.
The Saonara theme defines new image sizes, but the problem is that these new image sizes are only applied on the images you upload after activating the theme. To solve this problem you need to generate new sizes for all previously uploaded images. You can use the Regenerate Thumbnails plugin.
You can add animation to an image in the block settings on the right side of the screen.
Saonara comes with built-in Lightbox functionality. If you insert an image into your post that links to it’s “media” file, it will add lightbox support to the link.
Go to Appearance > Customize > Colors and here you will find options for all the main sections of the site so you can customize the default theme colors.
You can change the colors of any page using the color picker in the inspector.
The Gutenberg color settings interface allows users to customize text and background colors for different blocks in the block editor. You can select from a set of default color, or use a color picker to define your own color.
Simply go to Appearance > Customize > Typography and here you will find options for all the main sections of the site so you can customize the default theme typography.
Change typography on any blocks to achieve better and stunning block patterns and page designs.
It’s possible to use your own custom font files in the theme if you want something that’s not a Google font.
We’re going to put our custom font into this fonts folder. For the sake of the example, I’m using GT Walsheim. There’s a ttf, woff and woff2 version of the font.
Next, you’ll need to add some custom CSS within your child theme’s style.css file to reference this new font. There’s a reference to local also. If the user happens to have the font already installed there’s no need to download it also.
@font-face { font-family: 'GTWalsheim'; src: local('GTWalsheim'), local('GTWalsheim'), url('fonts/GTWalsheimRegular.woff2') format('woff2'), url('fonts/GTWalsheimRegular.woff') format('woff'), url('fonts/GTWalsheimRegular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-stretch: normal; font-display: swap; unicode-range: U+000-5FF; }
Note that I’ve called the font-familly – GTWalsheim – this is important.
Add the following code to the child theme’s functions.php file.
function saonara_child_custom_fonts( $standard_fonts ) { $my_custom_fonts = array(); $my_custom_fonts['GTWalsheim'] = array( 'label' => 'GT Walsheim', 'variants' => array('regular','italic','700','700italic'), 'stack' => 'GTWalsheim, sans-serif', ); return array_merge_recursive( $my_custom_fonts, $standard_fonts ); } add_filter( 'kirki/fonts/standard_fonts', 'saonara_child_custom_fonts', 20 );
Now, when you edit a typography element in the customizer you should see this new font as an option in the dropdown. If you’ve done everything correctly it will render.
Theme includes 2 menu location options:
If you imported the sample data then you should have also imported our sample menus. To assign them you can either edit each menu individually to add a menu location, or click on the Manage Locations tab to assign menus to each location at once.
In WooCommerce you must declare your “shop” page which will be used to display your recent products but also used in the theme’s breadcrumbs trail. To define your page you first need to create a standard page (if you haven’t done so yet) then go to WooCommerce > Settings then click on the “Products” tab then on the “Display” sub-tab where you will find the dropdown option.
Saonara allows to add UNLIMITED additional images for each variation of product. Go to variation of product then click to open you will find a button “Add Images” click this button to add addition images for variation.
The theme includes tons of easy to use options to customize the design of your site. Most of your theme options can be found in the live WordPress theme customizer.
Simply navigate to Appearance > Customize to make changes to the design of your website.