WordPress.org

Ready to get started?Download WordPress

Forums

Editing the theme footer (4 posts)

  1. Rb1368
    Member
    Posted 2 years ago #

    In my theme, I open up the footer.php file and I see this code

    </div>
        </div>
    
    <?php wp_footer(); ?>
    
    </div>
    </body>
    </html>

    Where do I put custom html and goodies like that to edit the footer? I don't see any other footer file in the entire wordpress installation, do I replace custom code with the <?php wp_content(); ?> code? What would some of you recommend?

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    You could:

    A) remove the `<?php wp_footer(); ?>' and add your own (x)html here.
    B) Add your own (x)html above it or below it.
    C) You could wrap the wp_footer in HTML elements...etc..

    Save a copy of the original file and each step along the way so that if something breaks you can easily get back to where you were.

    It's very customizable.

  3. Rb1368
    Member
    Posted 2 years ago #

    What exactly is the <?php wp_footer(); ?> code all about anyway?

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    for questions about wordpress functions, try web search 'wordpress codex function_name()'

    http://codex.wordpress.org/Function_Reference/wp_footer
    http://codex.wordpress.org/Plugin_API/Action_Reference/wp_footer

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags