I am using Wordpress 2013 theme as a starting point for a new theme from scratch.
Under my themes folder, my footer.php theme looks like this. (Notice the final function
</div><!-- #main --> <footer id="colophon" class="site-footer" role="contentinfo"> <?php get_sidebar( 'main' ); ?> <div class="site-info"> <?php do_action( 'twentythirteen_credits' ); ?> <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentythirteen' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentythirteen' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentythirteen' ), 'WordPress' ); ?></a> </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> <?php wp_footer(); ?>
The problem is that the function
wp_footer() appears to be including plugins and code that I don't want there. Specifically, the search widget.
I reviewed the article: What is the difference between the "wp_footer" and "get_footer" actions?. Also the codex (http://codex.wordpress.org/Function_Reference/wp_footer), directs me to the directory
wp-includes/general-template.php, which does not tell me anything about which template tags it might be requiring (I was expecting it would require the search widget).
How does one customize the behavior of
wp_footer? Where (in the file directory) should one look to see what html/php that
wp_footer is dynamically producing?