Add images to the footer
Support Area › Forums › Agency › Add images to the footer
Tagged: agency theme footer add images
- This topic has 1 reply, 2 voices, and was last updated 9 years, 2 months ago by Bill Robbins.
-
AuthorPosts
-
February 11, 2015 at 16:07 #26604stevedellarParticipant
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
steveFebruary 11, 2015 at 16:34 #26605Bill RobbinsModeratorHello 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(); ?>/">© <?php echo date('Y'); ?> <?php bloginfo('name'); ?></a> | <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 -
AuthorPosts
- The topic ‘Add images to the footer’ is closed to new replies.