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. | |
// Remove entry meta in entry footer. | |
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 ); | |
remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); | |
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 ); |
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. | |
// Customize entry meta in entry footer. | |
add_filter( 'genesis_post_meta', 'athk_entry_meta_footer' ); | |
function athk_entry_meta_footer($post_meta) { | |
$post_meta = '[post_categories] [post_tags]'; | |
return $post_meta; |
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. | |
// Add support for structural wraps. | |
add_theme_support( 'genesis-structural-wraps', array( | |
'header', | |
'nav', | |
'subnav', | |
'site-inner', |
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. | |
// Enqueue Ionicons. | |
add_action( 'wp_enqueue_scripts', 'athk_enqueue_ionicons' ); | |
function athk_enqueue_ionicons() { | |
wp_enqueue_style( 'ionicons', '//unpkg.com/ionicons@4.4.0/dist/css/ionicons.min.css', array(), CHILD_THEME_VERSION ); | |
} |
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. | |
// Add image sizes. | |
add_image_size( 'front-page-hero', 1600, 900, TRUE ); | |
add_image_size( 'front-page-square', 400, 400, TRUE ); | |
add_image_size( 'front-page-thumbnail', 320, 180, TRUE ); |
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. | |
// Remove secondary sidebar. | |
unregister_sidebar( 'sidebar-alt' ); |
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. | |
// Remove primary sidebar. | |
unregister_sidebar( 'sidebar' ); |
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. | |
// Add previous and next post links after entry. | |
add_action( 'genesis_entry_footer', 'genesis_prev_next_post_nav' ); |
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. | |
// Customize next page link in entry navigation. | |
add_filter ( 'genesis_next_link_text' , 'athk_next_page_link' ); | |
function athk_next_page_link ( $text ) { | |
return 'Next Page »'; | |
} |
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. | |
// Customize previous page link in entry navigation. | |
add_filter ( 'genesis_prev_link_text' , 'athk_previous_page_link' ); | |
function athk_previous_page_link ( $text ) { | |
return '« Previous Page'; | |
} |
OlderNewer