2017 © Pedro Peláez
 

wordpress-plugin shorthand

A WordPress shortcode pack, from my site to yours.

image

goblindegook/shorthand

A WordPress shortcode pack, from my site to yours.

  • Tuesday, August 11, 2015
  • by goblindegook
  • Repository
  • 0 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Shorthand

Packagist Scrutinizer Code Quality, (*1)

A bunch of shortcodes developed for my site, now offered to the public. Shortcake is supported because, honestly, who doesn't love cake?, (*2)

Installation

This plugin is not (yet?) available in the repository, Composer is the recommended way to install it:, (*3)

$ composer require goblindegook/shorthand

If you want to know more about using Composer with WordPress, there's a good introduction at the Roots project site., (*4)

Shortcodes

Pull Quote

Renders a pull quote aside block with pull-quote and pull-quote--<center|left|right> classes. Integrates with Shortcake., (*5)

Usage: [pull-quote align="<center|left|right>"]CONTENT[/pull-quote], (*6)

Small Caps

Renders an inline element with a small-caps class., (*7)

Usage: [small-caps]CONTENT[/small-caps], (*8)

Underline

Renders an inline element with an underline class., (*9)

Usage: [u]CONTENT[/u], (*10)

Hooks

Filter: shorthand_scripts

Allows plugin and theme developers to filter or turn off the scripts bundled with Shorthand., (*11)

The quickest way to disable them completely is by calling add_filter( 'shorthand_scripts', '__return_empty_array' ); at the init step., (*12)

It's up to developers to enqueue their own replacement scripts for the frontend as well as Shortcake's live preview., (*13)

Parameters

$scripts
(array) Script URLs as (handle, URL) pairs.
$tag
(string) Shortcode tag name.

Filter: shorthand_styles

Allows plugin and theme developers to filter or turn off the stylesheets bundled with Shorthand., (*14)

The quickest way to disable them completely is by calling add_filter( 'shorthand_styles', '__return_empty_array' ); at the init step., (*15)

It's up to developers to enqueue their own replacement styles for the frontend as well as Shortcake's live preview., (*16)

Parameters

$styles
(array) Stylesheet URLs as (handle, URL) pairs.
$tag
(string) Shortcode tag name.

Filter: shorthand_shortcode

Allows plugin and theme developers to filter the output of a shortcode., (*17)

Parameters

$output
(string) Shortcode output to filter.
$atts
(array) Shortcode attributes.
$content
(string) Original inner content (for closing shortcodes).
$tag
(string) Shortcode tag.

The Versions

11/08 2015

dev-master

9999999-dev https://github.com/goblindegook/shorthand

A WordPress shortcode pack, from my site to yours.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin wordpress shortcodes formatting

02/08 2015

1.2.0

1.2.0.0 https://github.com/goblindegook/shorthand

A WordPress shortcode pack, from my site to yours.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin wordpress shortcodes formatting

18/07 2015

1.1.0

1.1.0.0 https://github.com/goblindegook/shorthand

A WordPress shortcode pack, from my site to yours.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin wordpress shortcodes formatting

18/07 2015

1.0.0

1.0.0.0 https://github.com/goblindegook/shorthand

A WordPress shortcode pack, from my site to yours.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin wordpress shortcodes formatting