Guys you know how I can do this in wordpress?

by 8 replies
9
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
#programming #guy #wordpress
  • 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
    • [1] reply
    • Donald, i have thought about that that but I wanted to be able to edit it within the wordpress admin panel....this part of the main reason for doing it that way...

      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
      • [1] reply
  • 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.
  • 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
  • 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.
    • [1] reply
    • 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 &raquo;</p>'); ?>
        </div>
       </div>
       <?php endwhile; endif; ?>
      </div>
      Go to the admin dashboard - pages - add new = give it a name what ever u want, then go to page attributes - under template select the template squeeze in the dropdown box.

      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

Next Topics on Trending Feed