Skip to content

Instantly share code, notes, and snippets.

shemul49rmc

Block or report user

Report or block shemul49rmc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shemul49rmc
shemul49rmc / CSS Slide Rollover Animation Social Links
Last active Dec 29, 2015
CSS Slide Rollover Animation Social Links
View CSS Slide Rollover Animation Social Links
View CSS Slide Rollover Animation
.social-slide {
height: 48px;
width: 48px;
margin: 10px;
float: left;
-webkit-transition: all ease 0.3s;
-moz-transition: all ease 0.3s;
-o-transition: all ease 0.3s;
-ms-transition: all ease 0.3s;
transition: all ease 0.3s;
@shemul49rmc
shemul49rmc / Flat Metro Style Social Share Buttons
Last active Dec 28, 2015
Flat Metro Style Social Share Buttons
View Flat Metro Style Social Share Buttons
/*social sharing buttons by http://iamshemul.com/?p=2514 Keep it for update*/
.social a{
width: 120px;
display: block;
padding: 5px;
margin: 5px;
float: left;
font-size: 18px;
text-align: center;
text-decoration: none;
@shemul49rmc
shemul49rmc / Change Comment is Awaiting Moderation Text
Created Nov 4, 2013
Change Comment is Awaiting Moderation Text
View Change Comment is Awaiting Moderation Text
//Change Comment is Awaiting Moderation Text*http://goo.gl/BdY3R1//
add_filter( 'genesis_comment_awaiting_moderation', 'change_genesis_comment_awaiting_moderation' );
function change_genesis_comment_awaiting_moderation() {
return 'Thanks for the Comment. It is waiting for approval. Meanwhile visit the other section.';
}
@shemul49rmc
shemul49rmc / Fast Loading Colorful Social Share Buttons
Created Nov 2, 2013
Fast Loading Colorful Social Share Buttons
View Fast Loading Colorful Social Share Buttons
/*social sharing buttons by http://goo.gl/qL28jk Keep it for update*/
.social a{
display:inline-block;
margin:1px 2px 5px 0;
padding:3px 3px;
color:#fff;
text-align:center;
text-decoration:none;
border-radius:5px;
-moz-border-radius:5px;
@shemul49rmc
shemul49rmc / Add Facebook and Twitter with Share Counts
Created Nov 2, 2013
Add Facebook and Twitter with Share Counts
View Add Facebook and Twitter with Share Counts
<div>
<iframe allowtransparency="true" frameborder="0" scrolling="no"
src="https://platform.twitter.com/widgets/tweet_button.html"
style="width:130px; height:20px;"></iframe>
</div>
<?php
echo '<iframe src="http://www.facebook.com/widgets/like.php?href=';
echo the_permalink();
echo ' "scrolling="yes" frameborder="0" style="border:none; width:450px;height:70px"></iframe>'
?>
@shemul49rmc
shemul49rmc / Social Share Buttons Without Javascript or Plugins_codes
Created Nov 2, 2013
Fast Loading Colorful Social Share Buttons Without Javascript or Plugins
View Social Share Buttons Without Javascript or Plugins_codes
<div class="social">
<p>Share This Post on:</p>
<!--Facebook-->
<a class="facebook" href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>">Facebook</a>
<!--Twitter-->
<a class="twitter" href="http://twitter.com/home/?status=<?php the_title();?> - <?php echo wp_get_shortlink();?> via @Shemul49rmc "title="Tweet this!" rel="nofollow" target="_blank">Twitter</a>
<!--Google Plus-->
<a class="google-plus" target="_blank" href="https://plus.google.com/share?url=<?php the_permalink(); ?>" onclick="window.open('https://plus.google.com/share?url=<?php the_permalink(); ?>','gplusshare','width=600,height=400,left='+(screen.availWidth/2-225)+',top='+(screen.availHeight/2-150)+'');return false;">Google+</a>
<!--Reddit-->
<a class="reddit" href="http://www.reddit.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Reddit" rel="nofollow" target="_blank">Reddit</a>
@shemul49rmc
shemul49rmc / Add Facebook “Like” Button To Each Post In Thesis Without Plugin
Created Nov 1, 2013
Add Facebook “Like” Button To Each Post In Thesis Without Plugin
View Add Facebook “Like” Button To Each Post In Thesis Without Plugin
function fb_like() {
if (is_single()) { ?>
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px;"></iframe>
<?php }
}
add_action('thesis_hook_after_post','fb_like');
@shemul49rmc
shemul49rmc / Add Social Share Buttons
Last active Dec 27, 2015
Add Social Share Buttons
View Add Social Share Buttons
<b>Share This:</b>
<a target="_blank" href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>"> <img src="http://i.minus.com/i1UqMXjOhoUzH.jpg" alt="Facebook" width="64" height="64"></a> |
<a href="http://twitter.com/share?text=<?php echo urlencode(the_title()); ?>&url=<?php echo urlencode(the_permalink()); ?>&via=shemul49rmc&related=<?php echo urlencode("shemul49rmc:Support me"); ?>" title="Share on Twitter" rel="nofollow" target="_blank"><img src="http://i.minus.com/ibmtAwKz1BAcLO.png" alt="Twitter" width="64" height="64"></a> |
<a href="https://plus.google.com/share?url=<?php the_permalink(); ?>" onclick="window.open('https://plus.google.com/share?url=<?php the_permalink(); ?>','gplusshare','width=600,height=400,left='+(screen.availWidth/2-225)+',top='+(screen.availHeight/2-150)+'');return false;"><img src="http://i.minus.com/izAImJGqELkX1.png" alt="Google Plus" width="64" height="64"></a> |
<div>
<a href="http://www.reddit.com/submit?url=<?php the_permalink(); ?>&amp
View Google +1 Button script
Search for </head>
Add below code just above it:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
If you had added jquery previously, then you dont need it. View the page source and find for "jquery/1.7.2/"
Step 2 : Add Google +1 Button script
You can’t perform that action at this time.