Shortcodes

Content Shortcodes

You can embed Share buttons with pasting the following shortcodes directly into your post content with the WordPress post editor. All parameters can be combined. E.g. This would be a valid shortcode: [mashshare shares="false" networks="facebook,twitter,linkedin" services="3" size="small"]

1
Embed Share Buttons in pages or posts : [mashshare]
2
Buttons without sharecount : [mashshare shares="false"]
3
Sharecount only : [mashshare buttons="false"]
4
Share buttons alignment : [mashshare shares="false" buttons="true" align="left|right"]
5
Shortcode in template files via php : <?php echo do_shortcode('[mashshare]'); ?>
6
Custom url : [mashshare url="http://www.google.de"]
7
Custom share text : [mashshare text="This is my custom share text"]
8
Custom Networks : [mashshare networks="facebook,twitter,linkedin"]
9
Custom Size : [mashshare size="small | medium | large"]
10
Visible networks before plus button: [mashshare services="3"]
11
Show icon buttons only [mashshare icons="1"]

PHP Shortcode

If you need to place the shortcodes directly into your WordPress theme files use the following syntax:

<?php echo do_shortcode('[mashshare]'); ?>

You Can Combine Them

You can combine all these shortcode parameters in one shortcode
[mashshare shares="false" buttons="true" align="right" text="This is my custom text" url="http://www.google.de"]

Still need help? Contact Us Contact Us