Adds a LinkedIn share button to posts and pages, allowing your visitors to easily and quickly share your content with their LinkedIn network.
Yes. If you uncheck all the options for displaying the button you can manually add the button on posts and pages by selecting "show the button" in the LinkedIn Button options when editing a post or page.
Yes! When you visit the 'Settings -> LinkedIn Button' screen, the plugin will look for an image named 'linkedin-button.png' or 'linkedin-button.gif' inside the 'images' directory of your current active theme. If it finds one, it'll show up and you can select it.
Yes. The buttons have a class name of 'linkedin_share_button' and if you're displaying the button using one of the automatic settings then it will be contained within a div with class name 'linkedin_share_container'.
Yes:
<?php do_action( 'linkedin_button' ); ?>
Or, if you wish, you can use the function directly:
<?php linkedin_button(); ?>
This function takes two optional parameters: a post ID (defaults to the current post ID) and a boolean to control whether or not to echo the button (defaults to true).
If you use either of these methods then the button will always display, irrespective of your settings on the 'Settings -> LinkedIn Button' screen.
Yes. Your custom post type will need to add support for the 'linkedinbutton' feature:
function my_linkedin_button_support() {
add_post_type_support( 'put_your_post_type_here', 'linkedinbutton' );
}
add_action( 'init', 'my_linkedin_button_support' );
Requires: 2.9 or higher
Compatible up to: 3.3.1
Last Updated: 2011-12-13
Downloads: 11,244




