Add images to the footer

Support Area Forums Agency Add images to the footer

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

    I would like add a row of images in the footer with the code to link to a page in the site.
    I have amended the footer.php file but i still get the organised themes text which gets in the way/
    Ive tried installing a footer widgets as in a previous post but they the images are not in a row.

    cheers
    steve

    #26605
    Bill Robbins
    Moderator

    Hello Steve,

    It looks like you’re on the right path there. In the footer.php file, I would just remove the footer-left and footer-right sections since you’re not using them:

    
    		<div id="footer-left">
    			
    			<?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 } ?>
    			
    		</div>
    		
    		<div id="footer-right">
    			
    			<ul>
    				<?php if(of_get_option('youtube', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class=" font-icon-social-youtube" href="<?php echo of_get_option('youtube'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('vimeo', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-vimeo" href="<?php echo of_get_option('vimeo'); ?>"></a></li>	
    				<?php } ?>
    				
    				<?php if(of_get_option('facebook', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-facebook" href="<?php echo of_get_option('facebook'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('twitter', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-twitter" href="<?php echo of_get_option('twitter'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('forrst', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-forrst" href="<?php echo of_get_option('forrst'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('yelp', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-yelp" href="<?php echo of_get_option('yelp'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('linkedin', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-linkedin" href="<?php echo of_get_option('linkedin'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('instagram', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-camera" href="<?php echo of_get_option('instagram'); ?>"></a></li>
    				<?php } ?>
    			
    				<?php if(of_get_option('google', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-google-plus" href="<?php echo of_get_option('google'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('dribbble', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-dribbble" href="<?php echo of_get_option('dribbble'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('pinterest', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-pinterest" href="<?php echo of_get_option('pinterest'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('flickr', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-flickr" href="<?php echo of_get_option('flickr'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('picasa', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-picasa" href="<?php echo of_get_option('picasa'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('itunes', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-music" href="<?php echo of_get_option('itunes'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if(of_get_option('skype', $single = true) != ""){ ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-social-skype" href="<?php echo of_get_option('skype'); ?>"></a></li>
    				<?php } ?>
    				
    				<?php if ( of_get_option( 'rss' ) ) { ?>
    					<li><a target="<?php echo of_get_option('social_open'); ?>" class="font-icon-rss" href="<?php bloginfo('rss_url'); ?>"></a></li>
    				<?php } ?>
    			</ul>	
    			
    		</div>	
    

    It looks like the images that are in your footer are lining up in a row for you now. I did notice in the first text widget, the image’s classes have an extra quotation mark which might throw that off just a bit.

    Let me now if you run into trouble or have something else in mind,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Add images to the footer’ is closed to new replies.