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 in 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 as well as code files you want to load after the content is rendered. It's also used to load the editing toolbar and therefore...