Wordpress sales page using Genesis

2 replies
  • WEB DESIGN
  • |
I'm looking for a way to make a single column sales page from within my current Genesis theme.

I have some nice sales page themes but is it possible to activate the theme on only one page?

Any tips?
#genesis #page #sales #wordpress
  • Profile picture of the author RichKent
    Yeah, you just need to create a custom page template, and when you build the sales page select the custom page from the page template dropdown.

    In the case of a sales page, generally the custom page template won't pull the default header, sidebar, or footer, and will use a custom header.

    You can google 'wordpress page templates' to learn more.
    {{ DiscussionBoard.errors[3481486].message }}
    • Profile picture of the author mlcmartin
      You have to create a complete page template with head and body tags if you want it to be completely different from your main website. Here is a template for you:

      Code:
      <?php
      /**
       * Template Name: Sales Page
       */
       
      ?><!DOCTYPE html>
      <html <?php language_attributes(); ?>>
      <head>
      <meta charset="<?php bloginfo( 'charset' ); ?>" />
      <title><?php wp_title( '|', true, 'right' );?></title>
      <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
      <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
      <?php wp_head(); ?>
      </head>
      
      <body style="background-color: white;" <?php body_class(); ?>>
      
      <div id="wrapper" class="salespage">
      <div id="header">
      		<div id="innerheader">
      			<div id="logo"><a href="/"><img src="/wp-content/themes/redblue/images/RedBlueLogo.png"></img></a></div>
      			<div id="navigation" role="navigation">
      				<?php /* Our navigation menu.  If one isn't filled out, wp_nav_menu falls back to wp_page_menu.  The menu assiged to the primary position is the one used.  If none is assigned, the menu with the lowest ID is used.  */ ?>
      			</div><!-- #access -->
      			
      			<div style="clear: both; "></div>
      		</div>
      		
      		<div style="clear: both; "></div>
      	</div>
      	<div id="main" class="salespage">
      		<div id="container" class="salespage">
      			<div id="content" role="main" class="salespage">
      		<?php 
      			if ( have_posts() ) : the_post(); ?>
      			<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
      				<div class="entry-content">
      					<?php the_content(); ?>
      					<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
      					<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
      				</div><!-- .entry-content -->
      			</div><!-- #post-## -->
      			<?php if(!is_page()) {comments_template( '', true );} ?>
      		<?php endif;?>
      				<?php comments_template( '', true ); ?>
      		</div><!-- #content -->
      	</div><!-- #container -->
      <div style="clear: both;"></div>
      	</div><!-- #main -->
      
      	<div id="footer" role="contentinfo" class="salespage">
      		<div style="color: #444444; width: 100%; text-align: center;">Copyright &copy Red Blue Websites, 2011, All Rights Reserved</a>
      	</div><!-- #footer -->
      </div><!-- #wrapper -->
      
      <?php wp_footer(); ?>
      </body>
      </html>
      You will have to adjust it and style it to your own needs, but nontheless you can use this as your template.

      Then just create a page from within wordpress and pick "Sales Page" as your template.
      {{ DiscussionBoard.errors[3481564].message }}

Trending Topics