August 2017
Beginner
412 pages
10h 30m
English
Next, we will create the footer file. To create this, first cut out all of the text at the very bottom of the index.php file from the following code:
</div><!-- #content --><footer id="colophon" class="site-footer" role="contentinfo">
Cut all the way through to the </html> tag. Paste the text you just cut into a new footer.php file that you create within your theme folder.
Now, at the very bottom of the index.php file (from where you just cut the footer text), write in the following line of WordPress PHP code:
<?php get_footer(); ?>
This is a special WordPress function that includes the footer.php file you just created. Again, you should save everything and reload your website to make sure nothing changes.
Read now
Unlock full access