Wordpress Starter Theme

Installation
git clone git@bitbucket.org:circul8_communicate/wcc-website.git .
composer install
- Go to
/web/app/themes/wcc-theme/ and composer install again.
Technologies
Templating system
Templating is done by Timber plugin which uses Twig as a templating system.
Custom filters
| Filter |
Description |
dump |
Dumps the variable to the Tracy's debug panel. |
cfs($post_id = NULL, $options = []) |
Returns CFS()->get($field_name, $post_id, $options) as descibred here where $field_name is filtered value. |
post |
Returns new Timber\Post($id) where $id is filtered value. |
image |
Returns new Timber\Image($id) where $id is filtered value. |
target |
Returns _blank or _self, expects Hyperlink Array from CFS. |
webalize |
Webalize string: "Hello, my friend!" -> "hello-my-friend" |
Plugins
| Plugin |
Description |
timber-library |
The core plugin to create custom theme. |
custom-field-suite |
To manage custom fields. |
wp-tracy |
Debugging, adds debug panel. |
disable-comments |
To disable comments. |
tinymce-advanced |
Advanced WYSIWYG. |