All Projects → timber → Sugar

timber / Sugar

Licence: gpl-2.0
Some bonus functionality for Timber

Projects that are alternatives of or similar to Sugar

Lumberjack
Lumberjack is a powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code.
Stars: ✭ 261 (+493.18%)
Mutual labels:  wordpress, twig, timber
Timber
Create WordPress themes with beautiful OOP code and the Twig Template Engine
Stars: ✭ 4,952 (+11154.55%)
Mutual labels:  wordpress, twig, timber
Base Camp
Awesome WordPress starter theme for developers based on modern web technologies.
Stars: ✭ 135 (+206.82%)
Mutual labels:  wordpress, timber
Timmy
Advanced image handling for Timber.
Stars: ✭ 146 (+231.82%)
Mutual labels:  wordpress, timber
pine
pine - A CLI installer for timber
Stars: ✭ 29 (-34.09%)
Mutual labels:  twig, timber
Generator Kittn
The Yeoman Kittn Generator
Stars: ✭ 63 (+43.18%)
Mutual labels:  wordpress, twig
Jackpine
WordPress starter theme with Timber, Tailwind, and Alpine.js.
Stars: ✭ 101 (+129.55%)
Mutual labels:  wordpress, timber
branch
Branch Starter Theme - A WordPress starter theme based on Timber library and Bootstrap
Stars: ✭ 87 (+97.73%)
Mutual labels:  twig, timber
Meadow
WordPress templating DSL based on Twig.
Stars: ✭ 73 (+65.91%)
Mutual labels:  wordpress, twig
Flynt
Component based WordPress starter theme, powered by ACF Pro and Timber, optimized for a11y and fast page load results.
Stars: ✭ 363 (+725%)
Mutual labels:  wordpress, timber
Generator Baukasten
Awesome!
Stars: ✭ 50 (+13.64%)
Mutual labels:  wordpress, twig
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-40.91%)
Mutual labels:  wordpress, timber
Generator Chisel
Chisel is a development framework for creating easy to maintain and fast WordPress websites
Stars: ✭ 233 (+429.55%)
Mutual labels:  wordpress, timber
19h47.fr
🔥
Stars: ✭ 25 (-43.18%)
Mutual labels:  twig, timber
Starter Theme
The "_s" for Timber: a dead-simple theme that you can build anything from
Stars: ✭ 679 (+1443.18%)
Mutual labels:  twig, timber
Planet4 Master Theme
Wordpress master theme for the Greenpeace Planet 4 project
Stars: ✭ 34 (-22.73%)
Mutual labels:  wordpress, twig
Wpcasa
WPCasa WordPress Real Estate
Stars: ✭ 36 (-18.18%)
Mutual labels:  wordpress
Twig Lambda
Lambda expressions for Twig and filters that make use of them
Stars: ✭ 40 (-9.09%)
Mutual labels:  twig
Vuewp
WordPress Vuejs GraphQL
Stars: ✭ 36 (-18.18%)
Mutual labels:  wordpress
Nixmash Blog
A Blog Engine built with Spring Boot
Stars: ✭ 36 (-18.18%)
Mutual labels:  wordpress

Timber Sugar

Build Status Coverage Status

Some bonus functionality for Timber. Install it in wp-content/plugins and activate via the WordPress admin. Featuring...

dummy

Throw some dummy lorem ipsum where you need it...

<h1>Some title</h1>
<div class="body">
	{{dummy(500)|wpautop}}
</div>

... this outputs 500 words of random lorem ipsum.

Use it as a filter
<h1>{{post.title|dummy(15)}}</h1>

... this outputs 15 words of lorem ipsum if post.title is empty

twitterify

Take a string with @handles and #hashTags and make them links:

<div class="my-tweet">
{{tweet.content|twitterify}}
</div>

Outputs...

You should follow <a href="http://twitter.com/timberwp" target="_blank">@TimberWP</a>
if you love <a href="http://search.twitter.com/search?q=wordpress" target="_blank">#wordpress</a>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].