Change default Homa Page

This topic contains 2 reply and 2 voices, and was last updated by Simon Chabrier 9 years, 5 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
July 18, 2015 at 11:06 pm 56256
Simon Chabrier Hello I need to change the default home page link. Because I want to display an other page I'll create in wordpress with visual composer to display articles- pictures..... How to do that please ? Thank you
July 19, 2015 at 3:01 pm 56286
Nayem Nayem

Hello,

Please navigate to WP admin->Settings->Reading and set your Front page.

Thanks.

July 19, 2015 at 7:26 pm 56323
Simon Chabrier Simon Chabrier

Hello. Of course I have do this first. Bit this don’t work for the Dokan theme – just allow is own pages to be set as first page. So I make a child theme and put a new front-page.php with this code. And it works. But impossible to do without doing this.

<?php
/**
 * The Template for displaying all single posts.
 *
 * @package _bootstraps
 * @package _bootstraps - 2013 1.0
 */
get_header();
?>

<div id="primary" class="content-area col-md-9">
    <div id="content" class="site-content" role="main">

        <?php while (have_posts()) : the_post(); ?>

            <?php get_template_part( 'content', 'page' ); ?>

            <?php
            // If comments are open or we have at least one comment, load up the comment template
            if ( comments_open() || '0' != get_comments_number() )
                comments_template( '', true );
            ?>

        <?php endwhile; // end of the loop. ?>

    </div><!-- #content .site-content -->
</div><!-- #primary .content-area -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
Viewing 2 Posts - 1 through 2 (of 2 total)