Changing footer information
-
Hi
I’ve been tasked with changing some information on a WordPress site that I didn’t create.
I’m a Joomla user and have made most of the changes required but can’t work out how to modify the address details which are in the footer.
Can anyone help?
Thanks
Dene
-
Look in Appearance>Widgets
See if there us a footer widget area. Open it up and edit the text box.
That’s where I thought it would be but there is nothing editable in there :-/
Dene
You need to modify “footer.php” inside your theme folder.
</div> <!-- content wrapper --> <div class="footer-wrapper boxed-style"> <!-- Get Footer Widget --> <?php $gdl_show_footer = get_option(THEME_SHORT_NAME.'_show_footer','enable'); ?> <?php if( $gdl_show_footer == 'enable' ){ ?> <div class="container footer-container"> <div class="footer-widget-wrapper"> <div class="row"> <?php $gdl_footer_class = array( 'footer-style1'=>array('1'=>'three columns', '2'=>'three columns', '3'=>'three columns', '4'=>'three columns'), 'footer-style2'=>array('1'=>'six columns', '2'=>'three columns', '3'=>'three columns', '4'=>''), 'footer-style3'=>array('1'=>'three columns', '2'=>'three columns', '3'=>'six columns', '4'=>''), 'footer-style4'=>array('1'=>'four columns', '2'=>'four columns', '3'=>'four columns', '4'=>''), 'footer-style5'=>array('1'=>'eight columns', '2'=>'four columns', '3'=>'', '4'=>''), 'footer-style6'=>array('1'=>'four columns', '2'=>'eight columns', '3'=>'', '4'=>''), ); $gdl_footer_style = get_option(THEME_SHORT_NAME.'_footer_style', 'footer-style1'); for( $i=1 ; $i<=4; $i++ ){ $footer_class = $gdl_footer_class[$gdl_footer_style][$i]; if( !empty($footer_class) ){ echo '<div class="' . $footer_class . ' gdl-footer-' . $i . ' mb0">'; dynamic_sidebar('Footer ' . $i); echo '</div>'; } } ?> <div class="clear"></div> </div> <!-- close row --> </div> </div> <?php } ?> <!-- Get Copyright Text --> <?php $gdl_show_copyright = get_option(THEME_SHORT_NAME.'_show_copyright','enable'); ?> <?php if( $gdl_show_copyright == 'enable' ){ ?> <div class="copyright-outer-wrapper boxed-style"> <div class="container copyright-container"> <div class="copyright-wrapper"> <div class="copyright-left"> <?php echo do_shortcode( __(get_option(THEME_SHORT_NAME.'_copyright_left_area'), 'gdl_front_end') ); ?> </div> <div class="copyright-right"> <?php echo do_shortcode( __(get_option(THEME_SHORT_NAME.'_copyright_right_area'), 'gdl_front_end') ); ?> </div> <div class="clear"></div> </div> </div> </div> <?php } ?> </div><!-- footer wrapper --> </div> <!-- body wrapper --> </div> <!-- body outer wrapper --> <?php wp_footer(); ?> </body> </html>You need to modify “footer.php” inside your theme folder.
Assuming the OP is using a theme that will be updating, modifying theme files isn’t a good way to go – as those changes will be lost when the theme is updated.
It’s generally recommended to use a child theme –
http://codex.wordpress.org/Child_Themes
That may or may not make sense in this situation since the site may already be customized, but it’s always better to make sure before giving that kind of advice.
Thanks @wpyogi for correcting me. You are absolutely right.
@morteza Khaki – no worries :)!
@deniewibly – looks like there is a theme option for the copyright info – that might be where it’s set?
Found it. The Theme was Architecture and in the panel on the dashboard at the bottom are some configuration changes. Thanks for the help.
The topic ‘Changing footer information’ is closed to new replies.