Lana Facebook Share Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
Facebook like and share button.
Without settings page and database connection, due to speed optimization.
Position settings with add_filter:
/** content before default: false */
add_filter( 'lana_fb_share_content_before', '__return_false' );
/** content after default: true */
add_filter( 'lana_fb_share_content_after', '__return_true' );
Post type settings with filter:
/** content before in post default: false */
add_filter( 'lana_fb_share_content_before_in_post', '__return_false' );
/** content after in post default: true */
add_filter( 'lana_fb_share_content_after_in_post', '__return_true' );
/** hide in post default: false */
add_filter( 'lana_fb_share_hide_in_post', '__return_false' );
Page type settings with filter:
/** content before in page default: false */
add_filter( 'lana_fb_share_content_before_in_page', '__return_false' );
/** content after in page default: true */
add_filter( 'lana_fb_share_content_after_in_page', '__return_true' );
/** hide in page default: false */
add_filter( 'lana_fb_share_hide_in_page', '__return_false' );
Page type and custom page template settings with filter:
get_page_template_slug(), example: page-contact.php
/** content before in page template default: false */
add_filter( 'lana_fb_share_content_before_in_{template_slug}', '__return_false' );
/** content after in page template default: true */
add_filter( 'lana_fb_share_content_after_in_{template_slug}', '__return_true' );
/** hide in page template default: false */
add_filter( 'lana_fb_share_hide_in_{template_slug}', '__return_false' );
Available shortcodes:
[lana_fb_share]
Facebook like and share button
[lana_fb_hide]
Hide default Facebook like and share button