Support » Plugin: Social Web Links » Use Social Web Links Plugin with Shortcode or Template Tag

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nick

    (@nischalmaniar)

    Update to latest plugin

    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

    I have also tried

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

    but neither work

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Use Social Web Links Plugin with Shortcode or Template Tag’ is closed to new replies.