It does nothing by itself, so you need to code some logic that handles user selection.
This shortcode allows you to display a dropdown select listing (all the) authors from your blog.
The dropdown does nothing by itself… meaning that you need to code some logic that handles user selection. You can find it useful to selectively display author information based on user selection.
It can be used anywhere within WordPress where shortcodes are supported. For most users, this will primarily be within the content of a WordPress post or page.
A trivial shortcode to display the Molongui Author Dropdown looks like this:
For your convenience as a coder, you can also modify <select> attributes. The markup you will get is shown below:
To customize which authors to list you can use the shortcode with additional attributes. For your convenience as a coder, you can also modify <select> attributes.
Check out below all the available attributes you have available: