Description
Note: This plugin won’t work on WordPress-instances hosted by WordPress.com.
This plugin integrates the Terrific concept into WordPress and is based on Roger Dudler’s Terrific micro.
Views as well as partials were removed from the integration, use WordPress functionality (templates/template parts) instead.
Features
- Create a new theme or add a structure to your active theme to be able to use Terrific micro in your project
- Provides you the option to cache and minify the concatenated styles and scripts for production use
- Provides an interface to create new modules and skins based on file templates
- Inspect mode to get an overview of the modules on a page
- Option to use WordPress’ own jQuery
Usage
You can render a module in your template files using the ‘module’-function, e.g.:
<?php module('TeaserBox'); ?>
You can provide more parameters to the function to control the output:
module(Module Name, Module Template Name (optional, default: null), Skin Name (optional, default: null), Additional Attributes (optional, default: array()))
As this function is part of Terrific micro, you’ll find a more detailed description on Github.
You can flush the Terrific cache manually as well as start the inspect mode via the admin bar (see screenshot).
The plugin automatically includes WordPress’ own jQuery version as the first script file. You can disable this option in the admin page and include your own jQuery or Zepto version in the assets.json as usual.
There’s not much to know about the integration, I recommend you to let the plugin create a new theme to get an idea on how things could be done. If you have problems using Terrific, check out terrifically.org, the Terrific micro github page and the Terrific google group.
Dependencies
Screenshots
Installation
- Upload the
terrific
directory to the/wp-content/plugins/
directory or download the plugin via the WordPress plugin system - Activate the plugin through the ‘Plugins’ menu in WordPress
- Access the ‘Terrific’ menu in WordPress an let it generate a new theme/create the basic structure for you
- Create modules and skins using the same menu
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Terrific Integration” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Terrific Integration” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- Initial release
1.1
- Adjusted for WordPress 3.8
- Fixed major bug: Path from css and js are now relative to the theme root instead of the active page