How to customize the header and footer

BasePress uses easy templates to render all the pages in the knowledge base. Each template loads the header and footer from your main WordPress theme.
If you want to customize the header and footer for the knowledge base pages only or you need to adapt them to best work with BasePress, please follow the instructions below.

  1. Open your WordPress theme folder and locate these two files:
    header.php
     footer.php 
  2. Make a copy of the files in the same folder and rename them to:
    header-basepress.php
    footer-basepress.php 
  3. Open the files with your preferred editor and make changes as needed.

Once the new files are in place, BasePress will use them instead of the default ones.

IMPORTANT! When making changes to your main WordPress theme it is recommended to use a child theme. This way you can update your theme without loosing your changes.

Was this helpful?


Previous Article

Theme functions