Περιγραφή
Add simple user shortcodes to WordPress for displaying information, including custom meta and avatars, for any user.
Available Shortcodes:
– [user_id]
– [user_login]
– [user_email]
– [user_firstname]
– [user_lastname]
– [user_nicename]
– [user_display]
– [user_display_name] (alias)
– [user_registered]
– [user_avatar] (image)
– [user_avatar_url]
– [user_url]
– [user_website] (alias)
– [user_description]
– [user_bio] (alias)
Displaying userdata for another user:
ex. [user_email id=2]
Στιγμιότυπα
Shortcodes can be added to any post type via the content editor. Each shortcode is replaced with the user's data, when available. Shortcodes can be inserted using the 'Add User Shortcode' button on the TinyMCE editor. A specific user cna be specified by adding the 'id' attribute to the shortcode. Any user metadata can be displayed using the [user_meta] shortcode with a specified 'key' attribute.
Εγκατάσταση
Αυτή η ενότητα περιγράφει πώς να εγκαταστήσετε το πρόσθετο και να το κάνετε να δουλεύει.
- Upload the
user-shortcodes-plus
directory to your/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Add shortcodes to the content of any post type.
Συχνές Ερωτήσεις
What shortcodes are supported?
- [user_id]
- [user_login]
- [user_email]
- [user_firstname]
- [user_lastname]
- [user_nicename]
- [user_display]
- [user_display_name] (alias)
- [user_registered]
- [user_avatar] (image)
- [user_avatar_url]
- [user_url]
- [user_website] (alias)
- [user_description]
- [user_bio] (alias)
Κριτικές
Συνεισφέροντες & Προγραμματιστές
“User Shortcodes Plus” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “User Shortcodes Plus” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
2.0.2
- Add autocomplete support for the Block Editor (Gutenberg).
2.0.1
- Fixed a bug with showing the TinyMCE Button on new posts/pages.
2.0.0
- Add support for [user_url] and [user_website] shortcodes.
- Add support for [user_description] and [user_bio] shortcodes.
- Add TinyMCE editor button for easily adding shortcodes.
- Restructure plugin for extendability.
1.0.1
- Add support for [user_avatar] and [user_avatar_url].
1.0.0
- Initial Commit