By default PHP-Fusion will let you modify the footer from the admin panel. This however displays at the very bottom of your PHP-Fusion site, and if you'd like to instead place a footer in-between your front page content and the bottom of the page, this article will explain that in detail.

Modify the sub-footer include file

Unlike the main footer that is editable from the admin panel, the sub-footer must be manually modified via a footer_includes.php file. Using the steps below I'll walk you through this process.

  1. First if you don't already know how to, familiarize yourself with how to edit a file on my server.
  2. The file you need to edit is going to be relative to your PHP-Fusion installation path, located at /includes/footer_includes.php.


    For me the full path to this file was /home/userna5/public_html/phpfusion/includes/footer_includes.php

    This is what the file should look like by default, basically a bunch of comments but no actual code:

    <?php
    /*-------------------------------------------------------+
    | PHP-Fusion Content Management System
    | Copyright (C) 2002 - 2011 Nick Jones
    | http://www.php-fusion.co.uk/
    +--------------------------------------------------------+
    | Filename: footer_includes.php
    +--------------------------------------------------------+
    | This program is released as free software under the
    | Affero GPL license. You can redistribute it and/or
    | modify it under the terms of this license which you
    | can read by viewing the included agpl.txt or online
    | at www.gnu.org/licenses/agpl.html. Removal of this
    | copyright header is strictly prohibited without
    | written permission from the original author(s).
    +--------------------------------------------------------*/

    //Add your custom include files for the footer here

    ?>

  3. Below the line //Add your custom include files for the footer here, is where we will be inserting our own sub-footer data. So you should end up with something like this:

    //Add your custom include files for the footer here

    echo "<center>This is my sub-footer for PHP-Fusion!</center>";

    After you save the file you should be able to refresh your PHP-Fusion website and see your new sub-footer. In the example image below, you can see that I've highlighted where each type of footer is getting loaded from.

    Sub-footer /includes/footer_includes.php
    Site footer Admin panel > Site footer
    Copyright footer /includes/theme_functions_include.php
    php-fusion different footer options

You should now understand how to modify the sub-footer of your PHP-Fusion website, and also where the multiple places that footer text is getting set at.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2208
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5633

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!