This plugin is an extension to the WP-LinkedIn plugin that enables showing LinkedIn profiles, recommendations and network updates for any registered user.
Please note that any LinkedIn user for whom you want to show the LinkedIn profile will need a corresponding WordPress profile and will have to manually, by themselves, connect both profiles. You can use the
[li_token_button] to offer a customized page from which your users will be able to do so.
By default, the behavior of the WP-LinkedIn plugin will be changed so that shortcodes and widgets show the data of the author of the post or page. If the plugin cannot decide whose data to show (e.g. on the home page or archive pages) you can configure it to either show nothing or a specific user’s data.
This plugin also extends the
[li_profile] shortcode and other shortcodes with a new set of attributes that allow to specify which user’s profile to show.
[li_profile id="1"]will show the profile of the user with id 1.
[li_profile name="admin"]will show the profile of the user whose username is
[li_profile email="firstname.lastname@example.org"]will show the profile of the user
whose email is
When specifying the
id attribute, you can also indicate keywords instead of explicit ids, the id will be calculated automatically depending on the keyword:
author: is the author of the post, page or archive.
current: is the currently logged in user (if no user is logged in an error message will be displayed).
bp_displayed: support for BuddyPress, shows the currently displayed BuddyPress profile.
bp_current: support for BuddyPress, shows the currently logged in BuddyPress user.
Additionally the plugin also provides the
[li_token_button] shortcode that displays a “Regenerate Token” button on any post or page. Optional attributes for that shortcode are:
button_label: the label on the button.
after_error: HTML code to put before and after an error message.
after_success: HTML code to put before and after a success message.
redir: the URL where the user should be redirected to in case of success. If
rediris not provided the user will be redirected to the current page.
[li_user] shortcode has been deprecated and the recommended method is now to use the extended attributes to explicitly set the user.
Image Credits: Nan Palmero