WordPress.org

Ready to get started?Download WordPress

Forums

Custom Footer for Individual Page(s) (4 posts)

  1. galtman
    Member
    Posted 4 years ago #

    Anybody know how to create or custom footer for an individual page OR create additional information in the footer of an individual page (without it showing up in the footer of all other wordpress pages)?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    http://codex.wordpress.org/Pages

    down that page a bit tells you how to make templates for custom pages. I've never done this, but I'd assume you'd make a custom template to use with each page, and have that page call to a different footer file you'd make?

  3. galtman
    Member
    Posted 4 years ago #

    Thank you - looking at what you sent, i'm sure it would work perfectly. Bummer though, I was hoping there was an easier way. I have 1 link I need added to my footer - but only on one page on my site.

  4. @mercime
    Volunteer Moderator
    Posted 4 years ago #

    You could use conditional tags anywhere in your theme like footer.php to specify where you'd like to add the link.
    e.g.

    <?php
    is_page('42') // When Page 42 (ID) is being displayed.
    {
    echo '<img src="aboutme.jpg"/>';
    }
    ?>

    http://codex.wordpress.org/Conditional_Tags#A_PAGE_Page

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags