Expanded Footer Abilities

Support Area Forums Agency Expanded Footer Abilities

This topic contains 1 reply, has 2 voices, and was last updated by  Bill Robbins 1 year, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://www.omegafandm.org
  • Author
    Posts
  • #35865

    Robert Fairchild
    Participant

    Hi,

    I’d like to be able to add linked images and additional linked text (Privacy / Terms of Use) to the footer. Can you assist me?

    #35882

    Bill Robbins
    Keymaster

    Hi Robert,

    You can do that with a bit of editing. In your WordPress dashboard, go to the Appearance section and click on Edit. From the list of files on your right, choose footer.php and you’ll see this section near the top:

    
    			<?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 } ?>
    

    Let’s replace that with something like this:


    (see support site for code)

    Let’s break this down just a bit:

    
    <a href="http://yourlink.com">Link Text</a>
    

    This is a plain text link. The http://yourlink.com is where the visitor will be taken when they click on Link Text. You’ll want to change those to fit your needs. You can duplicate that to create additional text links.

    The image links work in a similar way.

    
    <a href="http://secondlink.com"><img src="http://yoursite.com/image.png" /></a>
    

    Here http://secondlink.com is the URL you’d like the visitors to go to when they click the image. The http://yoursite.com/image.png is the URL to the image itself. You can upload an image in the WordPress media library. Once the upload is finished, clicking on it will open up a quick dialogue that has the URL to the image. You can copy that and use it in that snippet to add the image to the link.

    Hope that helps out. If you have questions, let me know.

    Take care,
    Bill

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

The topic ‘Expanded Footer Abilities’ is closed to new replies.