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 comment respond title. | |
add_filter( 'comment_form_defaults', 'athk_comment_respond_title' ); | |
function athk_comment_respond_title( $defaults ) { | |
$defaults['title_reply'] = __( 'Respond', 'bg' ); | |
return $defaults; |
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 submit button text in entry comments. | |
add_filter( 'comment_form_defaults', 'athk_comment_submit_button' ); | |
function athk_comment_submit_button( $defaults ) { | |
$defaults['label_submit'] = __( 'Submit Comment', 'theme-name' ); | |
return $defaults; | |
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 Gravatar size in entry comments. | |
add_filter( 'genesis_comment_list_args', 'athk_comments_gravatar' ); | |
function athk_comments_gravatar( $args ) { | |
$args['avatar_size'] = 96; | |
return $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
<?php | |
// Do NOT include the opening php tag. | |
// Customize search form input box text. | |
add_filter( 'genesis_search_text', 'athk_search_input_text' ); | |
function athk_search_input_text( $text ) { | |
return esc_attr( 'Search my website...' ); | |
} |
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 search form label. | |
add_filter( 'genesis_search_form_label', 'athk_search_form_label' ); | |
function athk_search_form_label ( $text ) { | |
return esc_attr( 'Search Form' ); | |
} |
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 search form input button text. | |
add_filter( 'genesis_search_button_text', 'athk_search_form_button_text' ); | |
function athk_search_form_button_text( $text ) { | |
return esc_attr( 'Search' ); | |
} |
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 site description. | |
remove_action( 'genesis_site_description', 'genesis_seo_site_description' ); |
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 site title. | |
remove_action( 'genesis_site_title', 'genesis_seo_site_title' ); |
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 header right widget area. | |
unregister_sidebar( 'header-right' ); |
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 header. | |
add_filter( 'genesis_post_info', 'athk_entry_meta_header' ); | |
function athk_entry_meta_header($post_info) { | |
$post_info = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]'; | |
return $post_info; |