Community Forums › Forums › Design Tips and Tricks › Change Copyright attribution
Tagged: copyright code, footer
This topic contains 6 replies, has 5 voices, and was last updated by braddalton 2 months, 4 weeks ago.
-
AuthorPosts
-
February 14, 2013 at 4:41 am #20276
I’ve been playing with my footer settings. I managed to use code to put Privacy Policy and Affiliate Disclaimer links in the footer, but when I tried to change the copyright to say Copyright (c) Hilton Copywriting 2013 I broke the theme and had to reinstall the theme.
I’m using Optimal Child theme and my site is http://hiltoncopy.com. Ideally I’d like the copyright text centred and the Privacy/Disclaimer on the right – but I’m not very clever with code and just getting these links stretched my skills.
This is the code I currently have:
/** Customize the credits */
add_filter( ‘genesis_footer_creds_text’, ‘custom_footer_creds_text’ );
function custom_footer_creds_text() {
echo ‘<div class=”creds”><p>’;
echo ‘Copyright © ‘;
echo date(‘Y’);
echo ‘ · <a href=”http://www.hiltoncopy.com/privacy-policy/”>Privacy Policy</a> · <a href=”http://hiltoncopy.com/disclaimer/”>Affiliate Disclaimer</a>’;
echo ‘</p></div>’;
Thanks in advance.
Debra
February 14, 2013 at 4:50 am #20278Many ways to do this:
Using php code http://my.studiopress.com/snippets/footer/
Or install the Genesis Simple Edits plugin
Or install the Genesis Simple Hooks plugin
Or you can create trhe HTML in your editor and paste it in using any of these plugins or the Genesis > Theme Settings > Header and Footer Scripts
WordPress Developer & Consultant
Brad Dalton @ WP Sites – Click Here to Get Genesis Child Theme Tips Delivered.February 19, 2013 at 4:18 pm #21484Hi Brad,
Thank you for the detailed explanation. I am having somewhat similar problem. copied the footer credit code from http://my.studiopress.com/snippets/footer/, made the necessary text related changes and then added at the end of the functions.php file. But then got a strange result. Both the edited credit and the original credit by studipress showed. How to handle that?
Thanks
February 20, 2013 at 12:15 am #21572Remove the default using Genesis Simple Edits plugin
WordPress Developer & Consultant
Brad Dalton @ WP Sites – Click Here to Get Genesis Child Theme Tips Delivered.February 20, 2013 at 12:00 pm #21705Can’t say enough good things about using Genesis Simple edits plugin, and Genesis Simple Hooks plugin. The former is a good way to add a few customized items. The latter is a rich way to customize Genesis without wrecking the site. Master Simple Hooks and you go a long way to knowing Genesis.
ronnymac
–
Ron McElfresh
Honolulu, HI
–
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/February 20, 2013 at 12:10 pm #21708Simple edits is definitely the way to go! I use it on all my sites
Web Designs By Chrissy | Twitter @designbychrissy
February 20, 2013 at 2:04 pm #21774Yes its a great way to learn about hooks and conditional tags as a stepping stone to writing custom functions and more advanced PHP coding.
WordPress Developer & Consultant
Brad Dalton @ WP Sites – Click Here to Get Genesis Child Theme Tips Delivered. -
AuthorPosts
You must be logged in to reply to this topic.