badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Landing Pages Using WP Lead Plus

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3394
    Simon
    Member

    Hi,

    I am looking to incorporate landing pages into my site using the WP Leads Plus plugin. The Plug In requires a blank page format. No header, menu & footer etc. I do not see this option and instead it drops it into the frame between header and footer. Please can you let me know how I can create a blank page?

    Thanks

    Simon

    #3415
    Sanjip Shah
    Participant

    @Simon You could create a new page template for this just excluding the header and the footer part. Just create a new file page-template-landing.php. Inside it paste the following code and save the file inside the theme folder. Now you could use this template from the template drop down while creating a page. You could make adjustment to the code as yo like.

    <?php
    /**
     * Template Name: Landing Template
     */
    ?>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    
    	<?php	
    		do_action( 'attitude_title' );
    		do_action( 'attitude_meta' );
    		do_action( 'attitude_links' );
    		wp_head();
    	?>
    
    </head>
    
    <body <?php body_class(); ?>>
    	<div class="wrapper">
    		<div id="main" class="container clearfix">
    			<div id="container">
    				<?php
    					if( have_posts() ) {
    						while( have_posts() ) {
    							the_post();
    							the_content();
    						}
    					} 
    				?>
    			</div>
    		</div>
    	</div>
    </body>
    </html>

    Also, please make a child theme for this customization so that you won’t lose the changes when you update the parent theme.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.