Introducing "User Shortcodes Plus" post
Yesterday, I officially released my first personal plugin on the WordPress.org repository, "User Shortcodes Plus". While I have spent the last year in the WordPress ecosystem, building Ninja Forms with the WP Ninjas, this is the first project that I have released on my own.
User Shortcodes Plus adds simple user shortcodes to WordPress for displaying information about a user. This includes displaying information about the current user, as well as other users with the optional "id" shortcode attribute.
User Info Shortcodes
- user_id
- user_login
- user_email
- user_firstname
- user_lastname
- user_display (alias)
- user_display_name
- user_registered (date/time)
Custom User Meta Shortcodes
In addition to displaying basic user information, the plugin also supports custom user meta, with the [ user_meta ] shortcode and a "key" attribute.
For example, [ user_meta key=fav_color ] would display "blue".
Download
User Shortcodes Plus is now available in the WordPress.org Plugin Directory, as well as the Plugin menu of the WordPress dashboard.