Problems when used with Genesis Theming Framework
-
When this plugin is used in combination with the Genesis Theming Framework and a child theme, the remove_action doesn’t seem to work.
For example…
Most Genesis Child Themes include a copyright declaration at the bottom of the page. To remove it one would use:
remove_action( 'genesis_footer', 'genesis_do_footer' );
To then add in a custom copyright declaration, one would use:
add_action( 'genesis_footer', 'bamajr_custom_footer' ); function bamajr_custom_footer() { echo ' <!-- ******************************************************* --> <!-- BEGIN: CUSTOM FOOTER --> <!-- ******************************************************* --> <p>© Copyright 2015 <a href="https://bamajr.com/" target="_blank" title="Bamajr.com">Bamajr.com</a></p> <!-- ******************************************************* --> <!-- END: CUSTOM FOOTER --> <!-- ******************************************************* --> '; }
The problem I see is that the remove_action does not execute, while the add_action does execute, leaving a Genesis website with two (2) copyright declarations at the bottom of the page, instead of one (1).
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Problems when used with Genesis Theming Framework’ is closed to new replies.