Shortcodes

Content Shortcodes

You can embed Share buttons with pasting the following shortcodes directly into your post content with the WordPress post editor

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"]

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