Problem with footer

Permalink
On the footer of the home page of my site, I put our name, address and phone. I published the page. It shows up only on the home page. How can I make it sitewide? Also, I don't see how I can edit the information on the footer. Thanks.

 
Steevb replied on at Permalink Reply
Steevb
Url would be nice.

Is the footer a 'Global' area?
claireh replied on at Permalink Reply
No. It doesn't seem to be global. But the words My Site 2014 show up on all the pages.
justrj replied on at Permalink Reply
justrj
It sounds like the dev hard coded the copyright into the theme using the site name and the year, but didn't make the editable part of the footer global. You can change the Site Name in Dashboard>System and Settings to get that site name updated to whatever you want it to say.

As for making something that shows up on every page, you can do one of three things:

1. Go to each page and add it to those pages manually. I would suggest adding a stack for that first (Dashboard>Stacks&Blocks>Stacks) so that you can just select "Add Stack" when you're in edit mode.

2. You can go to Dashboard > Pages and Themes > Page Types. Go to one of page types that you are using on the site and select the "Defaults" button. Put the page in edit mode and add that content to the footer. After you've saved the block but BEFORE you publish the changes. Click on the block you just added and select "Setup on Child Pages". If you hit the top checkbox on the right it will add that block to every page that has the page type that you're using automagically. The bummer is you have to do this for all of the page types in your theme, or at least all of the ones that you plan to use, BUT every page that you create of that type going forward will have the correct footer and it's easier than adding it to each page manually.

3. If you're anywhere near comfortable with ftp and html and such, you can replace the code in your files with:
<?php 
    $a = new GlobalArea('That Area Name'); $a->display(); 
?>

WIth out more info I can't give you much to point you in the right direction on the coding front other than letting you know some fairly common proctices in the community.
The file you need to add that code to is most likely called footer.php and is most likely to be inside your theme package directory in a folder called elements, or inc, or includes.