plugin page. Author: Alexander Dichev Author URI: http://dichev.com/ */ function add_me($content) { // Hello global $post; // DIV-width in percents or pixels (Example: "90%" or "450px") $my_width = '100%'; // Alignment of the buttons ("left", "right" or "center") $my_align = 'center'; // Location of the folder with the icons of the buttons $my_images_folder = get_settings('home') . '/wp-content/plugins/add-me-dichev/images/'; // We take the post details in the following variables $my_link = get_permalink($post->ID); $my_title = get_the_title($post->ID); // And now we siply render all the links. // You can add or delete (comment) some lines to modify the buttons // If you add a new network button // do not forget to upload an image for the button // default image size is 16 x 16 pixels if ( !is_feed() && !is_page() ) { $content .= "\n\n" . '' . "\n" . '' . "\n" . '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n" . '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '
' . "\n"
. '