Support » Plugin: AddToAny Share Buttons » Conclusion of buttons by code, in the right place

  • Resolved rsl89

    (@rsl89)


    Hello.
    The standard location of buttons (post, comment, etc.) does not suit me. How do I make the buttons appear using the code in the place I want?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author micropat

    (@micropat)

    You can add an “AddToAny Share” widget to your theme in Appearance > Customize.

    You can use the [addtoany] shortcode in content.

    You can edit your theme’s PHP code to manually place the share buttons in your theme.

    Thread Starter rsl89

    (@rsl89)

    In the Theme Editor (or another code editor), place this code block where you want the button and individual icons to appear in your theme:
    <?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT(); } ?>

    I pasted this code in the place I needed on the site, but the buttons were not displayed

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.