Home Forums Theme Support Dokan Creat a new page without comments permistion!

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Sekander Badsha 4 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #24453

    vu thap
    Post count: 51

    i am an newbie in WordPress, everything is building from chaotic!
    Now i want to creat a new page using for : about, term & condition page… it's not permit for Comments!
    Please tell me, how have i to do?
    thanks you!


    vu thap
    Post count: 51

    i am waiting!


    Anas Basalamah
    Post count: 160

    do the following:

    go to dokan folder --> templates --> add file called blank.php

    inside the file write the following:

     * A blank page template
     * Template Name: Blank page
     * @package dokan
     * @package dokan - 2013 1.0
    <div id="primary" class="content-area col-md-12">
        <div id="content" class="site-content" role="main">
            <?php while (have_posts()) : the_post(); ?>
                <?php get_template_part( 'content', 'page' ); ?>
            <?php endwhile; // end of the loop. ?>
        </div><!-- #content .site-content -->
    </div><!-- #primary .content-area -->
    <?php get_footer(); ?>

    then when you create a page on wordpress (admin panel)
    for example page called “about me”

    from the page properties under model choose blank page

    then write whatever you want in that page


    vu thap
    Post count: 51

    it was created ! cool , special thank Anas.You are my light! (^_^)!!


    Sekander Badsha
    Post count: 2067

    Hello Vu Thap,
    This can be done from WordPress Custom Fields. You'll see something below the content area.
    WordPress Discussion
    If you can't find it on the create new page dashboard, then you may open the screen options from the top right corner and check the “discussion” box. Then you'll get the options to turn on or off the comments on the pages.

    And thanks Anas, for being such kind heart.

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

The topic ‘Creat a new page without comments permistion!’ is closed to new replies.