Title: Manually inserting share buttons
Last modified: August 20, 2016

---

# Manually inserting share buttons

 *  Resolved [lowlight](https://wordpress.org/support/users/lowlight/)
 * (@lowlight)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/)
 * Looking at the “Sharing” settings, we can apparently insert it anywhere we want,
   as opposed to manually inserting it below the content:
 * > Advanced. If this option is checked, you must include these files in your theme
   > manually for the sharing links to work.
 * However, I can’t find the actual code anywhere.
 * What is the code to insert the sharing buttons?
 * Thanks!
 * [http://wordpress.org/extend/plugins/jetpack/](http://wordpress.org/extend/plugins/jetpack/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [13 years, 6 months ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264565)
 * This option allows you to insert your own CSS and JS files for each sharing button,
   but won’t change their placement on your posts/pages.
 * If you want to add sharing buttons somewhere else in your template files, you
   can insert the following code somewhere in the Loop:
 * `<?php echo sharing_display(); ?>`
 * Another solution would be to use a shortcode to insert the buttons manually, 
   post by post. You can use this plugin to do so:
    [http://wordpress.org/extend/plugins/jetpack-sharing-butttons-shortcode/](http://wordpress.org/extend/plugins/jetpack-sharing-butttons-shortcode/)
 * If you want to remove the existing buttons from the bottom of your posts, you
   can add the following function in a new plugin, or in your theme’s functions.
   php file:
 *     ```
       function jptweak_remove_share() {
       	remove_filter( 'the_content', 'sharing_display',19 );
       	remove_filter( 'the_excerpt', 'sharing_display',19 );
       }
       add_action( 'loop_end', 'jptweak_remove_share' );
       ```
   
 *  [ilmattiapascal](https://wordpress.org/support/users/ilmattiapascal/)
 * (@ilmattiapascal)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264638)
 * the echo stuff works perfectly…but now i ve got two identical share areas.
 * I pasted the remove recipe in function.php but it doesn’t work..
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [13 years, 1 month ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264639)
 * If the code doesn’t work when adding it to your theme, could you remove it, and
   try installing this small plugin instead?
    [http://i.wpne.ws/OOCN](http://i.wpne.ws/OOCN)
 *  [ilmattiapascal](https://wordpress.org/support/users/ilmattiapascal/)
 * (@ilmattiapascal)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264640)
 * hey jeremy, thank you for your work with the small plugin; i tested it but nothing
   changed…i work with win 7, i m making a child (or better, a young frankenstein)
   theme of 2012, i ve got no other plugin installed than your nearly perfect jetpack.
 * I tried others plugin with share stuff, but i would prefer your. If you could
   solve this problem, it would be really perfect.
 *  [ilmattiapascal](https://wordpress.org/support/users/ilmattiapascal/)
 * (@ilmattiapascal)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264641)
 * normally i put <?php echo sharing_display(); ?> in my content.php .
    it works
   well because it is exactly where i want (at the bottom of the article, under 
   the post date and leave a comment. the problem is that the default ketpack plugin
   is above the date+leave a comment.
 * i could change it with dreamweaver but then i m afraid to have problem with some
   position elements..
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [13 years, 1 month ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264642)
 * Could you post your site URL here, so we can have a look?
 * If you want it to remain private, you can also contact us via this contact form:
   
   [http://en.support.wordpress.com/contact/?jetpack=needs-service](http://en.support.wordpress.com/contact/?jetpack=needs-service)
 *  [ilmattiapascal](https://wordpress.org/support/users/ilmattiapascal/)
 * (@ilmattiapascal)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264643)
 * i would like to give you a URL but sadly i m working in a localhost, soon i ll
   publish the site, but i m still building..:( maybe if u need some specific templates
   of mine, i can give u without problems.
 *  [Jauhari](https://wordpress.org/support/users/jauhari/)
 * (@jauhari)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264644)
 * How About New Features LIKE BOXES? How To Remove and add it manually?
 *  [heytricia](https://wordpress.org/support/users/tendigit/)
 * (@tendigit)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264664)
 * The function shown above worked until today – when I updated my jetpack plugin.
   I’d much rather place the buttons manually. Is there a new tweak that will make
   the function work again?
 *  [c](https://wordpress.org/support/users/igneous/)
 * (@igneous)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264665)
 * Would love to be able to do this as well. It’s the only reason I dont use the
   share buttons, because I want to have control over their placement.
 *  [Cassio Murilo](https://wordpress.org/support/users/cmcontato/)
 * (@cmcontato)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264666)
 * See my problem:
 * saude.ajudese.com.br
 * If you try to share a window will open and only one loop to the same page.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264667)
 * As per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topics.
    [http://wordpress.org/support/plugin/jetpack](http://wordpress.org/support/plugin/jetpack)

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Manually inserting share buttons’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [advanced](https://wordpress.org/support/topic-tag/advanced/)
 * [manual insertion](https://wordpress.org/support/topic-tag/manual-insertion/)
 * [sharing](https://wordpress.org/support/topic-tag/sharing/)

 * 12 replies
 * 8 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/manually-inserting-share-buttons/#post-3264667)
 * Status: resolved