WordPress.org

Forums

[resolved] Alpine theme and sitewide code (3 posts)

  1. brk
    Member
    Posted 10 years ago #

    I want to insert some code sitewide, such as stats, but I can't see a footer that I can edit.

    What can I do?

  2. Michael Bishop

    Posted 10 years ago #

    If there's not a footer.php file in the theme, simply create one, and add the content that you want.

    Then in your templates such as index.php, single.php, page.php. etc, add the line of code <?php get_footer(); ?> just before the closing div for #page, or #wrapper, depending on the theme.

    You can always reference the default theme for the structure, the current theme you are using is quite similar to the default.

  3. brk
    Member
    Posted 10 years ago #

    Thank you!

    Helpful as usual!

Topic Closed

This topic has been closed to new replies.

About this Topic