WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jpmizell
    Member
    Posted 1 year 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. jpmizell
    Member
    Posted 1 year ago #

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

  3. remix4
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    The plugin doesnt have a shortcode option

  4. jpmizell
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic