Skip to content

Instantly share code, notes, and snippets.


DavidPeralvarez/functions.php Secret

Created Dec 4, 2019
What would you like to do?
Trabajando con las acciones de Genesis
* Child Theme customizations
// Remove post info
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
// Remove post meta
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
add_action( 'genesis_entry_header', 'genesis_post_meta' );
add_action( 'genesis_after_entry', 'genesis_sample_banner' );
function genesis_sample_banner(){
<section class="banner">
<h4>Esto es un banner</h4>
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
add_action( 'genesis_entry_header', 'genesis_do_post_title', 11 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment