Blank Page

Discussion in 'BlackWell-WordPress Business Theme.' started by vesity, Sep 26, 2014.

Thread Status:
Not open for further replies.
  1. vesity

    vesity Member

    Joined:
    Oct 3, 2013
    Messages:
    241
    Likes Received:
    0
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    You have to create a blank template page in the Blackwell theme folder.
    Thanks & Regards
    Pramod
     
  3. vesity

    vesity Member

    Joined:
    Oct 3, 2013
    Messages:
    241
    Likes Received:
    0
    Thank you. I put the blank page template in the folder but I'm not sure of the correct code to use to keep it blank and yet be able to edit it from the wp dashboard. As it is now, I can't add any text or content from WP dashboard.
     
  4. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    You have to create a new php file in blackwelltheme folder. You can set name of that file as template_blankpage.php and upload it in theme folder near to fullwidth_template.php or index.php. You can upload it via FTP. In the new php file paste the below code. After putting file in folder you have to create a new page from your dashboard to test this page. While adding new page you have to select a template Blank-Header-Footer Page(this template name appeared after adding the php file).
    PHP:
    <?php
    /*
      Template Name: Blank-Header-Footer Page
    */
    ?>
    <div class="page-container">
        <div class="container_24">
            <div class="grid_24">
                <div class="page-content">
                    <div class="fullwidth">
                 
                <h1 class="page_title"><?php the_title(); ?></h1>
                            <?php if (have_posts()) : the_post(); ?>
                                <?php the_content(); ?>   
                            <?php endif; ?>   
                       
                    </div>
                </div>
            </div>
        </div>
    </div>
    Thanks & Regards
    Pramod
     
  5. vesity

    vesity Member

    Joined:
    Oct 3, 2013
    Messages:
    241
    Likes Received:
    0
    Thank you!
     
Thread Status:
Not open for further replies.

Share This Page