Custom Page Template Won't Display Any Content
I have been researching and weighing out options relentlessly for the best way to go about converting my existing HTML site over to WordPress, while leaving my existing site undisturbed as i’m developing my new site within WordPress, etc… The most feasible/least problematic way I can come up with would be to go ahead and install WordPress in my root and create a static front page, which duplicates my present index.html page exactly. That way I could be developing my new WordPress site in the background and easily make the transition when it’s ready to go live.
Sooo… What i’m currently trying to do is create a completely blank, full width page template, with no WordPress menus/posts/header/footer/etc. The page must be an exact duplicate of my existing index.html page with nothing more than my current content/graphics/links/etc. I have been following the directions on the following page for creating my custom template:
and I will be using the directions on the following page for using the page I create as a static front page:
Right now, the problem i’m having is, I can’t get ANY content (no text, images… nothing) to display when I try to create a page using the custom page template I created. This is the only code I have in my page template at the moment:
<?php /* Template Name: Front Page Test */ ?>
Can someone please tell me what I have to do to get my content to display?
Thanks in advance for any help and suggestions you guys may have.
PS Just FYI i’m running WordPress in a sub-directory at the moment just for testing. I really don’t want to develop my new site in there and be faced with all of the potential complications of moving it to my root or running it from a sub-directory, etc…
- The topic ‘Custom Page Template Won't Display Any Content’ is closed to new replies.