• Resolved Todd

    (@toddneufeld)


    So far I’m loving Social Media Feather!

    I’m having trouble changing the icon size in the template tag. What’s the correct syntax? I tried a few variations of this:

    <?php if (function_exists(‘synved_social_follow_markup’)) echo synved_social_follow_markup(‘size=16’); ?>

    What am I missing here?

    -Todd

    https://www.ads-software.com/plugins/social-media-feather/

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can use:
    <?php do_shortcode('[feather_follow size="16"]') ?>

    Thread Starter Todd

    (@toddneufeld)

    Thanks! For some reason that’s not working in my footer.php file. I have a workaround where I put the Feather shortcode in a Spot, and pull that in, but it’s not an elegant solution.

    If you want to use the function, you can pass in the same parameters as the shortcodes (using the exact same parameter names) in an array as the third parameter, like this:
    <?php if (function_exists('synved_social_follow_markup')) echo synved_social_follow_markup(null, null, array('size' => 16)); ?>

    Thread Starter Todd

    (@toddneufeld)

    Perfect. Thanks!

    -Todd,
    p.s. I love the extra skins. Especially the balloon one. Thanks for making those available!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to vary parameters in Template Tag?’ is closed to new replies.