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
<?php | |
/** | |
* This file adds the Home Page to the Pretty Theme. | |
* | |
* @author Lindsey Riel | |
* @package Pretty | |
*/ | |
//* Force full-width-content layout setting | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); |
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
<?php | |
/** | |
* Template Name: Daily Template | |
* Description: Used as a page template to show page contents, followed by a loop | |
* through the "Daily" category | |
*/ | |
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
<div class="one-third first"> | |
<ul class="serif-list"> | |
<li><a href="maker/about">About</a></li> | |
<li><a href="maker/about">What We Do</a></li> | |
<li><a href="maker/about">Blog</a></li> | |
</ul> | |
</div> | |
<div class="two-thirds"> | |
This is an example of a WordPress text widget, you could edit this to put information so readers know where you are coming you. You can create as many text widgets, like this one, as you like and manage all of your content inside of WordPress. This is an example of a WordPress text widget. |
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
<p class="intro">A Genesis theme created with an intense focus on readability and usability.</p> | |
<a class="button" href="http://my.studiopress.com/themes/maker" target="_blank">Buy Maker Pro</a> |
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
<div style="float:left;margin-right:4.166666666%;width:65.277777777%"> | |
<p style="background-color: #1e1e1e;color: #fff;padding: 24px 0;text-align: center">Content (752px)</p> | |
</div> | |
<div style="float:left;width:30.555555555%"> | |
<p style="background-color: #1e1e1e;color: #fff;padding: 24px 0;text-align: center">Sidebar (352px)</p> | |
</div> | |
<div class="clear"></div> | |
<div style="float:left;margin-right:4.166666666%;width:30.555555555%"> |
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
add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter'); | |
function sp_footer_creds_filter( $creds ) { | |
$creds = '[footer_copyright] · Fun Genesis WordPress Theme by, <a href="http://prettydarncute.com">Pretty Darn Cute Design</a>'; | |
return $creds; | |
} |
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
add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter'); | |
function sp_footer_creds_filter( $creds ) { | |
$creds = '[footer_copyright] · Fun Genesis WordPress Theme by, <a href="http://prettydarncute.com">Pretty Darn Cute Design</a>'; | |
return $creds; | |
} |
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
add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter'); | |
function sp_footer_creds_filter( $creds ) { | |
$creds = '[footer_copyright] · Fun Genesis WordPress Theme by, <a href="http://prettydarncute.com">Pretty Darn Cute Design</a>'; | |
return $creds; | |
} |
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
<?php | |
/* | |
Template Name: Page No Header | |
*/ | |
//***Add Custom Body Class**/ | |
add_filter( 'body_class', 'no_header_body_class' ); | |
function no_header_body_class( $classes ) { | |
$classes[] = 'page-no-header'; | |
return $classes; |
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 Image Alignment from Featured Image | |
* | |
*/ | |
function be_remove_image_alignment( $attributes ) { | |
$attributes['class'] = str_replace( 'alignleft', 'aligncenter', $attributes['class'] ); | |
return $attributes; | |
} | |
add_filter( 'genesis_attr_entry-image', 'be_remove_image_alignment' ); |
NewerOlder