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.

Continued Education in Course 104: Changing the PHP-Fusion Appearance
You are viewing Section 4: Modify the sub-footer in PHP-Fusion
Section 3: Editing the site introduction in PHP-Fusion
Section 5: Changing the banner/logo in PHP-Fusion
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 this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

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
n/a Points
2014-11-13 10:39 am

I have a panel in the folder infusions. Prompt how to insert this panel, in, footer, my template theme cveu-big-fudge.

Staff
10,994 Points
2014-11-13 12:37 pm
Hello seri0shka,

Thank you for your question. We are happy to help, but will need some additional information.

What CMS are you using? Are you actually running PHP-Fusion, or are you using WordPress, Joomla, Drupal, etc.?

Can you provide a link to your website, so we can look at the existing setup?

Thank you,
John-Paul

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

2 Questions & Comments

Post a comment

Back to first comment | top

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!