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 / Facebook Pop up Plugin for Blogger:
Last active Aug 29, 2015
Facebook Pop up Plugin for Blogger
View Facebook Pop up Plugin for Blogger:
<style type='text/css'>
#iamshemulpopup{
position: fixed;
top:100px;
z-index:9999;
display:none;
padding:0px;
right:600px;
border:10px solid rgba(82, 82, 82, 0.7);
-webkit-background-clip: padding-box; /* for Safari */
@shemul49rmc
shemul49rmc / Display related posts in Genesis based on Category
Created Oct 24, 2013
Display related posts in Genesis based on Category
View Display related posts in Genesis based on Category
@shemul49rmc
shemul49rmc / Styling the related posts in Genesis Theme
Created Oct 24, 2013
Styling the related posts in Genesis Theme
View Styling the related posts in Genesis Theme
@shemul49rmc
shemul49rmc / Display Related Posts in Genesis based on Tags
Created Oct 24, 2013
Display Related Posts in Genesis based on Tags
View Display Related Posts in Genesis based on Tags
@shemul49rmc
shemul49rmc / How to Edit 404 Page Error Message:
Created Oct 24, 2013
How to Edit 404 Page Error Message:
View How to Edit 404 Page Error Message:
<p><?php printf( __( 'The page you are looking for no longer exists. Perhaps you can return back to the site\'s <a href="%s">homepage</a> and see if you can find what you are looking for. Or, you can try finding it with the information below.', 'genesis' ), home_url() ); ?></p>
@shemul49rmc
shemul49rmc / How To Reduce the Number of Recent Posts in 404 Page:
Created Oct 24, 2013
How To Reduce the Number of Recent Posts in 404 Page
View How To Reduce the Number of Recent Posts in 404 Page:
<h4><?php _e( 'Recent Posts:', 'genesis' ); ?></h4>
<ul>
<?php wp_get_archives( 'type=postbypost&limit=100' ); ?>
</ul>
@shemul49rmc
shemul49rmc / How to Add Content Boxes and Color Buttons in Genesis
Last active Dec 26, 2015
How to Add Content Boxes and Color Buttons in Genesis
View How to Add Content Boxes and Color Buttons in Genesis
Add Content Boxes in Genesis:
<div class="content-box-blue">Enter your content box text here.</div>
Add Color Button in Genesis:
<a class="button-blue" href="#">Blue Button Link</a>
@shemul49rmc
shemul49rmc / Add Content Box CSS to Your Style Sheet
Created Oct 24, 2013
Add Content Box CSS to Your Style Sheet
View Add Content Box CSS to Your Style Sheet
/* Content Boxes
------------------------------------------------------------ */
.content-box-blue,
.content-box-gray,
.content-box-green,
.content-box-purple,
.content-box-red,
.content-box-yellow {
margin: 0 0 25px;
@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 / Remove Query Strings Script Version From Static Resources
Created Oct 24, 2013
Remove Query Strings Script Version From Static Resources
View Remove Query Strings Script Version From Static Resources
function _remove_script_version( $src ){
$parts = explode( '?ver', $src );
return $parts[0];
}
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
You can’t perform that action at this time.