User Info Display
Displays user info using a shortcode that can be placed in a post, page or widget or with template tags that can be added directly to your theme files. If the user has a Gravatar, it will be included as well. The information is pulled from the user’s WordPress profile. Plugin Website. Support in com
Displays user info using a shortcode that can be placed in a post, page or widget or with template tags that can be added directly to your theme files. If the user has a Gravatar, it will be included as well. The information is pulled from the user’s WordPress profile.
Plugin Website. Support in comments.
A closer look.
To install the plugin and get it working.
- 01Upload user-info-display.php to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Place [userinfo] in your posts, pages or widgets
- 04You can include the following attributes: id = the user’s id, defaults to author of current post/page
- 05align = right or left, aligns the Gravatar. If not included, will default to left.
- 06name = yes or no, will include the user’s name or not
- 07email = yes or no, will include the user’s email, a link from the user’s name. Name attribute must either not be included or be included and have the value ‘no’
- 08url = yes or no, will include the user’s url, if available. Will display after the description.
- 09To= use directly in your template files use the format: uinfo_display($id, $align, $name, $email, $url);
- 10eg: uinfo_display(1, “left”, “yes”,”no”, $no);
- 11All of the attributes/function arguments are optional, but if you omit one from the template tag you must leave in the comma eg: uinfo_display(); uinfo_display(34);
- 12uinfo_display(47, “right”, ,”no”, “no”);