• Herbalist Jim’s Healing Hints

    (@jim-spalding-master-herbalist)


    Hello,
    First, I do not know CSS or HTML.
    How can I include a squeeze page for my site that does not have all the other elements (you know, side bar, navigation, etc. ) ?
    I just want to put text, pictures, and links on the page. Nothing else visible.

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you don’t know HTML/CSS then I would recommend finding a squeeze page plugin that can do all the design part for you.

    Since most are paid plugins I won’t recommend one so here you go. ??

    https://www.google.com/search?q=wordpress+squeeze+page+plugin

    Hi Jim,

    If you know about wordpress theme, it would be simple to create a blank page template and create your squeeze page use that template.
    it could be something like this:

    <?php
    	/* Template name: Blank Template
    
    	*/
    
    ?>
    <!DOCTYPE html>
    <html xmlns="https://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title><?php
    	echo the_title();
    
    	?></title>
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php the_content(); ?>
    
    	<?php endwhile; // end of the loop. ?></body></html>

    Hope it helps,

    cp

    Here is the above code reformatted.

    <?php
    /*
     * Template Name: Blank Squeeze
     * Description: Use this blank page template for custom squeeze pages.
     */
    ?>
    
    <!DOCTYPE html>
    <html xmlns="https://www.w3.org/1999/xhtml">
    	<head>
    		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    		<title><?php echo the_title(); ?></title>
    	</head>
    	<body>
    		<?php while ( have_posts() ) : the_post(); ?>
    			<?php the_content(); ?>
    		<?php endwhile; // end of the loop. ?>
    	</body>
    </html>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Custom Squeeze page to site’ is closed to new replies.