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
//* Tùy chỉnh kích thước Gravatar trong Author Box | |
add_filter( 'genesis_author_box_gravatar_size', 'author_box_gravatar_size' ); | |
function author_box_gravatar_size( $size ) { | |
return '80'; | |
} |
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
//* Tùy biến nút Return to Top trong Genesis | |
add_filter( 'genesis_footer_backtotop_text', 'sp_footer_backtotop_text' ); | |
function sp_footer_backtotop_text($backtotop) { | |
$backtotop = '[footer_backtotop text="Return to Top"]'; | |
return $backtotop; | |
} |
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
//* Tùy biến Credits text trong Genesis 1 | |
add_filter( 'genesis_footer_creds_text', 'sp_footer_creds_text' ); | |
function sp_footer_creds_text() { | |
echo '<div class="creds"><p>'; | |
echo 'Copyright © '; | |
echo date('Y'); | |
echo ' · <a href="http://mydomain.com">My Custom Link</a> · Built on the <a href="http://www.studiopress.com/themes/genesis" title="Genesis Framework">Genesis Framework</a>'; | |
echo '</p></div>'; | |
} |
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
//* Tùy biến nút Next Page trong Genesis | |
add_filter ( 'genesis_next_link_text' , 'sp_next_page_link' ); | |
function sp_next_page_link ( $text ) { | |
return 'Trang sau »'; | |
} |