Calling php onto a static page
-
I’m trying to setup a splash page at /index.html (while my WordPress files reside at /blog )
I’ve been following the instructions on https://codex.www.ads-software.com/Creating_a_Static_Front_Page
But I can’t even get started. I put the following text only in my root index.html file:
<?php define(‘WP_USE_THEMES’, false);
require(‘blog/wp-blog-header.php’); ?>But all I get is a blank page (as of writing this):
https://last-straw.net/Any pointers?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Calling php onto a static page’ is closed to new replies.