Title: Code snippet
Last modified: August 24, 2016

---

# Code snippet

 *  Resolved [DjoleNS](https://wordpress.org/support/users/djolens/)
 * (@djolens)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/code-snippet/)
 * Hi there,
 * I need your assistance. Is there a code snippet which I can add to my custom 
   post types? Right now, buttons are appearing under content from editor, but my
   custom post types have some specific fields, and I wish to display them under
   everything.
    How this can be achieved?
 * Thank you
 * [https://wordpress.org/plugins/add-to-any/](https://wordpress.org/plugins/add-to-any/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [micropat](https://wordpress.org/support/users/micropat/)
 * (@micropat)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/code-snippet/#post-6064471)
 * You can place this line of PHP code wherever you need share buttons in your theme:
   `
   <?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT();}?
   >`
 * More information in the plugin FAQs:
    [https://wordpress.org/plugins/add-to-any/faq/](https://wordpress.org/plugins/add-to-any/faq/)

Viewing 1 replies (of 1 total)

The topic ‘Code snippet’ is closed to new replies.

 * ![](https://ps.w.org/add-to-any/assets/icon.svg?rev=972738)
 * [AddToAny Share Buttons](https://wordpress.org/plugins/add-to-any/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/add-to-any/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/add-to-any/)
 * [Active Topics](https://wordpress.org/support/plugin/add-to-any/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-to-any/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-to-any/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [micropat](https://wordpress.org/support/users/micropat/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/code-snippet/#post-6064471)
 * Status: resolved