DIMODE – Documentation

Introduction

Thank you very much for choosing DIMODE. We truly appreciate and really hope that you’ll enjoy our theme and our future updates and improvements. If you have any questions or recommendations, feel free to contact us.

Requeriments

  • WordPress installation
  • PHP 7.3+
  • Basic Knowledge of WordPress (create posts, upload images, install plugins, fill fields, etc.)

As you know, you can always visit the demo site.

Setup Demo

Import .wpress file from All-in-One WP Migration

If you want to import the demo to your WordPress installation (looks exactly the same as demo site), when you make a clean install of WordPress on your server, first download the All-in-One WP Migration plugin and activate them. Now, go to Import page from the all-in-One WP Migration dropdown menu:

Once you have chosen the option, the application takes you to the Import page:

From this page you can select from where you want to import a backup using the dropdown menu:

If you chose ‘File’, the plugin will open a window showing your local files and folders and will let you chose a backup for import from there. Then, find the file dimodewpdemo.wpress from the Demo Content folder. Choose them to begin the import process:

The import has an additional step which warns you that your website will be overwritten by the new backup including database, media, plugins and the activated theme. This is the last step from which you can cancel the process. After pressing ‘Proceed’ you cannot stop the import process anymore. The amount of time the import process will take depends on the size of the data and the speed of your internet connection.

Note: is important to previously check in your Hosting Service the File Size Upload option (128 MB recommended size, because the size of the import file is 110MB)

When finished, a successful import will display this message:

At this step, it is recommended to click on Permalinks Settings link and save your permalinks twice in order to save them and generate .htaccess file.

Also, because the demo imports the original database, your admin user and password keys will change to the included in Theme documentation file.

Please, enter with this keys to your dashboard and change all to whatever you want.

Common Theme Installation

If you don’t want to import the demo file, the ideal is to install theme from a fresh WP installation, to customize the theme options and start uploading the contents.

When you purchase the theme, the downloaded zip file contains Theme files (it contains the zipped installable WordPress theme file)

Extract the downloaded zip, and select the zip file dimodewp.zip and dimodewp-child.zip. Now, you have two ways for installing the theme:

1 – Install theme via WordPress Dashboard

Go to Appearance > Themes section and click Add New

In the next screen click the Upload Theme button

Click the Choose File button, select the zip file and click Install Now.

You can now activate the Parent Theme first, and optional the Child Theme (only for code customizations)

 

Child Theme

A child theme is a theme that has all the functionality and styling of another theme; referred to as the parent theme. Child themes are the recommended way of modifying the code of an existing theme, since a child theme preserves all custom code changes and modifications; even after a theme update. If you modify code directly from a parent theme, and then update the parent theme, your changes will be lost.

Although child themes can be a great way to add custom changes, they are most often used to customize core code taken from the parent theme. Because of this, please be aware that customizations of this nature fall outside our scope of support, and we will be unable to assist you with any issues that may arise. The child theme is primarily inserted in the package for developers’ convenience.

Always use a child theme when modifying core code. Child themes can also be used for custom CSS applications, template file modifications, and custom PHP functions and/or hooks. There are two ways to modify a child theme. Bear in mind that using child themes is no guarantee that an update of custom code on the parent theme will not require further maintenance.

If you want to make changes in theme’s templates or functions, we recommend that you install child theme and make changes there. To learn more about the purpose and basis of creation of child theme, visit WordPress Codex on Child Themes section.

Activate Plugins

When you install and activate the Theme, there’ll be a message with a list of required and recommended plugins that can be installed.

Custom Menu

Go to Appeareance – Menu in the Dashboard and build the menu dragging the elements you like.

After that, go to Appearance – Widgets in Dashboard and use the builded menu in the Navigation Menu Widget to display it in the Sidenav Sidebar (shows when clicking hamburger menu)

Navbar and Logos

Logo in navbar

In addition to configuring the navbar, you can upload two logos, one for the Normal (light) mode and other for Dark mode, if you wish to enable them. Recommended logos in PNG or SVG format for better definition.

Navbar / Logo height: the height of the header navbar and/or logo in pixels.

Navbar Shrink: shrink effect when you choose a bigger logo (major navbar and logo heights).

Logo position: Choose from left (near menu) or centered logo.

Options

Use Fade effect for load pages: activate a simple fade effect when a page is loaded.

Activate Load Bar: activate a thin load bar when a page is loaded, similar to YouTube.

Load Bar color: select a custom color for the thin load bar when activated.

Fixed Navbar: changes the header to a fixed position, making the entire navbar visible when scrolling.

Border navbar: adds a border-bottom line to header navbar.

Border menu: adds a border-right line to sidenav menu.

Border menu shadow: adds a border-right shadow to sidenav menu.

Border footer: adds a border-top line to footer.

Side menu font size: sets the size in px of the side menu sections.

Search modal: show or hide the search button in navbar.

Rounded Corners: styles all the images and borders with a rounded corner style, similar to an “app-like” style.

Social Media Buttons: used for the default social media buttons. Disable if you’re using another plugin or social share tool.

Posts, Archives and Search

Post columns: define number of columns used for posts layout on home and archives.

Thumbnails select: choose between 3 formats of images: Square, Rectangle or Full (ideal when you have vertical images mixed with other sizes).

