within my functions.php I added the following piece of code to display my footer accordingly:
//* Customize the entire footer
remove_action( 'genesis_footer', 'genesis_do_footer' );
add_action( 'genesis_footer', 'my_custom_footer' );
function my_custom_footer() {
?>
<div class="site-footer-logo">
<img src="<?=get_stylesheet_directory_uri();?>/images/my-logo-small.png" alt="My Logo Small" />
</div>
<p>Copyright © <?=date('Y');?>, my-url.com.</p>
<?php
}
I want to have the secondary navigation menu displayed between the div .site-footer-logo
and the following paragraph. Can i just add something like do_action('my_own_hook');
and then access it via add_action( 'my_own_hook', 'genesis_do_subnav' );
?
Is this 'allowed' in the Genesis world?
Thanks.
Aucun commentaire:
Enregistrer un commentaire