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 / Add Color Button CSS to Your Style Sheet
Created Oct 24, 2013
Add Color Button CSS to Your Style Sheet
View Add Color Button CSS to Your Style Sheet
/* Color Buttons
------------------------------------------------------------ */
.button-blue,
.button-gray,
.button-green,
.button-purple,
.button-red,
.button-yellow {
color: #fff;
@shemul49rmc
shemul49rmc / How to Insert Image in 404 Page:
Created Oct 25, 2013
How to Insert Image in 404 Page:
View How to Insert Image in 404 Page:
<?php if (is_404() ){ ?>
<p><a href="your homepage URL, if you want to make it link, other wise delete this part"><img class=aligncenter src="http://i.imgur.com/igTYtrd.png" alt="404 page" width="400" height="383"></p>
<?php } ?>
@shemul49rmc
shemul49rmc / How To Add Beautiful Hacking University Like Email Subscription Widget To WordPress or Blogger
Created Oct 27, 2013
How To Add Beautiful Hacking University Like Email Subscription Widget To WordPress or Blogger
View How To Add Beautiful Hacking University Like Email Subscription Widget To WordPress or Blogger
<style type='text/css'>#sidebar-subscribe-box{background:url(http://1.bp.blogspot.com/-IyEBRR8yOQQ/UBhYdBd23PI/AAAAAAAAFTU/aeW3JdAlrCs/s1600/colored-strip.png) repeat scroll 0 0 transparent;border:1px solid #aaa;border-radius:3px;padding:3px 0}.sidebar-subscribe-box-wrapper{background:url(http://2.bp.blogspot.com/-tUlo5p5gP8o/UBhYciGNgwI/AAAAAAAAFTM/x22pIuNLVPw/s1600/bg-pattern.png) repeat scroll 0 0 #f7f7f7;color:#111;font-size:14px;line-height:20px;padding:1px 20px 10px;text-align:center;text-transform:uppercase}.sidebar-subscribe-box-form{clear:both;display:block;margin:10px 0}form.sidebar-subscribe-box-form{clear:both;display:block;margin:10px 0 0;width:auto}.sidebar-subscribe-box-email-field{-moz-border-radius:4px;-webkit-border-radius:4px;background:#fff url(http://1.bp.blogspot.com/-JMYdQsIa9WQ/UDZqxqqrTEI/AAAAAAAAFho/AocEv70U8K8/s1600/sprites.png) no-repeat 0 -27px;border:1px solid #ccc;border-radius:4px;color:#444;margin:0 0 15px;padding:10px 40px;width:68%}.sidebar-subscribe-box-email-button{backgro
@shemul49rmc
shemul49rmc / How To Add Beautiful Hacking University Like Email Subscription
Created Oct 27, 2013
How To Add Beautiful Hacking University Like Email Subscription
View How To Add Beautiful Hacking University Like Email Subscription
<center><img src="http://i1160.photobucket.com/albums/q486/shemul49rmc/GIF_Mail_By_Shemul49rmcwwwhowtomedinfo24com_zps477668c5.gif"></center>
@shemul49rmc
shemul49rmc / Add Floating Sidebar Social Share Buttons
Created Oct 27, 2013
Add Floating Sidebar Social Share Buttons
View Add Floating Sidebar Social Share Buttons
<!–SideBar Floating Share Buttons by http://iamshemul.com/ Code Start–>
<style>
#pageshare {position:fixed; bottom:15%; right:10px; float:left; border: 1px solid black; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;background-color:#eff3fa;padding:0 0 2px 0;z-index:10;}
#pageshare .sbutton {float:left;clear:both;margin:5px 5px 0 5px;}
.fb_share_count_top {width:48px !important;}
.fb_share_count_top, .fb_share_count_inner {-moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small, .FBConnectButton_RTL_Small {width:49px !important; -moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small .FBConnectButton_Text {padding:2px 2px 3px !important;-moz-border-radius:3px;-webkit-border-radius:3px;font-size:8px;}
</style>
<div id='pageshare' title="Share This With Your Friends">
@shemul49rmc
shemul49rmc / Add Floating Social Share Buttons
Created Oct 27, 2013
Add Floating Social Share Buttons
View Add Floating Social Share Buttons
<div class='sbutton' id='gb'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like layout="box_count" show_faces="false" font=""></fb:like></div>
@shemul49rmc
shemul49rmc / Add Additional Menu in Thesis Theme
Created Oct 28, 2013
Add Additional Menu in Thesis Theme
View Add Additional Menu in Thesis Theme
register_nav_menu('secondary', 'Secondary Menu');
function secondary_menu() {
wp_nav_menu( array( 'container_class' => 'secondary_menu', 'theme_location' => 'secondary' ) );
}
add_action('thesis_hook_after_header','secondary_menu');
View Add the top navigation menu
/* Add the top navigation menu */
/* Links need to be manually added here, change the link to your own page. This menu isn't supported by Thesis */
function topnav_menu() {
?>
<ul id="topnav">
<li><a href="http://iamshemul.com/">Home</a></li> |
<li><a href="http://iamshemul.com/about-iamshemul-com/">About</a></li> |
<li><a href="http://howto.medinfo24.com/archives/">Archives</a></li> |
<li><a href="http://iamshemul.com/contact/">Contact</a></li> |
<li><a href="http://iamshemul.com/contact/">Sitemap XML</a></li>
@shemul49rmc
shemul49rmc / Move The Category Nav Menu Below Header
Created Oct 28, 2013
Move The Category Nav Menu Below Header
View Move The Category Nav Menu Below Header
remove_action('thesis_hook_before_header', 'thesis_nav_menu');
add_action('thesis_hook_after_header', 'thesis_nav_menu');
View Styling the Additional menu
/* Top Nav bar */
.custom ul#topnav {
border-style: none;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
background:#E4E4E4 none repeat scroll 0 0;
width: 100%;
float: left;
}
You can’t perform that action at this time.