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 ago by jgentry.
-
AuthorPosts
-
April 9, 2013 at 1:14 pm #34326jgentryParticipant
I'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 DaltonParticipantRemove 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 #34355jgentryParticipantThanks Brad. I can do that, but what about adding my own text there?
April 9, 2013 at 3:56 pm #34374Brad DaltonParticipantCustomize the text in this code: http://www.briangardner.com/code/customize-footer/
April 9, 2013 at 4:08 pm #34382jgentryParticipantDon't know how. Tried it. 🙂
April 9, 2013 at 4:10 pm #34385jgentryParticipantI'm not sure where to add my custom text in the code.
April 9, 2013 at 4:58 pm #34402Brad DaltonParticipant// 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 #34425jgentryParticipantYou don't recommend the Genesis Simple Edits Plugin for this?
April 9, 2013 at 8:15 pm #34435Brad DaltonParticipantYes. 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 #34436jgentryParticipantI 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 #34437jgentryParticipantSame response when I attempt to access my dashboard via the smartphone app.
April 9, 2013 at 8:24 pm #34441Brad DaltonParticipantThere'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 #34442jgentryParticipantWell I have a problem now I think. I can't even get into my dashboard.
April 10, 2013 at 8:54 am #34521jgentryParticipantIt's all fixed now. Thanks for the help!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.