plugin-icon

Terrific Integration

Note: This plugin won't work on WordPress-instances hosted by WordPress.com.
평가
최근 업데이트일
December 12, 2013
버전
1.1
Terrific Integration

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

무료Creator 요금제에서
테스트된 버전
3.7.41
이 플러그인은 다운로드 가능하며 워드프레스 독립 호스트 설치에 사용할 수 있습니다.