Footer question

Support Area Forums Foundation Footer question

This topic contains 12 replies, has 2 voices, and was last updated by  Bill Robbins 1 year, 1 month ago.

Viewing 13 posts - 1 through 13 (of 13 total)
URL to the page in question: http://saud4southwindsor.org
  • Author
    Posts
  • #37715

    Tim Appleton
    Participant

    Bill:

    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.

    #37721

    Bill Robbins
    Moderator

    Hi 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,
    Bill

    #37723

    Tim Appleton
    Participant

    Yep, still there for some reason.

    #37725

    Bill Robbins
    Moderator

    You’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(); ?>/">&copy; <?php echo date('Y'); ?> <?php bloginfo('name'); ?></a>&nbsp;&#124;&nbsp;<a href="http://www.organizedthemes.com" rel="nofollow">Organized Themes</a>
    				</p> 
    			
    			<?php } ?>
    

    Take care

    #37730

    Tim Appleton
    Participant

    Not 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 { ?>
    			
    				&copy; <?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. -->
    
    
    • This reply was modified 1 year, 1 month ago by  Bill Robbins. Reason: Wrapped code in quotes to keep formatting
    #37731

    Bill Robbins
    Moderator

    Hey Tim, my code is inside what you sent over. That’s the section you would want to replace with whatever text you want there.

    #37733

    Bill Robbins
    Moderator

    Apologies 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>&copy; <?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,
    Bill

    #37734

    Tim Appleton
    Participant

    just the text and nothing more?

    #37735

    Bill Robbins
    Moderator

    Just text should work fine.

    #37736

    Tim Appleton
    Participant

    So 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.

    #37737

    Bill Robbins
    Moderator

    Sounds 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:

    1. In your WordPress dashboard click on the Appearance section and choose Theme Options.
    2. From the tabs at the top, choose the Styling one.
    3. Scroll down to the Custom CSS box and add this:
      
      a.footer-credits {
      	display: none;
      }
      
    4. Save your changes.
    #37740

    Tim Appleton
    Participant

    thank you. That did it. Thank you for sticking with me.

    #37741

    Bill Robbins
    Moderator

    Glad to hear that did the trick. Happy to help out too.

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘Footer question’ is closed to new replies.