Home › Forums › All Other Themes › Make the Footer Copyright a link
- This topic has 10 replies, 2 voices, and was last updated 7 years, 1 month ago by Sonnal S Sinha.
-
AuthorPosts
-
March 22, 2017 at 2:20 pm #66374
Hi,
Is it possible to make the Footer Copyright in I Am One (Pro) a link, please? The Footer Text above it has that functionality.
See site: http://www.knight-graphics.co.uk/dev/
Ta,
Ross
March 23, 2017 at 4:48 am #66407Hi Ross,
Kindly go to footer.php and add anchor tag to copyright text from there.
Regards,
DaveMarch 23, 2017 at 10:49 am #66475Just tried that Dave, got a 404. My fault, I’m sure!
http://www.knight-graphics.co.uk
The ‘Knight Graphics’ footer link pitches you back to the top, which is great. Can you tell me what I need to do with this lot please, to make the Copyright text link to askymoreblue.com ?
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package SKT I Am One
*/
?><div id=”footer”>
<div class=”footer-inner middle-align”>
<?php if(! dynamic_sidebar(‘sidebar-2’)) { ?>
<div class=”title”><?php if(of_get_option(‘footertext’,true) != ”){ echo of_get_option(‘footertext’,true);}; ?></div>
<?php } ?>
<p><?php if(of_get_option(‘copytext’,true) != ”){echo of_get_option(‘copytext’,true);}; ?></p>
</div><!– footer-inner –>
</div><!– footer –>
</div><!– main-container –><?php wp_footer(); ?>
</body>
</html>March 23, 2017 at 10:52 am #66476Just discovered the ‘Knight Graphics’ footer link pitches you back to the top of the page you’re on, not the top of home. I’ve stripped something out :/ Help!
March 23, 2017 at 12:01 pm #66484Hi Ross,
Here is the code of footer.php
<?php /** * The template for displaying the footer. * * Contains the closing of the #content div and all content after * * @package SKT I Am One */ ?> <div id="footer"> <div class="footer-inner middle-align"> <?php if(! dynamic_sidebar('sidebar-2')) { ?> <div class="title"><?php if(of_get_option('footertext',true) != ''){ echo of_get_option('footertext',true);}; ?></div> <?php } ?> <p>site by <a href="http://askymoreblue.com/">askymoreblue.com</a></p> </div><!– footer-inner –> </div><!– footer –> </div><!– main-container –> <?php wp_footer(); ?> </body> </html>
Regards,
DaveMarch 23, 2017 at 4:52 pm #66506Cheers Dave. That fixed the clickable copyright link.
However the ‘Knight Graphics’ footer link is no longer clickable – I need that to return every page to the top of home.
http://www.knight-graphics.co.uk
Ta,
Ross
March 24, 2017 at 7:10 am #66574Hi Ross,
Replace the footer.php with this code:
<?php /** * The template for displaying the footer. * * Contains the closing of the #content div and all content after * * @package SKT I Am One */ ?> <div id="footer"> <div class="footer-inner middle-align"> <?php if(! dynamic_sidebar('sidebar-2')) { ?> <a href="http://www.knight-graphics.co.uk/"><div class="title"><?php if(of_get_option('footertext',true) != ''){ echo of_get_option('footertext',true);}; ?></div></a> <?php } ?> <p>site by <a href="http://askymoreblue.com/">askymoreblue.com</a></p> </div><!– footer-inner –> </div><!– footer –> </div><!– main-container –> <?php wp_footer(); ?> </body> </html>
Regards,
DaveMarch 24, 2017 at 7:54 am #66584Tried that Dave, functionality is spot on but it changed all the footer text colour from white to blue.
Even when I added <font color=”ffffff”> blah </font> it made no difference.
Any ideas?
Ross
March 24, 2017 at 9:00 am #66588Hi Ross,
After adding the given code add this code in Custom CSS Box:
#footer .footer-inner .title a{color:#ffffff !important;}
Regards,
DaveMarch 24, 2017 at 5:07 pm #66666Sorted! Thanks for your patience Dave.
Ross
March 27, 2017 at 5:12 am #66777If you found our service good kindly review us here:
https://www.sktthemes.org/forums/topic/reviews-and-testimonials/ -
AuthorPosts
- The topic ‘Make the Footer Copyright a link’ is closed to new replies.