• Hi, I’m new using wordpress and I just started with themes. Following the some guides I created the basic hierarchy with all the files required. After installing my own theme on my wordpress, hosted on localhost, I faced a problem and it’s wordpress doesn’t load that index.php file, anything from that file; checked google chrome’s inspecting elements and all I have is basic html layout which comes by default in chrome and the body tags are empty. I made some test like echoing basic strings and stuff like this and still doesn’t work.

    My index.php file has:

    <?php get_header(); ?>
    <?php get_footer(); ?>

    The respective files has some basic html layout, nothing special.

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter OverDMG

    (@overdmg)

    I solved it.

    The problem was that I was testing some themes before I started making my own and in the themes I was testing with I changed the front page display option to a static page and since my theme didn’t have support for this feature yet.

Viewing 1 replies (of 1 total)
  • The topic ‘WP doesn't load my theme's index.php file’ is closed to new replies.