Footer question
Support Area › Forums › Foundation › Footer question
- This topic has 12 replies, 2 voices, and was last updated 8 years, 7 months ago by
Bill Robbins.
-
AuthorPosts
-
September 5, 2016 at 10:14 #37715
Tim Appleton
ParticipantBill:
I hate to ask, but there is a concern our compliance has regarding the footer. It currently references “Organized Themes” at the bottom. Is there any way to remove “Organized Themes” from the footer text? Thank you.
September 5, 2016 at 10:34 #37721Bill Robbins
ParticipantHi Tim,
You can change that. In the footer section of the Theme Options page there is a field for footer text. You can enter whatever you’d like it to say and it will be displayed instead of the default.
If you run into trouble, let me know.
Have a great week,
BillSeptember 5, 2016 at 11:31 #37723Tim Appleton
ParticipantYep, still there for some reason.
September 5, 2016 at 12:48 #37725Bill Robbins
ParticipantYou’re welcome to edit the footer.php file directly and add your own text manually. This is the section you would replace with your own copy:
<?php if(of_get_option('footer_text', $single = true) != ""){ ?> <p><?php echo of_get_option('footer_text'); ?></p> <?php } else { ?> <p> <a href="<?php echo home_url(); ?>/">© <?php echo date('Y'); ?> <?php bloginfo('name'); ?></a> | <a href="http://www.organizedthemes.com" rel="nofollow">Organized Themes</a> </p> <?php } ?>
Take care
September 5, 2016 at 17:03 #37730Tim Appleton
ParticipantNot an expert here… This is what I see, and it looks unlike what you have above. Where, and what would the changes be? Thank you.
++++++++++
<div id="footer" class="clearfix"> <div id="footer-left"> <?php if(of_get_option('footer_text', $single = true) != ""){ ?> <?php echo of_get_option('footer_text'); ?><a rel="nofollow" title="Made With Organized Themes" class="footer-credits" href="http://www.organizedthemes.com">Organized Themes</a> <?php } else { ?> © <?php echo date('Y'); ?> <a href="<?php echo home_url(); ?>/"><?php bloginfo('name'); ?></a><a class="footer-credits" rel="nofollow" title="Made with Organized Themes" href="http://www.organizedthemes.com">Organized Themes</a> <?php } ?> </div> <div id="footer-right"> <?php wp_nav_menu( array( 'theme_location' => 'footer', 'fallback_cb' => false ) ); ?> </div> </div><!-- #footer --> </div><!-- #wrap --> <!-- Load wp_footer --> <?php wp_footer(); ?> </body> </html> <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
September 5, 2016 at 17:12 #37731Bill Robbins
ParticipantHey Tim, my code is inside what you sent over. That’s the section you would want to replace with whatever text you want there.
September 5, 2016 at 17:18 #37733Bill Robbins
ParticipantApologies there. I was thinking of a different theme. I believe we had been speaking about Agency recently. Incidentally if you have to insert code into the forum, please click the code button before inserting it and then click it afterwards. It’ll display the code instead of having it render as code normally would with the browser.
Foundation is a bit different. Replace this:
<?php if(of_get_option('footer_text', $single = true) != ""){ ?> <p><?php echo of_get_option('footer_text'); ?><br /><a rel="nofollow" title="Made With Organized Themes" class="footer-credits" href="http://www.organizedthemes.com">Organized Themes</a></p> <?php } else { ?> <p>© <?php echo date('Y'); ?> <a href="<?php echo home_url(); ?>/"><?php bloginfo('name'); ?></a><br /><a class="footer-credits" rel="nofollow" title="Made with Organized Themes" href="http://www.organizedthemes.com">Organized Themes</a></p> <?php } ?>
with the text you’d like to have there. Save your changes and that should do it.
Take care,
BillSeptember 6, 2016 at 12:31 #37734Tim Appleton
Participantjust the text and nothing more?
September 6, 2016 at 13:32 #37735Bill Robbins
ParticipantJust text should work fine.
September 6, 2016 at 14:20 #37736Tim Appleton
ParticipantSo I took out all the code, and replaced all of the code with just the text I needed. It worked for the footer, but for some reason, the front page slider was also removed.
September 6, 2016 at 14:24 #37737Bill Robbins
ParticipantSounds like a bit too much was taken out then. The script that runs the slideshow is loaded at the very bottom of the page in this line:
<?php wp_footer(); ?>
There is another way to do this. Instead of editing the file, why don’t you give this a try:
- In your WordPress dashboard click on the Appearance section and choose Theme Options.
- From the tabs at the top, choose the Styling one.
- Scroll down to the Custom CSS box and add this:
a.footer-credits { display: none; }
- Save your changes.
September 6, 2016 at 17:29 #37740Tim Appleton
Participantthank you. That did it. Thank you for sticking with me.
September 6, 2016 at 19:46 #37741Bill Robbins
ParticipantGlad to hear that did the trick. Happy to help out too.
-
AuthorPosts
- The topic ‘Footer question’ is closed to new replies.