• Resolved olie480

    (@olie480)


    You can also use this plugin directly in your template by function <?php get_ssb([$order]); ?>, where $order is a string with args ( example: $order = “googleplus=1&fblike=2&twitter=3” ) or an array ( example: $order = array(‘googleplus’ => 1, ‘fblike’ => 2, ‘twitter’ => 3) ). If you would like to hide a specified button, you should set order to “0”.

    Ummm… no you can’t do that, because that’s not valid PHP..

    <?php
    $order = array(‘googleplus’ => 1, ‘fblike’ => 2, ‘twitter’ => 3);
    get_ssb([$order]);
    ?>

    This does not work for me. Even my IDE is throwing an error about this statement.

    <?php get_ssb([$order]); ?>

    So how the heck do you use the template tags?!?!

    http://wordpress.org/extend/plugins/simple-social-buttons/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcodes?!?!’ is closed to new replies.