WordPress.org

Ready to get started?Download WordPress

Forums

Social Web Links
Use Social Web Links Plugin with Shortcode or Template Tag (5 posts)

  1. Andy
    Member
    Posted 3 years ago #

    Hey Nischal

    Love the plugin and just wondering if there is any way to call it into a page or post via a shortcode or template tag?

    Thanks and keep up the great work

    Andy

    http://wordpress.org/extend/plugins/social-web-links/

  2. Nick
    Member
    Plugin Author

    Posted 3 years ago #

    Update to latest plugin

  3. Andy
    Member
    Posted 3 years ago #

    Thanks

    How would I call the plugin via php?

    I have tried both

    <?php echo social-web-links(): ?>

    and

    <?php social-web-links(): ?>

    to no luck.

    Any ideas?

    Thanks

    Andy

  4. Andy
    Member
    Posted 3 years ago #

    I have also tried

    <?php echo do_shortcode("[social-web-links]"); ?>
    <?php echo do_shortcode('[social-web-links-tag]'); ?>

    but neither work

  5. noizeburger
    Member
    Posted 3 years ago #

    You nearly had it - this one works for me to output a horizontal list of links (found it in social-web-links-functions.php):

    <?php echo get_horizontal_social_web_links(); ?>

    for vertical output, maybe this works:
    <?php echo get_vertical_social_web_links(1); ?> - seems that you have to try to replace the (1) witch (2) or leave it empty.
    Looks like you've solved the problem, as this post is 4 weeks old.

    Maybe someone needs this, like me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic