'1', 'on_front' => '1', 'on_page' => '1', 'on_post' => '1', 'on_category' => '1', 'on_archive' => '1', 'on_blog' => '1' ); return $defaults; } // SET plugin function ptmbg_pitbtn_set_plugin() { if (get_option('ptmbg_pitbtn_options')==false) { add_option('ptmbg_pitbtn_options', ptmbg_pitbtn_set_default_options() ); } } // SET default options register_activation_hook( __FILE__, 'ptmbg_pitbtn_set_plugin' ); add_action( 'plugins_loaded', 'ptmbg_pitbtn_set_plugin' ); function ptmbg_pitbtn_menu_options() { add_options_page('Animated Pinterset "Pin It" Button for Images', 'Animated Pinterset "Pin It" Button for Images!', 'manage_options', 'ptmbg_pitbtn_settings', 'ptmbg_pitbtn_admin_options_page'); } function ptmbg_pitbtn_plugin_settings_filter( $links ) { $settings_link = '' . __( 'Settings', 'manage_options' ) . ''; array_unshift( $links, $settings_link ); return $links; } $ptmbg_pitbtn_plugin = plugin_basename( __FILE__ ); add_filter( "plugin_action_links_$ptmbg_pitbtn_plugin", 'ptmbg_pitbtn_plugin_settings_filter' ); // Load the Admin Options page if (is_admin()){ add_action('admin_menu', 'ptmbg_pitbtn_menu_options'); add_action('admin_init', 'ptmbg_pitbtn_admin_init'); } else { add_action('wp_footer' , 'ptmbg_pitbtn_add_footer_script'); } function ptmbg_pitbtn_admin_init() { register_setting('ptmbg_pitbtn_options','ptmbg_pitbtn_options','ptmbg_pitbtn_options_validate'); } function ptmbg_pitbtn_admin_options_page() { $options = get_option('ptmbg_pitbtn_options'); ?>

Animated Pinterset "Pin It" Button for Images

You can visit PinItButton.com, register as free and see all features.

Check on which pages you want the Pinterest button to show up.
Uncheck all if you'd like the "Pin it" button to not show.

value="1" />
value="1" />
value="1" />
value="1" />
value="1" />
value="1" />
value="1" />