This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Social */ | |
function social_after_content() { | |
if ( 'post' == get_post_type() && is_single() ) { | |
echo'<div class="ss"><a class="btn btn-facebook" rel="nofollow" target="_blank" href="http://www.facebook.com/sharer.php?u='; | |
echo the_permalink(); | |
echo'&t='; | |
echo the_title(); | |
echo'">Facebook</a> '; | |
echo'<a target="_blank" class="btn btn-google" href="https://plus.google.com/share?url='; | |
echo the_permalink(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function add_author_bio() { | |
if ( !is_singular( array( 'post', 'page' ) )) return; | |
{ ?> | |
<div class="postauthor"> | |
<?php echo get_avatar( get_the_author_id() , 120 ); ?> | |
<h4>About Jeffrey Michael</h4> | |
<p><?php the_author_description(); ?></p> | |
</div> | |
<?php } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function add_author_bio() { | |
if ( !is_singular( array( 'post', 'page' ) )) return; | |
{ ?> | |
<div class="postauthor"> | |
<?php echo get_avatar( get_the_author_id() , 120 ); ?> | |
<h4>About the Author</h4> | |
<p><?php the_author_description(); ?></p> | |
</div> | |
<?php } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.about { | |
background-color: #e5e5e5; | |
border-bottom: 1px solid #eee; | |
padding: 30px; | |
padding: 3rem; | |
text-align: center; | |
} | |
.postauthor { | |
margin: 30px 0 50px; | |
margin: 3rem 0 5rem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Simple Social Sharing Buttons for WordPress Genesis */ | |
function social_after_content() { | |
if ( 'post' == get_post_type() && is_single() ) { | |
echo'<div class="ss"><a class="btn btn-facebook" rel="nofollow" target="_blank" href="http://www.facebook.com/sharer.php?u='; | |
echo the_permalink(); | |
echo'&t='; | |
echo the_title(); | |
echo'">Facebook</a> '; | |
echo'<a target="_blank" class="btn btn-google" href="https://plus.google.com/share?url='; | |
echo the_permalink(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Styles for Simple Social Sharing Buttons for WordPress Genesis */ | |
.btn-tweet { | |
background-color: #41b7d8; | |
border-color: #41b7d8;; | |
} | |
.btn-tweet:hover, | |
a .btn-tweet:hover { | |
background-color: #238caa; | |
border-color: #238caa; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); | |
remove_action( 'wp_print_styles', 'print_emoji_styles' ); | |
remove_action( 'admin_print_styles', 'print_emoji_styles' ); | |
remove_action( 'wp_head', 'index_rel_link' ); | |
remove_action( 'wp_head', 'parent_post_rel_link', 10, 0 ); | |
remove_action( 'wp_head', 'start_post_rel_link', 10, 0 ); | |
remove_action( 'wp_head', 'adjacent_posts_rel_link', 10, 0 ); | |
remove_action( 'wp_head', 'wp_generator' ); | |
remove_action( 'wp_head', 'rest_output_link_wp_head' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_action( 'wp_head', 'feed_links' ); | |
remove_action( 'wp_head', 'rsd_link'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CSS for Social Links using Font Awesome | |
*/ | |
.fa { | |
font-family: FontAwesome; | |
font-style: normal; | |
font-weight: normal; | |
line-height: 1; | |
} |
OlderNewer