Community Forums › Forums › Archived Forums › Design Tips and Tricks › Trouble Customizing Footer Credits
- This topic has 13 replies, 2 voices, and was last updated 11 years, 10 months ago by
jgentry.
-
AuthorPosts
-
April 9, 2013 at 1:14 pm #34326
jgentry
ParticipantI'm having difficulty customizing the footer credits in my Focus Theme. I'm using the Genesis Simple Edits Plugin and a couple of different short codes. I believe my problem is that I'm not affluent with short codes yet. I'm not sure which part to edit and so far, I'm just not getting it right. Have any advice for me?
As always...Thanks!
April 9, 2013 at 3:05 pm #34352Brad Dalton
ParticipantRemove the shortcodes for the links you Don't want to display.
Or use this code to do the same thing.
April 9, 2013 at 3:19 pm #34355jgentry
ParticipantThanks Brad. I can do that, but what about adding my own text there?
April 9, 2013 at 3:56 pm #34374Brad Dalton
ParticipantCustomize the text in this code: http://www.briangardner.com/code/customize-footer/
April 9, 2013 at 4:08 pm #34382jgentry
ParticipantDon't know how. Tried it. 🙂
April 9, 2013 at 4:10 pm #34385jgentry
ParticipantI'm not sure where to add my custom text in the code.
April 9, 2013 at 4:58 pm #34402Brad Dalton
Participant// Customize the entire footer remove_action( 'genesis_footer', 'genesis_do_footer' ); add_action( 'genesis_footer', 'custom_footer' ); function custom_footer() { ?> <p>© Copyright 7014 <a href="http://mydomain.com/">My Domain</a> · All Rights Reserved · Powered by <a href="http://wordpress.org/">WordPress</a> · <a href="http://mydomain.com/wp-admin">Admin</a></p> <?php }
You can change these HTML links and the text after the copyright without changing any of the code and paste it at the edn of your child themes functions.php file.
Example:
// Customize the entire footer remove_action( 'genesis_footer', 'genesis_do_footer' ); add_action( 'genesis_footer', 'custom_footer' ); function custom_footer() { ?> <p>© Copyright 2013 <a href="http://wpsites.net/">WP Sites</a> · All Rights NOT Reserved · Powered by <a href="http://studiopress.com/">StudioPresss</a> · <a href="http://whatever.com/wp-admin">Admin</a></p> <?php }
April 9, 2013 at 7:30 pm #34425jgentry
ParticipantYou don't recommend the Genesis Simple Edits Plugin for this?
April 9, 2013 at 8:15 pm #34435Brad Dalton
ParticipantYes. That is the best plugin for removing the default footer links by removing the shortcodes.
Adding custom links is best done by adding the code above with your own HTML links.
April 9, 2013 at 8:18 pm #34436jgentry
ParticipantI think I may have just made a mistake. I tried to add the short code to the end of the functions.php file and then removed it. I'm wondering if I removed too much, because now I can't even log in to my WP Admin or site. It just gives me a blank browser. I'm a little concerned here. Have any ideas?
April 9, 2013 at 8:21 pm #34437jgentry
ParticipantSame response when I attempt to access my dashboard via the smartphone app.
April 9, 2013 at 8:24 pm #34441Brad Dalton
ParticipantThere's no shortcodes in the functions file. You only remove these from the Simple Edits plugin settings.
You'll need to access the file using FTP or File Manager in cPanel.
Download a copy of the file and then upload a new version from your theme download.
April 9, 2013 at 8:27 pm #34442jgentry
ParticipantWell I have a problem now I think. I can't even get into my dashboard.
April 10, 2013 at 8:54 am #34521jgentry
ParticipantIt's all fixed now. Thanks for the help!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.