{"id":21813069,"url":"https://github.com/webdevstudios/wds-shortcodes","last_synced_at":"2025-04-13T23:25:25.559Z","repository":{"id":62547543,"uuid":"52581337","full_name":"WebDevStudios/WDS-Shortcodes","owner":"WebDevStudios","description":"Base classes for creating WordPress shortcodes. ","archived":false,"fork":false,"pushed_at":"2020-05-07T20:11:51.000Z","size":431,"stargazers_count":25,"open_issues_count":3,"forks_count":14,"subscribers_count":48,"default_branch":"master","last_synced_at":"2025-03-27T13:42:18.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebDevStudios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-26T05:38:53.000Z","updated_at":"2024-10-08T14:33:54.000Z","dependencies_parsed_at":"2022-11-02T22:30:34.572Z","dependency_job_id":null,"html_url":"https://github.com/WebDevStudios/WDS-Shortcodes","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-Shortcodes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-Shortcodes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-Shortcodes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-Shortcodes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebDevStudios","download_url":"https://codeload.github.com/WebDevStudios/WDS-Shortcodes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248795361,"owners_count":21162756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T14:27:02.566Z","updated_at":"2025-04-13T23:25:25.534Z","avatar_url":"https://github.com/WebDevStudios.png","language":"PHP","readme":"# WDS Shortcodes #\n**Contributors:**      [WebDevStudios](https://github.com/WebDevStudios), [jtsternberg](https://github.com/jtsternberg), [JayWood](https://github.com/JayWood)   \n**Donate link:**       http://webdevstudios.com  \n**Tags:**              shortcode button, shortcodes, cmb2, utility   \n**Requires at least:** 4.3  \n**Tested up to:**      4.3  \n**Stable tag:**        1.0.7  \n**License:**           GPLv2  \n**License URI:**       http://www.gnu.org/licenses/gpl-2.0.html  \n\n\u003ca href=\"https://webdevstudios.com/contact/\"\u003e\u003cimg src=\"https://webdevstudios.com/wp-content/uploads/2018/04/wds-github-banner.png\" alt=\"WebDevStudios. WordPress for big brands.\"\u003e\u003c/a\u003e\n\n## Description ##\n\nWDS-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.\n\n**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](https://github.com/WebDevStudios/WDS-Shortcodes/blob/master/wds-shortcodes.zip?raw=true).\n \nAdditionally, there is also built-in [CMB2](http://wordpress.org/plugins/cmb2/) support so you can use all your favorite fields. \n\nFor more info, [check out the wiki](https://github.com/WebDevStudios/WDS-Shortcodes/wiki).\n\nTo see a demo plugin, check out \"[Cool Shortcode](https://github.com/jtsternberg/Cool-Shortcode)\".\n\n## Installation ##\n\n### Manual Installation ###\n\n1. Upload the entire `/wds-shortcodes` directory to the `/wp-content/plugins/` directory.\n2. Activate WDS Shortcodes through the 'Plugins' menu in WordPress.\n\n## Frequently Asked Questions ##\n\n* None as of yet\n\n## Screenshots ##\n![](https://raw.githubusercontent.com/WebDevStudios/WDS-Shortcodes/master/screenshot1.png)\n\n## Changelog ##\n\n### 1.0.7 ###\n* Update for new version of shortcode button, where `ajax_parse_shortcode` is now an object method (vs class method).\n\n### 1.0.6 ###\n* Update shortcode-button dependency. [See changelog](https://github.com/jtsternberg/Shortcode_Button#changelog).\n\n### 1.0.5 ###\n* Update shortcode-button dependency. [See changelog](https://github.com/jtsternberg/Shortcode_Button#changelog).\n\n### 1.0.4 ###\n* Update shortcode-button dependency to fix modal displaying before CSS loads.\n\n### 1.0.3 ###\n* `WDS_Shortcode_Instances::get()` now accepts a secondary argument, `$index`, for selecing the exact object instance under the shortcode namespace.\n\n### 1.0.2 ###\n* 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.\n\n### 1.0.1 ###\n* Add new method, `WDS_Shortcode::bool_att()`, for getting boolean attribute values. Handles converting \"false\" and \"0\" strings to false.\n* Undefined notice fix: Check if attribute value is a string before checking if it is json.\n* Fix issue where faux json_encoded arrays were not being properly translated back to a php array.\n\n### 1.0.0 ###\n* Update to be used as a library primarily (using [wp-lib-loader](https://github.com/jtsternberg/wp-lib-loader)). Will break back-compat for plugins extending the `WDS_Shortcode_Admin` class before the `'init'` hook.\n\n### 0.1.3 ###\n* Update composer lock file and zip file after updating Shortcode_Button dependency.\n\n### 0.1.2 ###\n* New method, `WDS_Shortcode::maybe_json()` which automatically converts attributes from the modifed JSON string [created by Shortcode_Button](https://github.com/jtsternberg/Shortcode_Button/commit/c186e98b2f94a1e565d85593033d9b2a499d9e8e#diff-6846d1b0c8144484af006af499cd053dR397) into a normal PHP array.\n\n### 0.1.1 ###\n* Fix issues with ajax hooks not working (as they get hooked too late)\n\n### 0.1.0 ###\n* First release\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevstudios%2Fwds-shortcodes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevstudios%2Fwds-shortcodes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevstudios%2Fwds-shortcodes/lists"}