How can i add Social bookmarks under each post without entering shortcode every time and to be with animation?
i have added shortcode to one of my post but icons are too small so i tryed to use larger icons as example [bookmarks url="" style="padding-left: 5px; padding-right: 5px" options="iconfolder=24x24"]
before that i added CSS code from example to style
but icons didnt show just text links im using default buddypress theme.Can someone explain me where to put php code from examples to automaticaly add bookmarks at end every post in buddypress theme and to have large icons 24×24.Sorry for bothering and tthanks 🙂
guess i find it 😛 buddypress theme default
<?php if (function_exists('simple_social_bookmarks')) : ?>
<?php echo "<p>Share</p>\n"; ?>
<?php echo simple_social_bookmarks('','','','iconfolder=32x32&default=off&facebook=on&twitter=on&stumbleupon=on&email=on&&target=_blank'); ?>
<?php endif; ?>
should be added in single.php right after
<div class="entry">
<?php the_content( __( 'Read the rest of this entry →', 'buddypress' ) ); ?>
and all that should be looking like this
<div class="entry">
<?php the_content( __( 'Read the rest of this entry →', 'buddypress' ) ); ?><?php if (function_exists('simple_social_bookmarks')) : ?>
<?php echo "<p>Share</p>\n"; ?>
<?php echo simple_social_bookmarks('','','','iconfolder=40x40&default=off&facebook=on&twitter=on&stumbleupon=on&email=on&&target=_blank'); ?>
<?php endif; ?>
and icons will show under each post without thinking did i add it or not 🙂
any chance for youtube or soundcloud?
Any minute now I’ll be publishing a post on my site (artiss.co.uk) that will show you how to do just this – automatically display the bookmarks on any site. My intention is to add this function to a future release of the plugin.
David.