Theme Files
This section discloses the sources of various files used within the theme and describes their function. Use this section to gain an understanding on how the theme functions behind the scenes if considering any type of modification.
Child Theme Recommended
It's recommended that you use a child theme for any type of modifications to the theme. A child theme allows you to make modifications to the theme without editing the theme's files. Using a child theme ensures you can still update the theme without losing your changes. More about child themes on the knowledgebase.
Basic Structure Responsive Theme Structure
This template is a responsive layout built upon “Media Queries”. The CSS uses “media queries” to size specific content areas and other elements depending on browser width. Refer to the media queries section at the end of style.css for more information.
CSS Files and Structure
Always put your css changes in your custom css box or a child theme whenever possible. That way, if you ever update your theme, you won’t lose your changes. However, if you have to edit the theme directly I’ve put all styles in one main stylesheet to allow for easier changes.
Stylesheet Name | Description |
---|---|
style.css | Used for the specific styling of elements, layout and typography throughout the site. In this file you can find the styles of any of the elements throughout the site, such as buttons, image frames, sliders, featured tabs, forms, quotes and more. |
bootstrap.css | A reponsive grid framework for the site. |
font-awesome.css | Scalable vector icons. |
ie8.css | Styles to make compatbile with Internet Explorer 8 |
Use of SCSS Files
You can also make use of the scss files included in the sass
folder of the theme.
For more information about scss files, check out the Sass Website.
Javascript
This theme imports multiple Javascript files. The use of javascript in this site enhances the user experience, but isn’t necessary to view the site if the user have javascript disabled.
Here are some scripts worth noting:
Script Name | Description |
---|---|
jQuery | This framework is the engine for all the javascript effects on the site which comes with WordPress. |
custom.js | This file initializes all of the javascript plugins upon page-load. |
Modernizr | Detects HTML5 and CSS3 features in the user’s browser. |
Isotope | Masonry layout of posts. |
BxSlider | Image Slideshows and Carousels. |
FitVids | Allows for responsive video embedding. |
Superfish | Dropdown navigation. |
Jquery Easing | For easing effects. |
Magnific Popup | Photo and video lightbox. |
Bootstrap | For admin help file. |
Code Prettify | For admin help file. |
Mmenu | Mobile slideout menu. |
Themewich Tabs | Tabs js effect. |
Backstretch | Fullscreen background images. |
Theme Plugins
The theme's functionality is broken up through the use of individual plugins. This way, when if you ever decide to change themes, your site data, like shortcodes, contact forms or sections will continue to work on your new site.
Plugin Name | Description |
---|---|
Advanced Custom Fields | Used for additional content fields on pages, sections, posts and categories. |
Advanced Custom Fields - Widget Relationship Field add-on | Allows you to select widgets at a for individual sections. |
Advanced Custom Fields: Repeater Field | Allows you to repeat and re-order the review criteria field. |
Ninja Forms | Allows you to build and customize forms for your website. |
Redux Framework | Options framework for the theme. |
SocialFans Counter | Responsive Wordpress Plugin Displaying Number of Your Social Accounts Fans, Subscribes and Followers. Available At Codecanyon For Purchase |
Themewich Sections | Adds section functionality to your site. This is separated into a plugin so if you switch themes, you can still see your sections in the admin. |
Themewich Shortcodes | Shortcodes for the theme. |
WP Most Popular | Flexible plugin to show most popular posts based on views. Used for breaking news ticker and top news widget. |
Recommended Plugins
Plugin Name | Description |
---|---|
Better WordPress Minify | Minifies all css and js files, and combines into a single query. Great for pagespeed. |
QuickCache | Caches page content to reduce your server load. A MUST for shared servers. |
Regenerate Thumbnails | Regenerates your thumbnails to fit into the current theme's sizes |
WordPress SEO | All-in-one SEO solution for WordPress that allows you to add page titles, meta information and analize SEO. |
But wait! Won't all these plugins slow down my site?
This is a myth about WordPress commonly misspoken about running a lot of non-scalable, intensive plugins on your site. If plugins are quality, scalable plugins - they will not slow down your site. In fact, many of the top WordPress internet blogs run 50 - 100 plugins on their sites. The plugins included with this theme were integrated with the theme in such a way so they are infinitely scalable, and won't slow down your site.
Check out these links for more information about using plugins:
Plugins and Fast WordPress Sites
,
How Many Is Too Many Plugins?
,
How Many Plugins Should You Install On Your Site
Credits
SocialFans Counter | A special thanks to Theminity for allowing me to include their SocialFans Counter Plugin with the theme. |