Basic Function for index.php

You need to Include at least both php functions to get header and get footer to include your Header and Footer websites partials in the Home – index.php page.

By Default your index.php show your Home page

Add this in your index.php file

<?php get_header();?>

<?php get_footer();?>

Categorized as WordPress

Leave a comment