I got your problem. You are facing problem how and where to write the code for footer.
Below are some guide line it may help or give you some basic idea.
- First of you have to create footer.php template, if not created.
- Your tag should be closed in footer.php
-
What ever code or div, links, copyright images etc you want to put u can code here.
-
Example code of footer.php
<div id="footer" role="contentinfo">
<div id="colophon">
<div id="site-info">
<a href="https://wordpress.stackexchange.com/questions/30082/<?php echo home_url("https://wordpress.stackexchange.com/" ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<?php bloginfo( 'name' ); ?>
</a>
</div><!-- #site-info -->
<div id="site-generator">
<?php do_action( 'twentyten_credits' ); ?>
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyten' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>" rel="generator"><?php printf( __( 'Powered by %s.', 'twentyten' ), 'WordPress' ); ?></a>
</div><!-- #site-generator -->
</div><!-- #colophon -->
</div><!-- #footer -->
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
*/
wp_footer();
?>
- Please see below code.
// Your footer code should be here.
your code or what ever your requirement
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
*/
wp_footer();
?>
Note: If Still you are facing the problem then check below links
-
http://codex.wordpress.org/Theme_Development
See Template File Checklist for details -
codex.wordpress.org/Templates