All Posts

User Shortcodes Plus v2 post

About two weeks ago I released version 2.0.0 of my User Shortcodes Plus plugin on the repository. This new version contains a couple of new user shortcodes, the addition of a custom tinyMCE button, and an architectural overhaul of the codebase.

Screenshot 2016-06-15 21.16.01

New shortcodes include user_url, user_website (alias), user_description, and user_bio (alias). Both sets of user metadata are available by default in the user edit screen and are now available as user shortcodes.

This new version also introduces a custom tinyMCE button ("Add User Shortcode") for quickly adding shortcodes to any post, page, or other custom post type. Clicking "Add User Shortcode" displays a modal window for selecting the shortcode options. The selection is used to generate the shortcode, which is then appended to the post content.

For those that are interested, the codebase has evolved out of a single file structure into a class-based structure. The change makes adding new shortcodes quicker and easier, without bloating the main plugin file.

Version 2.0.0 of User Shortcodes Plus is available for download in the repository.