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:citygov.zip
file,citygov.zip
file on your computer and press 'Install Now',
citygov
' folder into 'themes
' folder in your WordPress installation ( YOUR_HOSTING_ROOT/YOUR_SUBDIRECTORY/wp-content/themes/
),
You have to install and activate required plugins (Redux, Elementor and Eleslider). You can do this by visiting Appearance » Install Plugins inside wp dashboard.
The following message may be visible after theme activation:
Go to Appearance » Install Plugins and install and activate following plugins:
1. After theme activation go to Appearance > Install Plugins, and install and activate Redux Framework plugin!
2. Then go to CityGov - admin panel
and hit "Save Changes" button to set default style settings:
You can change styling options later.
2. Following message may be visible after theme activation:
Click on 'Begin activating plugins' link and install and activate 'Redux Framework' (if not installed yet), Elementor and 'Shortcode Ultimate' 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.
Important!
I recommend creating few classic blog posts and 'Slider posts' before you start creating templates in Elementor. Set 'featured images' for all your posts.
Theme comes with extensive options panel with functions divided to these sections:
CityGov theme (+ installed Eleslider plugin) comes with 'Slider' custom posts. Purpose is to create simple image slider:
You can access and create Slider custom posts in main dashboard menu:
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.
Display of the slider is very simple, in Elementor use [eleslider] shortcode in 'Text Editor' blockk in the 'full-width column'.
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:
In theme demo may be used custom widgets which come with 3dr party plugins (Events, Donations, Newsletter etc.).
Please see 'Plugins' chapter for more info about these plugins.
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 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.
Images and thumbnails are generated automatically.
To display thumbnails correctly upload images via WP interface using "Set featured image" button.
After image upload set featured image.
! Create own custom menus first! Please see following tutorial !
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
Toggle any menu item and type some text word into 'Description' field (see previous steps if the field is not visible/enabled):
Toggle any menu item and type 'mega' word into 'CSS Classes' field (see previous steps if the field is not visible/enabled):
Then just add child menu items.
Create own custom menu in Appearance > Menus and then display this menu in any sidebar using 'Navigation Menu' widget:
1. Before (or after) menu label add this piece of code
<i class="fa 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.
3. You can see how-to video here. It is not tutorial for my theme but the process is the same.
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.
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 'Right Sidebar Layout' template for Event and Location pages
b) In Events > Setting > Pages in 'Event List/Archives' section select on which page will used as an events page:
c) In Events > Setting > Formating paste following code into 'Default event list format header' field:
<table class="events-table" >
<tbody>
and this code into 'Default event list format' field:
<tr>
<td class="thumb">
#_EVENTIMAGE{130,130}
</td>
<td class="list_text">
<a href="#_EVENTURL" class="event_button">Find out more</a>
<h3><a href="#_EVENTURL">#_EVENTNAME</a></h3>
{has_location}
<p class="event_meta">
<span class="ribbon">#_EVENTDATES</span>#_EVENTTIMES at <b>#_LOCATIONNAME</b>
</p>
{/has_location}
</td>
</tr>
close the table markup in the 'Default event list format footer'
</tbody>
</table>
d) In Events > Setting > Formating > Single Event Page paste following code into 'Single event page format' field:
<div class="event_header">
#_LOCATIONMAP
<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
as format
Give plugin will help you create fundraising campaigns.
Into search field (in Plugins > Add New) paste Give and Install this plugin.
1) After installation/activation setp plugin in Donations > Settings:
2) Create own donation form in Donations > All Forms
3) All donation forms can be displayed on one page: Create page name is e.g. 'Cases' ('Get Involved' or 'Donate Now!' like in the theme demo) and select 'Donations' template for this page:
WordPress Download Manager is a super-awesome downloads manager for WordPress.
Into search field (in Plugins > Add New) paste WordPress Download Manager
and Install this plugin. After installation/activation setup plugin in Downloads > Settings and save settings like this:
Add some files (downloads) and display these downloads on any page via shortcodes. You can organize downloads using e.g. [wpdm_category] shortcodes:
[wpdm_package id='XXX']
where XXX is the ID (number) of the file.
[wpdm_category id="development-department"]
where 'development-department' is the ID download category.
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/L2cFPYyP
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:
You can generate different shortcodes using 'Insert shortcode' button in all Post/Page screens:
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.
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 fore with following markup: https://pastebin.com/tL2M2PMQ
Please read plugin documentation for more info about this very flexible plugin.
Make sure that CityGov theme and Elementor and Eleslider plugins are installed and activated before demo import.
If you want to import whole content (inc. events, downloads) activate Events Manager and WordPress Download Manager plugins too!
Install and activate 'One Click Demo Import' plugin.
After that import full demo content easily in Appearance > Import Demo Data.
Choose demo you want to import and then just hit 'Import' button and wait until import is done (it can take few moments).
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.
You can import template when you are editing any page in Elementor > click on 'Add Template' button > Import Template:
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.
When you are inserting template hit 'No' option in the "Import Document Settings" modal window:
;
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
This theme is translation/localization ready and comes with citygov.pot
file. File is located in ../citygov/lang/
folder.
citygov.pot
file (line by line),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.
define('WPLANG', 'de_DE');
Your internationalization is complete!
Before we make a permanent switch to RTL mode, let’s test it out as an admin – in that way we can safely preview RTL support before making it available to all our website visitors.
Go to Plugins -> Add New and search for “RTL Tester” – or you can grab the plugin over on the WordPress.org repo.
Once you install the plugin you’ll see this new option in your WP toolbar
Once you click “Switch to RTL” the WordPress user interface switches to RTL mode.
Go to Plugins > Plugin Editor and select 'Eleslider'. In right menu find assets/js/owl.carousel.start.js
file and add rtl:true,
line. save the change.
If you go to your website frontend you should also see that it now displays Right-to-left. Here’s what the CityGov WordPress theme looks like with RTL enabled.
Once you’re happy with how your website looks with RTL mode enabled, it’s time to make the switch permanent.
Hop on over to Settings > General > Site Language – and select your language.
Enabling RTL support in WordPress settingsHit “Save Changes” and you’re done!
Once again, thank you so much for purchasing this theme.