Support » Fixing WordPress » Custom Footer for Individual Page(s)

  • 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)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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?

    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.

    @mercime

    (@mercime)

    Volunteer Moderator

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Footer for Individual Page(s)’ is closed to new replies.