| | #1 |
| Advanced Warrior War Room Member Join Date: 2003 Location: Stockholm, Sweden.
Posts: 767
Thanks: 89
Thanked 80 Times in 60 Posts
|
Ok here's what I want to do, I want to create a static frontpage and have it look like a squeeze page or a regular salepage... I was wondering is there a simple way to create the page in wp admin area and don't let that page pull any header or sidebar content? I know there are a few warriors selling plugins to all this stuff but it is an overkill for me at this moment... any help would be greatly appreciated thanks guys --David |
| JV partnership wanted, Lets grow your list for free. Nothing to do with giveaways. PM Now | |
| |
| | #2 |
| Donald Zanotti War Room Member Join Date: 2010 Location: Brescia
Posts: 56
Thanks: 19
Thanked 14 Times in 10 Posts
|
Why don't you just create a static HTML page from scratch for example a page.html, completely unrelated with your blog and save it in your root folder |
| |
| | #3 | |
| Advanced Warrior War Room Member Join Date: 2003 Location: Stockholm, Sweden.
Posts: 767
Thanks: 89
Thanked 80 Times in 60 Posts
|
I know this is a simple fix but I am not so good with php yet ![]() my idea is to have a custom squeezepage.php file in the theme which is bare-bone, no sidebar, header menus or navbars, then create a page in the adminpanel and then link it to the squeezepage.php file...see what i mean. I know this can be done I just don't really know how yet but with the members here I'll get a solution soon...thanks for the reply buddy --David | |
| JV partnership wanted, Lets grow your list for free. Nothing to do with giveaways. PM Now | ||
| |
| | #4 | |
| HyperActive Warrior War Room Member Join Date: 2010 Location: New Jersey
Posts: 140
Thanks: 14
Thanked 12 Times in 3 Posts
|
Why can't you just go into the settings- reading section and set the static home page to whatever page you choose? | |
| |
| | #5 |
| Active Warrior Join Date: 2011
Posts: 37
Thanks: 10
Thanked 3 Times in 3 Posts
|
you can use the theme editor and delete the menu . but its simplest to create yours html page. good luck! |
| |
| | #6 |
| Software Engineer War Room Member Join Date: 2008 Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
|
1. Create a page. If your theme allows, choose a template for that page. 2. Go to your dashboard and select: Settings -> Reading -> Front page displays -> A static page -> select page created in step #1 from list. What the page looks like and how it is implemented is going to entirely depend on your theme. If you need to do it yourself you'll just need to learn more about editing themes, especially making templates for pages. |
| I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs | |
| |
| | #7 |
| IM & Software Developer Join Date: 2010 Location: San Diego, Ca.
Posts: 66
Thanks: 0
Thanked 27 Times in 13 Posts
|
in the settings>reading section set the page you want as front page. and for that page eliminate the side bars. use a theme that allows that. like headway or genesis look on google you can find where to download it |
| Help Us Create The Cancer Victims Assistance House We provide money for medication, shelter, alimentary services and personal, financial and logistic assistance for kids with cancer and parents that have no money or healthcare. Help us raise $95,000 on indiegogo.com/cvah, SHARE, TWEET, MAIL AND HELP US GO VIRAL | |
| |
| | #8 |
| Flying Waffle War Room Member Join Date: 2011 Location: Vancouver, Canada
Posts: 806
Thanks: 62
Thanked 208 Times in 158 Posts
|
You want a custom Page Template. That will let you create a template within your theme that you can eliminate the headers/footers and customize the layout so that only pages that are assigned to it use it.
|
| | |
| |
| | #9 |
| Advanced Warrior War Room Member Join Date: 2003 Location: Stockholm, Sweden.
Posts: 767
Thanks: 89
Thanked 80 Times in 60 Posts
|
Thanks guys for all the help, the issue isn't about being able to create a page in the admin area, it was about not getting the navbar and the sidebar. if you just create a page in the admin area it will do this...but i have figured it and will update it for you guys to see what I have done to get this to work...it was simple but it took time to get it working in my head.. ![]() Here's what it did: create a custom .php page using the code here upload it to your active theme folder. Code: <?php
/*
Template Name: Squeeze
*/
?>
<div id="content" class="widecolumn">
<?php if (have_posts()) : while (have_posts()) : the_post();?>
<div class="post">
<h2 id="post-<?php the_ID(); ?>"></h2>
<div class="entrytext">
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
</div>
</div>
<?php endwhile; endif; ?>
</div> save as draft or publish and take a look. ![]() What I did after that was I already have a squeeze page that is converting so I took the body html code and paste it into my new squeeze page, save it your done. I'll do a quick video later for you guys, this is just a starting point you can add css and all kind of other stuff to it.. --David |
| JV partnership wanted, Lets grow your list for free. Nothing to do with giveaways. PM Now | |
| |
|
| Bookmarks |
| Tags |
| guy, wordpress |
| |