WordPress Question...

7 replies
Hello all,

My site is in WordPress with a sidebar on the right and a horizontal navigation bar right below the header graphic.

I'd like to create an opt-in page for a specific promotion. Is it possible to create a new page and "hide" the sidebar and navigation bar for just that page??? I want my traffic to have only ONE choice (opt-in) and not be distracted by the sidebar or navigation bar. Visitors should see only the header graphic and body area (where the offer and opt-in form will go) and the normal background.

I'm using WordPress 3.0. Please forgive me if this seems like a dumb question, but I really don't know if this is possible or not.

If not, I'll just have to create a separate squeeze page, right???

Thanks for your help!

Michelle
#question #wordpress
  • Profile picture of the author tx138
    Yes you can create a page with no sidebar or navigation. You will want to create a new page in wordpress and then apply a template to that page. In your template you can just include <?php get_header(); ?> and <?php get_footer(); ?> or whatever else you want to put in, just don't add in <?php get_sidebar(); ?>

    Save your template as Random-Template.php and save it in the same wordpress theme folder that you are using. There is one thing that you will need to add at the beginning of the file that you will be saving and that is:

    <?php
    /*
    Template Name: Random-Template
    */
    ?>

    Now go back to your page that you created in the wordpress interface and there should be a option to add the template you just made.

    Hope this helps.
    {{ DiscussionBoard.errors[2489157].message }}
    • Profile picture of the author Nightengale
      TX138,

      That's helpful, thanks so much. I'm still confused though:

      You tell me to create a page in WordPress, which is no problem. Well, I just click on Pages > Add New. But that just creates a page with the sidebar and nav bar. ????

      But then you tell me to apply a template to it.

      How do I apply a template? Sorry if this seems like a dumb question, but I really want to understand how to do this.

      Thanks!

      Michelle
      Signature
      "You can't market here. This is a marketing discussion forum!"
      {{ DiscussionBoard.errors[2489173].message }}
      • Profile picture of the author tx138
        Originally Posted by Nightengale View Post

        TX138,

        That's helpful, thanks so much. I'm still confused though:

        You tell me to create a page in WordPress, which is no problem. Well, I just click on Pages > Add New. But that just creates a page with the sidebar and nav bar. ????

        But then you tell me to apply a template to it.

        How do I apply a template? Sorry if this seems like a dumb question, but I really want to understand how to do this.

        Thanks!

        Michelle
        It will not give you the option to apply the template until you create a template. Once you create a template, the option should be right under where you can select a parent page.
        {{ DiscussionBoard.errors[2489184].message }}
  • Profile picture of the author HigherPrThanGod
    Originally Posted by Nightengale View Post

    Hello all,

    My site is in WordPress with a sidebar on the right and a horizontal navigation bar right below the header graphic.

    I'd like to create an opt-in page for a specific promotion. Is it possible to create a new page and "hide" the sidebar and navigation bar for just that page??? I want my traffic to have only ONE choice (opt-in) and not be distracted by the sidebar or navigation bar. Visitors should see only the header graphic and body area (where the offer and opt-in form will go) and the normal background.

    I'm using WordPress 3.0. Please forgive me if this seems like a dumb question, but I really don't know if this is possible or not.

    If not, I'll just have to create a separate squeeze page, right???

    Thanks for your help!

    Michelle
    Yeah, just create a static HTML page that mimics your theme and remove navigation. lol :p
    {{ DiscussionBoard.errors[2489172].message }}
    • Profile picture of the author Nightengale
      Originally Posted by HigherPrThanGod View Post

      Yeah, just create a static HTML page that mimics your theme and remove navigation. lol :p
      I could... I just wanted continuity in my colors and design (header, background, etc.). Thought it might be easier if there was a way to create a new page and "hide" the sidebar and nav bar.

      Maybe not. :p

      Michelle
      Signature
      "You can't market here. This is a marketing discussion forum!"
      {{ DiscussionBoard.errors[2489182].message }}
  • Profile picture of the author Istvan Horvath
    Michelle,

    see the template tricks (no optin) guide in my sig.
    I hope it will help and if you need more just holler
    Signature

    {{ DiscussionBoard.errors[2489200].message }}
    • Profile picture of the author Nightengale
      Istvan,

      Yes, this is what I was looking for. At the risk of appearing REALLY dumb, I didn't ask how to create a template and instead was searching it out on Google. Thanks so much for the gift. I greatly appreciate it! Saves me a lot of time...

      Glad someone understood what I was asking since I wasn't sure if I was very clear!

      Sincerely,
      Michelle
      Signature
      "You can't market here. This is a marketing discussion forum!"
      {{ DiscussionBoard.errors[2489251].message }}

Trending Topics