Support » Fixing WordPress » Setting the footer up as a 'page'

  • Resolved vikkineal


    Hi, can anyone help.

    We are developing a wordpress website for a client as they cannot afford for us to develop a fully bespoke CMS for them.

    They have very limited knowledge of HTML.

    In the footer.php of the site we have added some logos, but now they have decided that they would like to update the logos themselves but NOT via theme editor.

    I guess in an ideal world, they’d like to be able to upload the logos via the visual editor of a page, and for them to appear in the footer.

    Is something like this possible? Or is there another method for doing this that I’ve just not thought of?

    Any help / pointers in the right direction would be great.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Well what you could do if you really want to use the visual editor is either create a widget area and use some wysiwyg widget text editor.

    Or you could create a page called Footerpage and simply insert this code to the top of your page or header

    <?php function show_post($path) {
      $post = get_page_by_path($path);
      $content = apply_filters('the_content', $post->post_content);
      echo $content;

    and then where you want the text and images to appear

    <?php show_post('Footerpage');  // Shows the content of the "FooterPage" page. ?

    Thanks for the reply – I myself am still relatively new to WordPress so forgive me if this is a silly question;

    so to display the page content of footerpage IN the footer.php file, could I put the function you suggested in the functions.php file and then add the show_post php in the footer.php file?

    Well yes. That could work if you want your code to look a bit better. But remember to do
    <?php show_post('name of the page you created');?>
    at the place you want the images and text to appear. I recommend wrapping the show post in a div and adjusting size etc with css.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Setting the footer up as a 'page'’ is closed to new replies.