Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15211

    Hello- I would like to create two pages that i will use as a popup. They are for my return policy and privacy policy. I would like to be able to click a text link in the sidebar to go to these two pages. But I would like the popup to be very small, and not include the header, footer, sidebar, or anything that is part of the theme. Just a simple text box. How can I achieve this in Abundance theme?

    #86653

    Hi SandyMc,

    Try to find some cool pop up wordpress plugins like http://wordpress.org/extend/plugins/wordpress-popup/ and http://wordpress.org/extend/plugins/wp-super-popup/. I haven’t used this plugins, but they might be worth a try. :)

    Regards,

    Ismael

    #86654

    Ismael – Thank you. I guess the real issue is getting a page to work that is plain text. I don’t know how to do a page for my website that doesn’t have the header, footer and sidebars. Any advice in that regard?

    #86655

    Hi SandyMc,

    In your wp-content/themes/abundance folder, create a new file and name it, template-blank.php. Open template-blank.php and paste this code:

    <?php
    /**
    * Template Name: Blank Page
    *
    */
    ?>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />

    <!-- page title, displayed in your browser bar -->
    <title><?php bloginfo('name'); ?> | <?php is_home() ? bloginfo('description') : wp_title(''); ?></title>

    <!-- add feeds, pingback and stuff-->
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> RSS2 Feed" href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

    </head>

    <body id="top">
    <div class='container_wrap' id='main'>
    <div class='container'>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <?php the_content(); ?>
    <?php endwhile; ?>
    <?php endif; ?>
    </div>
    </body>
    </html>

    Edit your privacy policy page, and set the “Template” to “Blank Page”, and update the page. Hope this helps. :)

    Regards,

    Ismael

    #86656

    Ismael – Thanks so much for the great directions, and the code. Worked like a charm!

    #86657

    Hi SandyMc,

    Glad that we could help you. :)

    Cheers,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Custom pages with no header, footer, sidebar, etc.’ is closed to new replies.