How To create a blank page template with center page content only
Hi,
I've been trying to understand how to create a page template that only displays the content we enter into the back end editor's content box when we add a new page. (No blog title/menus, no sidebars -- just a plain white background.) We will be using this template for a store "pitch" page using our estore plugin, so it does need to function inside Wordpress. How might I accomplish this? Also, I'd like to be able to link it to the stylesheet but override certain styles with custom styles for this page. I assume I can define custom styles with CSS between the style tags in the custom template. Is that correct? Thanks! Michael |
There are "landing page" plugins that might do this for you or you can craft some CSS to hide what you want for that particular page.
|
Hi Larry,
Thank you for your answer. I checked on the landing page plugins and though they look like I might be able to use them to accomplish this, even the highest rated one has enough bad ratings that I'm hesitant to use it for a store page. Is it possible for me to create a bare bones template page where I code it mostly with CSS and HTML (like the basic style info and such at the top of the header file), but use PHP to include a call to "the_content"? I sort of tried to do that but I think I must have needed to tell the file where to find "the_content". Is this a concept that would work or m I oversimplifying? Thanks! Michael P.S. Here's a sample of something I tried to do. Would this not work as a template? PHP Code:
|
If you want to make a template start with a copy of the themes index.php
You can easily add css using the CSS Inserts option |
All times are GMT -6. The time now is 09:52 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.