Naked WP theme with uikit 2.27.2 and based on Starkers Masters
Optional file to create widgets
The following features are located in external/custom.php
.
- Custom image sizes (you can change the sizes, add more)
- Encrypted email
- Add current page class to menu in almost every case
Optional functions to uncomment:
- WPML custom language menu
- Custom map with Pronamic
- Post 2 post connections
The following features are located in external/image_editor_extend.php
.
- Real resize images on the fly (just provide src, width and height)
The following features are located in external/svg_upload.php
.
- SVG support for WordPress
The following features are located in external/acf_custom_functions.php
.
- functions to use with tpl-page-rows.php. If you wish to use it, install acf pro and import the file acf-custom-fields.json
The following features are located in external/shortcodes.php
(mainly used in wp-views).
- Encrypted email shortcodes
- Shortcode to create images on the fly
- Alt image shortcode
- Theme directory shortcode
- Increment in views shortcode (WP-Types plugin)
- Main site url
- Add custom conditions in views (WP-Types plugin)
- Custom image sizes urls shortcode(to uncomment)
- wp-pagenavi shortcode support in views (to uncomment) (Works with some scss files listed below) (WP-pagenavi plugin)
- Custom gallery shortcode
- Custom video gallery
The following features are located in external/sidebars.php
.
- Main sidebar
The following features are located in external/social.php
In order to use this, you have to uncomment require_once( 'external/social.php' );
in functions.php
.
Works with some scss files listed below.
- Social share buttons
- Social stats buttons
The following features are located in external/gforms.php
(Gravity Forms plugin to add).
In order to use this, you have to uncomment require_once( 'external/gforms.php' );
in functions.php
- tabindex regulation when multiple forms on same page
- populate a simple value in an input
- populate multiple values in a select input
Note: if you use W3 toal cache, feel free to use w3_total_cache_config.json
- Fancybox
- Slick
- Slick slider
- Video JS (check scss files)
- Smartresize (you can change the mobile limit size)
Note: When adding/removing JS features, don't forget to adjust the gulpfile accordingly.
We use uikit - Version 2.27.2, see Changelog
There are some scss files to customize the features below, check adam/scss/style.scss
:
- Fancybox
- Social sharing
- Slick
- Video JS
- Langs
- Page nav
- SCSS files are located here
- Copy the content of the
scss
folder intoadam/scss/uikit/
- You're good to go! (Just be careful if upgrading from v2 to V3, some changes might be huge)
FYI: the files overriding uikit are uikit-hooks.scss
and uikit-variables.scss
located in the scss
folder.
sudo npm install
installs NPM modulesgulp [name of the task]
launches a task
This theme works better with:
- ACF Pro (Custom fields)
- Advanced Custom Fields: Widget Area
- Advanced Custom Fields: A Widget
- WP-SEO by Yoast (SEO)
- WP-Smush (Img Optimization)
Optionally:
- Gravity Forms (Forms)
- WP-Types and Views (Custom fields)
- Coming Soon Page & Maintenance Mode by SeedProd
- W3 Total Cache (Optimization)
- Posts 2 Posts (Relations between posts)
- WP-PageNavi (Custom pagination)
- Manual Image Crop (Images custom crop doesn't work with the resize on the fly function)
- Ductile Responsive Video (Responsive youtube embeds)
- WPML (Translation)
- Gravity Forms multilingual (Multilingual forms)
- Black Studio TinyMCE Widget (WYWIWYG widgets)
- 404.php
- archive.php
- comments.php
- front-page.php
- index.php
- page.php
- search.php
- single.php
- styleguide.php : to overview styles
- tpl-events-list.php
- tpl-page-rows.php
w3_total_cache_config.json: base config for W3 total cache
acf-custom-fields.json: custom fields for page-with-rows