Carry out the following steps:
In the
elements
directory, create a new file namedfooter.php
.From the original HTML file, copy everything starting at
footer_line_top
to the end of the file and insert it into the new file:<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?> <div id="footer_line_top"></div> <div id="footer"></div> <div id="footer_line_bottom"></div> </div> </div> <?php Loader::element('footer_required'); ?> </body> </html>
There are only two lines we have to insert. The first one is again, just a protection to disallow direct calls to our file. The second one is a placeholder for a snippet you can specify in the concrete5 dashboard. This is often used for a JavaScript statistics tracking code.
Save and close the file; there's nothing else to do in this file, as we're not having any dynamic content in this file.