WordPress.org

Ready to get started?Download WordPress

Forums

Add custom footerS for pages (3 posts)

  1. kitkat007
    Member
    Posted 1 year ago #

    I was searching for a plugin but was suprised it does not exist...

    I have some pages (like 16 or something) and would like to change the footer for every page (every page another footer)

    So whats the best way to do it ?

    I know php and stuff, just not very good in wordpress..

    i have seen some question asked that were simmilar but they all wanted 1 additional footer..

    so they had to make a copy of the footer (footer_2), change the name and use this function

    is_page( 'Custom page 1' ) {
    //INSERT CUSTOM FOOTER l
    get_footer( "footer_2" );
    }

    is this the best way to do it ?

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Perhaps putting a widget in the footer and using a plug-in to change the widget per the different pages.

    http://wordpress.org/extend/plugins/dynamic-widgets/

    http://codex.wordpress.org/Widgetizing_Themes

  3. kitkat007
    Member
    Posted 1 year ago #

    so basicly you are saying:

    1) make custom widgets and load them from the footer

    2) the dynamic-widgets loads widgets i made in different pages (say i can select them on the page)

    it sounds like a wonderfull idea !, i will try to fix it in code and if i manage to fix it i will try to use this to make a plugin off it

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags