Forums

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

  1. galtman
    Member
    Posted 1 month 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. RVoodoo
    Member
    Posted 1 month 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 1 month 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
    Member
    Posted 1 month 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

Reply

You must log in to post.

About this Topic

Tags