Skip to content

Instantly share code, notes, and snippets.

@DavidPeralvarez DavidPeralvarez/functions.php Secret
Created Dec 4, 2019

Embed
What would you like to do?
Trabajando con las acciones de Genesis
<?php
/**
* 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>
</section>
<?php
}
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
You can’t perform that action at this time.