Community Forums › Forums › Archived Forums › Design Tips and Tricks › Change Footer Text
Tagged: footer page
- This topic has 10 replies, 5 voices, and was last updated 8 years, 5 months ago by Christoph.
-
AuthorPosts
-
June 12, 2016 at 10:35 am #187432ChrpilMember
I need to change the footer text to read something like
Christina E. Pilz; copyright 2016. Built on AuthorPro Theme
I've checked out the following page, which states that footer changes should be made in the functions.php page.
http://my.studiopress.com/snippets/footer/#credits
But when I go to the functions.php page, nothing like the code that is shown on the How Do I...? page is there.
Where do I really change footer text?
June 12, 2016 at 3:36 pm #187444Victor FontModeratorInstall the Genesis Simple Edits plugin and change it there, or use a snippet from this page: http://my.studiopress.com/snippets/footer/#custom-footer
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?June 12, 2016 at 3:45 pm #187445DerekMemberYou never have to edit the functions.php to modify the footer. Install the plugin above like I did a long time ago when I wanted to change mine.
Once you install the plugin navigate to your "Genesis" tab in your admin dashboard. You'll see a link for "Simple edits" to click on to edit the footer text.
~’;’~
June 13, 2016 at 5:58 pm #187497ChrpilMemberThank you both, I've installed the Genesis Simple Edits plugin. Now I just have to figure out how to edit snippets and code. : D
June 14, 2016 at 2:50 am #187512WilliamMemberIf you would like to change the footer text with code add this snippet to your functions php file 🙂
//* Customize the entire footer remove_action( 'genesis_footer', 'genesis_do_footer' ); add_action( 'genesis_footer', 'custom_footer' ); function custom_footer() { ?> <p>© Copyright <?php echo date("Y"); ?> · <a href="<?php echo get_home_url(); ?>">Company LTD</a> · <a href="<?php echo get_home_url(); ?>/privacy-policy/" rel="nofollow" >Privacy</a> · <a href="<?php echo get_home_url(); ?>/terms-conditions/" rel="nofollow" >Terms</a></p> <?php }
Genesis Customization Service | Quick fixes whenever you need them ! | Contact me at Fixmysite.com !
June 15, 2016 at 6:58 pm #187625ChrpilMemberI can kind of see how it works. I've removed completely the [footer_wordpress_link] link.
What I want to do is have it say:
Copyright @ 2016 Christina E. Pilz
where my name is what takes me to the login page. I like the look of that, rather than having a link that says Log In, because I think it would be like a dare, begging someone to break into my site.
I think the shortcut code to change this is: (please imagine the appropriate brackets are in place, as the page keeps making everything into links)
footer_loginout redirect
=
a href="www.christinaepilz.com"
(this is the text that would show as the link to the login page)
Christina E. Pilz/a
]But this produces a 404.
Then I imagine that I can simply create a link to my login page, with the words Christina E. Pilz as the name of the link. So the code for that would look like...
[footer url=
a href="www.christinaepilz.com"
Christina E. Pilz
/a
Right?
Except the child theme will not let me invent my own footer shortcut code.
Is there an update for this? Or is it really complicated?
Thank you in advance.
June 15, 2016 at 8:01 pm #187634ChrpilMemberThank you, I see the code, but can't determine where on the functions.php file it should go. Can you point me in the right direction?
June 16, 2016 at 2:53 am #187652WilliamMemberCopy the code from the Studiopress website and paste it all the way on the bottom of the functions.php file 🙂
Genesis Customization Service | Quick fixes whenever you need them ! | Contact me at Fixmysite.com !
June 16, 2016 at 7:13 am #187679ChrpilMemberI feel foolish even asking, but nowhere in the instructions does it say "where" to stick the code. It looks as though it should go right beneath the first php bit of code, but now you're saying at the bottom. I'm assuming before the last php bit of code. Right?
June 19, 2016 at 6:07 am #187633ChrpilMemberAnd the instructions say to edit on the functions.php file. However, I don't see anything that says "genesis_do_footer." Or should I be editing the Genesis functions.php file rather than the child theme functions.php file?
remove_action( 'genesis_footer', 'genesis_do_footer' );
add_action( 'genesis_footer', 'sp_custom_footer' );
function sp_custom_footer() {
?>
<p>© Copyright 2012 My Domain · All Rights Reserved · Powered by WordPress · Admin</p>
<?php
}:June 19, 2016 at 7:47 am #187840ChristophMemberHi,
Please only edit the child theme.
Don't worry that you don't see "genesis_do_footer" in the functions.php.
(The standard Genesis footer is built in \genesis\lib\structure\footer.php.
The code is simply saying, don't use the standard footer, i.e. remove_action, but use my custom footer, i.e. add_action).
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.