2017 © Pedro Peláez
 

wordpress-plugin wds-shortcodes

Base plugin/classes/functionality for creating shortcodes.

image

webdevstudios/wds-shortcodes

Base plugin/classes/functionality for creating shortcodes.

  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 13 Forks
  • 2 Open issues
  • 12 Versions
  • 8 % Grown

The README.md

WDS Shortcodes

Contributors: WebDevStudios, jtsternberg, JayWood
Donate link: http://webdevstudios.com
Tags: shortcode button, shortcodes, cmb2, utility
Requires at least: 4.3
Tested up to: 4.3
Stable tag: 1.0.7
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html, (*1)

WebDevStudios. WordPress for big brands., (*2)

Description

WDS-Shortcodes gives developers the ability to easily register shortcodes with a corresponding button, so never again will your client ask, What's that shortcode again? Not only can you easily handle the button and shortcode registration, this also supports self-closing and wrapping shortcodes with a simple config flag., (*3)

Please note: you will need to run composer install in order to fetch the dependenceis for this plugin/library, or you can download the zip here., (*4)

Additionally, there is also built-in CMB2 support so you can use all your favorite fields., (*5)

For more info, check out the wiki., (*6)

To see a demo plugin, check out "Cool Shortcode"., (*7)

Installation

Manual Installation

  1. Upload the entire /wds-shortcodes directory to the /wp-content/plugins/ directory.
  2. Activate WDS Shortcodes through the 'Plugins' menu in WordPress.

Frequently Asked Questions

  • None as of yet

Screenshots

, (*8)

Changelog

1.0.7

  • Update for new version of shortcode button, where ajax_parse_shortcode is now an object method (vs class method).

1.0.6

1.0.5

1.0.4

  • Update shortcode-button dependency to fix modal displaying before CSS loads.

1.0.3

  • WDS_Shortcode_Instances::get() now accepts a secondary argument, $index, for selecing the exact object instance under the shortcode namespace.

1.0.2

  • Add new method, WDS_Shortcode::json_decode_att(), for getting decoded json attribute values. Handles converting the pseudo-json format used when storing array field datat.

1.0.1

  • Add new method, WDS_Shortcode::bool_att(), for getting boolean attribute values. Handles converting "false" and "0" strings to false.
  • Undefined notice fix: Check if attribute value is a string before checking if it is json.
  • Fix issue where faux json_encoded arrays were not being properly translated back to a php array.

1.0.0

  • Update to be used as a library primarily (using wp-lib-loader). Will break back-compat for plugins extending the WDS_Shortcode_Admin class before the 'init' hook.

0.1.3

  • Update composer lock file and zip file after updating Shortcode_Button dependency.

0.1.2

  • New method, WDS_Shortcode::maybe_json() which automatically converts attributes from the modifed JSON string created by Shortcode_Button into a normal PHP array.

0.1.1

  • Fix issues with ajax hooks not working (as they get hooked too late)

0.1.0

  • First release

The Versions

17/04 2018

dev-master

9999999-dev https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

07/06 2017

v1.0.7

1.0.7.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

13/09 2016

v1.0.6

1.0.6.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

06/09 2016

v1.0.5

1.0.5.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

09/06 2016

v1.0.4

1.0.4.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

31/05 2016

v1.0.3

1.0.3.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

30/05 2016

v1.0.2

1.0.2.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

26/05 2016

v1.0.1

1.0.1.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

29/03 2016

v1.0.0

1.0.0.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

28/03 2016

v0.1.3

0.1.3.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

21/03 2016

v0.1.2

0.1.2.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api

21/03 2016

v0.1.1

0.1.1.0 https://github.com/WebDevStudios/WDS-Shortcodes

Base plugin/classes/functionality for creating shortcodes.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress json wp-api