Brian Gardner bgardner

View style.css
1 2 3 4 5 6 7 8 9 10
.site-footer {
 
/* fallback */
background-color: #333;
 
/* Safari, Chrome */
background: -webkit-linear-gradient(top, #555, #333);
 
/* Firefox */
background: -moz-linear-gradient(top, #555, #333);
View single.php
1 2 3 4 5 6 7 8 9 10
<?php
 
//* Custom entry navigation
add_action( 'genesis_after_entry', 'unfiltered_entry_nav', 9 );
function unfiltered_entry_nav() {
 
echo '<div class="entry-nav">';
next_post_link( '%link', '') ;
previous_post_link( '%link', '' );
echo '</div>';
View customize.php
1 2 3 4 5 6 7 8 9
<?php
//* Do NOT include the opening php tag
//* Customize the entry meta in the entry footer
add_filter( 'genesis_post_meta', 'bg_post_meta_filter' );
function bg_post_meta_filter($post_meta) {
$post_meta = '[post_categories] [post_tags]';
return $post_meta;
}
View customize.php
1 2 3 4 5 6 7 8 9
<?php
//* Do NOT include the opening php tag
//* Customize the entry meta in the entry header
add_filter( 'genesis_post_info', 'bg_post_info_filter' );
function bg_post_info_filter($post_info) {
$post_info = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]';
return $post_info;
}
View genesis-box-widget.php
1 2 3 4 5 6 7 8 9
<?php
//* Do NOT include the opening php tag
//* Register Genesis box widget area
genesis_register_sidebar( array(
'id' => 'genesis-box',
'name' => __( 'Genesis Box', 'themename' ),
'description' => __( 'This is a widget area that can be placed after the post', 'themename' ),
) );
View functions.php
1 2 3 4 5 6 7 8
<?php
//* Do NOT include the opening php tag
 
//* Unregister primary sidebar
unregister_sidebar( 'sidebar' );
 
//* Unregister secondary sidebar
unregister_sidebar( 'sidebar-alt' );
View functions.php
1 2 3 4 5 6 7 8 9 10
<?php
//* Do NOT include the opening php tag
 
//* Register code custom post type
add_action( 'init', 'code_post_type' );
function code_post_type() {
register_post_type( 'code',
array(
'labels' => array(
'name' => __( 'Code' ),
View color-buttons.css
1 2 3 4 5 6 7 8 9 10
/* Color Buttons
------------------------------------------------------------ */
 
.button-blue,
.button-gray,
.button-green,
.button-purple,
.button-red,
.button-yellow {
color: #fff;
View archive-stream.php
1 2 3 4 5 6 7 8 9 10
<?php
 
//* Remove the Genesis post content and replace with WordPress
remove_action( 'genesis_post_content', 'genesis_do_post_content' );
add_action( 'genesis_post_content', 'the_content' );
 
//* Remove the post title
remove_action( 'genesis_post_title', 'genesis_do_post_title' );
 
//* Relocate the post info function
View cta-blue.css
1 2 3 4 5 6 7 8 9 10
/*
CTA Button - Blue
------------------------------------------------------------ */
 
a.cta-button-blue {
background-color: #77c4d5;
box-shadow: 0 4px 0 0 #66abbd;
}
 
a.cta-button-blue:hover {
Something went wrong with that request. Please try again.