View html Font Awesome
/*
HTML for Social Links using Font Awesome
*/
<ul class="list-inline social">
<li>
<a href="https://www.facebook.com/" target="_blank"><i class="fa fa-facebook"> </i></a></li>
<li><a href="https://twitter.com/" target="_blank"><i class="fa fa-twitter"> </i></a></li>
<li><a rel="publisher" href="https://plus.google.com/" target="_blank"><i class="fa fa-google-plus"> </i></a>
</li><li><a href="https://www.pinterest.com/" target="_blank"><i class="fa fa-pinterest"> </i></a></li>
View style.css
/*
CSS for Social Links using Font Awesome
*/
.fa {
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
}
View functions.php
remove_action( 'wp_head', 'feed_links' );
remove_action( 'wp_head', 'rsd_link');
View functions.php
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' );
View sample-head-meta-tags.html
<title>The page title with 55 characters or less</title>
<meta name="description" content="A catchy page description with 155 characters or less that matches your page content." />
<meta name="keywords" content="lower case matching keywords with less as more" />
View style.css
/** 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;
View Functions.php
/** 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();
View style.css
.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;
View functions.php
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 }
}
View functions1.php
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 }
}