Community Forums › Forums › Archived Forums › Design Tips and Tricks › customize Prose Theme credits?
Tagged: customise footer credits, Prose theme
- This topic has 12 replies, 4 voices, and was last updated 10 years, 5 months ago by RobG.
-
AuthorPosts
-
June 30, 2013 at 5:36 am #48521janetskijMember
I'm having issues changing the credits at the bottom of my pages, the ones that say WordPress etc. in the Prose Theme. I was able to apply the footer code snippets to change this when I had the Lifestyle theme in action. I tried the same code snippet with the Prose theme but the credits but it didn't work. The credits in Prose seem to be placed in the genesis_after hook area, not the footer or after footer area. I don't know how to get to them?
Any ideas that a newbie can work with?
Apart from this, I am really enjoying the Prose Theme.
http://www.spellandsound.comJune 30, 2013 at 10:20 am #48553RobGMemberDo you have a working link so i can take a look?
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossJune 30, 2013 at 10:55 pm #48621janetskijMemberHi,
I've disabled the "coming soon" plug in so you should be able to see what I mean. Sorry about the late reply.July 1, 2013 at 3:15 am #48638RobGMemberHello were're you trying to edit from? are you editing from your function.php?
Place this in your function.php it will allow you to customize your entire footer.
<?php //* Do NOT include the opening php tag //* Customize the entire footer remove_action( 'genesis_footer', 'genesis_do_footer' ); add_action( 'genesis_footer', 'custom_footer' ); function custom_footer() { ?> <p>© Copyright 2012 <a href="//mydomain.com/"">My Domain</a> · All Rights Reserved · Powered by <a href="//wordpress.org/"">WordPress</a> · <a href="//mydomain.com/wp-admin"">Admin</a></p> <?php }
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossJuly 1, 2013 at 6:35 am #48653janetskijMemberHi
Thanks for tip but I had already done it and placed it in the custom code section in Prose and it worked in the area below the footer widgets, not in the area I wanted it to, which is further down.Is it a Prose thing? It's like I can't "unhook" the credits even though I have tried a number of ways using the code snippets, like the one you suggested above.
Any ideas?
The credit text appears to be in the genesis_after hook area but when using the genesis simple hooks plug in, I can't find a way to unhook it. When I add any information such as return to top shortcode, the shortcode is inserted and works but the original text with wordpress etc is still there. It just moves over a bit.
What do you think?
July 1, 2013 at 8:16 am #48670devParticipantThanks for tip but I had already done it and placed it in the custom code section in Prose and it worked in the area below the footer widgets, not in the area I wanted it to, which is further down.
Further down from what? It looks fine to me. I don't understand what you want.
July 1, 2013 at 9:04 am #48675janetskijMemberThanks for checking. I'm actually getting really confused.
I can see the wordpress
"Copyright © 2013 · Prose Theme on Genesis Framework · WordPress · Log in"
information at the bottom of each page.
I don't want it there for others to see. Can others see it?I know I have changed my favicon to the red [s] but I still see the genesis G. Is this footer-text issue similar?
I've just taken the Coming Soon landing page down and submitted my xml sitemap, is this related in any way?
July 1, 2013 at 9:21 am #48679devParticipantFor favicon, I use this code in functions.php. Never fails:
// Load custom favicon add_filter( 'genesis_pre_load_favicon', 'custom_favicon_filter' ); function custom_favicon_filter( $favicon_url ) { return 'http://www.mydomain.com/wp-content/images/favicon.ico'; }
Upload your favicon to your images folder of your theme and pop in the path to that folder.
As for the logo, here is what we use (again in functions.php):
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 ' · Designed by <a href="//newmediawebsitedesign.com"">NewMedia Website Design</a> ·</a>'; echo '</p></div>'; }
Make your own changes.
We then style it like so, depending on the color of the site
/*==== FOOTER: DON'T SHOW THE 'GO TO TOP' MESSAGE===*/ #footer .gototop { display: none; } /*==== FOOTER CREDITS: GETS RID OF THE TEXT SHADOW===*/ #footer .creds { text-align: right; text-shadow: none; } /*==== FOOTER CREDITS: MAKES THE CREDITS BLACK===*/ #footer a, #footer a:visited { color: #000; text-decoration:underline; } /*==== FOOTER CREDITS: MAKES THE LINK BLACK===*/ .creds p, .creds a { color: #000; }
This puts the credits below the footer, which is where they should be.
Dev
July 1, 2013 at 2:08 pm #48734RobGMemberJanet I would be more then happy to take a look at it for you just let me know....
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossJuly 1, 2013 at 11:35 pm #48786janetskijMemberHi
Thank you both for your time on this matter. It had been driving me crazy!
Dev,
I was able to use both pieces of code which worked - Brilliant! I have no idea why the remove_action for the footer function didn't work, but the add_filter did and my favicon is present.RobG,
Thank you for persevering with me, I could imagine its an arduous journey with beginners.I haven't used a forum before, so I am going to attempt to submit this last post and hit the "resolved" button. If you see the thread still open, could you please let me know.
CheersJuly 2, 2013 at 3:28 am #48795RobGMemberHi Janet it was my pleasure that's why I try to help out in these forums I was a beginners at one point and until today I'm still learning. Good luck
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossNovember 20, 2013 at 7:35 pm #74635dareadelParticipant@RobG Thanks for the footer credit code. This is what I was looking for. But I am just curious to know why the <?php tag is needed at the end. When I removed it the code did not work but I thought <?php tag is only needed at the beginning of a code block. Just for my understanding. Thanks.
November 21, 2013 at 3:04 pm #74772RobGMemberThe opening PHP tag are not needed for this function to work
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.