Infinite Scroll: activate Infinite Scrolling or paged navigation.

View More: diplay a button for show more posts, only if Infinite Scroll is activated.

Post info: define if the info of posts is showed inside the image box or outside.

Image color: define if the post image on home is configured to display in three modes: Black and White Only, Black and White to Color on hover, or Color only.

Display Time: shows the date of post, configured on WP settings section.

Display categories: displays the category of the post.

Display excerpt: shows post excerpt.

Display authors: shows the author of the post.

Display tags: displays the tags of the post.

Display Blog Sidebar: display sidebar in posts or reviews (singles).

Display Archive Sidebar: display sidebar in the archive pages.

Styling

Dark Mode Switch: enable or disable the switch for the two modes on the top-right corner of the header.

Body text color: the general color of the texts.

Body background: bg color for the whole background of the site.

Navbar background: bg color of the header.

Hamburger menu color: colorize the hamburger “three line” menu in responsive view.

Hamburger menu position: position the “three line” menu in left or right.

Sidenav background: bg color for the sidenav menu (and displayed when the hamburger menu is pressed).

Sidenav menu text color: the text color of the menu elements on the sidenav.

Sidenav menu item hover color: the hover background color of the menu elements on the sidenav.

Footer background: bg color of the footer.

Link color: color for the links, or the <a> tag.

Hover color: color for the links when hovered.

Widget titles color: a custom color for the widgets titles.

Widget titles border: enable or disable a border-bottom below the widget title.

Search result term color: choose a custom color for the searched term in search result page.

Buttons background color: bg of the custom button class.

Buttons text color: text color of the custom button class.

Buttons background hover color: bg of the custom button class when hover it.

Buttons text hover color: text of the custom button class when hover it.

Comment card color: color of the comment card for post comments.

Back to Top background color: bg of the “up” button showed when scrolling the page.

Back to arrow color: color of the “up” arrow showed when scrolling the page.

Infinite Scroll background color: bg of the “more” button showed when scrolling the page for view more posts.

Infinite Scroll arrow color: color of the “down” arrow showed when scrolling the page for view more posts.

Social icons background: bg color of the circle of the share icons in posts.

Social icons color: color of the share icons in posts.

Home Slider

You can enable a slider for the homepage and add the slides what you want, uploading image, setting the titles and buttons texts, the color of arrows and linking them to anywhere. In the same way of post images, the slider images can be displayed in three modes: Black and White Only, Black and White to Color on hover, or Color only.

404 Page

You can customize the classic Error page. Simply add an image as background (1920×1080 recommended), add a title and a custom message to define an original variant of this page.

 

Social media links

You can simply fill the fields with the complete url’s of your fav and active social media profiles. Use to display in an HTML Widget in the footer section or another location with the shortcode

[social]

Post Extra Fields

This custom fields appears only when creating a new post:

Featured Image Size: select the main post image in two formats: Rectangle (ideal for vertical images) or Square (for big images).

Post title color: choose a color for the post title.

Post Excerpt Color: choose a color for the post excerpt text.

Post Excerpt Background: choose a color for the post excerpt text background.

Select Collaborators: add the Collaborators of the post, prevously created in the Taxonomy.

Extra Text: shows a custom text below author and collaborator.

Full Width Images

To make an image the full width of the post content container, simply upload the image in the post (preferently below some paragraphs) and click on them, and now in the Edit button (with a pencil icon). In this screen, add the css class “alignfull” and align to “none”.

Add Authors and Collaborators

If you have a little staff of writers and collaborators, everyone can have their own account as an author or editor, adding it in the Users – Your profile section. There, enter the necessary data (first name, last name, a mini biography and a personal image). Each post assigned to it or written by them will be located on its own author page. Same logic is applied to the Collaborators taxonomy (you can find it in the Posts lateral menu of dashboard)

Page Templates

A pre-defined set of page templates are ready to use. Simply create a page with any title and select the best fit:

News: display a list of all the added posts in a paged archive view.

Page Centered: display a full-width featured image and centered column content.

Contact Page

First, activate the Contact Form 7 plugin and add a new form.

To display the form exactly as in the demo, copy and paste the styled code:

 

Next, configure the settings (mail direction, fields received in the body mail), save changes and you can use the generated shortcode in any page. In the example, shortcode is highlighted in blue at top of page.

[contact-form-7 id="5" title="Contact form demo"]

* See the full configuration of Contact Form 7 in the plugin author site.

Sources and Credits

* ACF Pro, © 2021 Delicious Brains, GNU GPL v2 or later.
* Bootstrap, © 2011-2021 The Bootstrap Authors, © 2011-2018 Twitter, Inc., MIT.
* PACE, © 2013-2018 HubSpot.
* Infinite Scroll, © 2019 metafizzy, GNU GPL v3.
* Flickity, © 2019 metafizzy, GNU GPL v3.
* Font Awesome, © Fonticons, Inc.
* Bootstrap Comment Walker, 2017 Aymene Bourafai, GNU GPL v2.
* Simplebar, © 2019 Adrien Denat, MIT.
* TGM Plugin Activation, 2016 Thomas Griffin, @GaryJones, @jrfnl, GNU GPL v2.