Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

How To create a blank page template with center page content only


  #1  
Old Jan 30, 2014, 12:38 PM
mkellam
 
60 posts · Jan 2011
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
  #2  
Old Jan 30, 2014, 12:52 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Jan 30, 2014, 01:37 PM
mkellam
 
60 posts · Jan 2011
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:
<?php /*
Template Name: Clean Store Page Template
*/
?>

<!-- HTML Head and CSS styles here-->

<?php the_content(); ?>

<!-- Footer HTML here-->
  #4  
Old Jan 30, 2014, 02:30 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jan 30, 2014 at 02:33 PM.

Bookmarks

Tags
blank page, blank template, custom page template

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create a template page? kletskater Header configuration & styling 4 Oct 29, 2013 09:18 AM
Create a Page Template that displays Only One Page Menu Item treeplant Page & Category Menu Bars 0 Apr 20, 2010 03:41 AM
How do I create a new page template? JakeThePeg Page & Category Menu Bars 10 Sep 7, 2009 11:33 AM


All times are GMT -6. The time now is 05:38 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.