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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Customize the next page link | |
add_filter ( 'genesis_next_link_text' , 'sp_next_page_link' ); | |
function sp_next_page_link ( $text ) { | |
return 'Custom Next Page 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
<?php | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Customize search form input box text | |
add_filter( 'genesis_search_text', 'sp_search_text' ); | |
function sp_search_text( $text ) { | |
return esc_attr( 'Search my blog...' ); | |
} |
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: Blog | |
//* Show page content above posts | |
add_action( 'genesis_loop', 'genesis_standard_loop', 5 ); | |
genesis(); |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Add support for structural wraps | |
add_theme_support( 'genesis-structural-wraps', array( | |
'header', | |
'menu-primary', | |
'menu-secondary', | |
'site-inner', | |
'footer-widgets', |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Disable the superfish script | |
add_action( 'wp_enqueue_scripts', 'sp_disable_superfish' ); | |
function sp_disable_superfish() { | |
wp_deregister_script( 'superfish' ); | |
wp_deregister_script( 'superfish-args' ); | |
} |
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
/* | |
Theme Name: Sample | |
Theme URI: http://www.yourdomain.com/ | |
Description: This is a sample child theme created for the Genesis Framework. | |
Author: Your Business Name | |
Author URI: http://www.yourbusiness.com/ | |
Version: 1.0 | |
Tags: custom-background, custom-header, featured-images, threaded-comments, two-columns |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Register after post widget area | |
genesis_register_sidebar( array( | |
'id' => 'after-post', | |
'name' => __( 'After Post', 'themename' ), | |
'description' => __( 'This is a widget area that can be placed after the post', 'themename' ), | |
) ); |
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
.theme-blue a, | |
.theme-blue a:visited { | |
color: #0d72c7; | |
} |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Register Genesis box widget area | |
genesis_register_sidebar( array( | |
'id' => 'after-post', | |
'name' => __( 'Genesis Box', 'themename' ), | |
'description' => __( 'This is a widget area that can be placed after the post', 'themename' ), | |
) ); |
OlderNewer