WordPress.org

Forums

Slick Social Share Buttons
[resolved] Shortcode outside of content (4 posts)

  1. John
    Member
    Posted 2 years ago #

    Howdy,

    I'm trying to pop this shortcode elsewhere into my theme using the following code:

    <!-- START social share shortcode -->
    
    <?php
    $social_share = '[social_share/]' ;
    echo '#1', do_shortcode( $social_share );
    ?>
    
    <!-- END social share shortcode -->

    Specifically, I'd like to set it into my header, but am generally looking to know if I need to make modifications to make this happen, or if I just bungled the code.

    Thanks.

    http://wordpress.org/extend/plugins/slick-social-share-buttons/

  2. John
    Member
    Posted 2 years ago #

    *Note: echo '#1' is a tracer.

  3. remix4
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    The plugin doesnt have a shortcode option

  4. John
    Member
    Posted 2 years ago #

    Apologies, I mis-posted. I'm using Social Sharing Toolkit.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slick Social Share Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic