Forum Replies Created
-
AuthorPosts
-
Nicholas DixonMember
Hi,
Why do I have 2 footer credits showing?
I am learning to build Genesis child themes from scratch without using the Genesis Sample theme as a starting point. I used the following code and don't understand why the 2nd footer credit shows. The snippet of code below should remove the default footer credit and replace it with the one which starts with Billys Blog. I used the Genesis Hook Guide plugin to confirm that I am using the correct Hook and (genesis_footer) at which to remove the function and I looked in the footer.php file inside the structure folder inside lib folder to confirm I am using the correct function (genesis_do_footer).
Billys Blog © Copyright 2016 | Login | Built by Web Design North Yorkshire
Copyright © 2016 · Scratch on Genesis Framework · WordPress · Log out
//* Customize the entire footer
remove_action( 'genesis_footer', 'genesis_do_footer' );
add_action( 'genesis_footer', 'sp_custom_footer' );
function sp_custom_footer() {
?>
<p>Billys Blog © Copyright 2016 | Login | Built by WDNY</p>
<?php
}January 16, 2016 at 11:48 am in reply to: I cannot get the excerpt to display for a custom post #176695Nicholas DixonMember -
AuthorPosts