I am trying to develop a customized footer so that depending on what page the user is on, the site will display a different footer.

Basically the footer will remain pretty much the same except it will display three different images of three destinations that are relevant to the page its on. These images will also link to an external sister site.

This is easy enough to do with a bunch of php files include in some ifelse statements. And that was the way i was going to take this idea, but then i thought that it would be much better if i create an interface in WP admin so that if anyone wants to change a destination and/or image they could easily do it from the admin panel, thus allowing anyone the ability to do so without the need for accessing code.

So the question is shall I create custom post types or is there another way to do this? Ideally I would like an admin menu like 'footer' then have sub-menu's for each region/destination and each sub-menu will have three posts/sections that will contain an image a title and a url to place in the link.

Any help and pointers will be much appreciated :)



You should use dynamic_sidebar()s for that. You can read more about it in Code.

They allow you to use widgets, like - for example - a custom menu widget. More about the custom menus inside .

  • Hi @Kaiser, Thanks for your reply. I hadn't thought of using custom sidebar for this. Sounds like a good idea, i will look into it further. Many thanks :)
    – robolist
    Oct 31 '12 at 1:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.