Home Forums Theme Support Dokan Problem with Dokan Stores page name

This topic is: not resolved

This topic contains 33 replies, has 2 voices, and was last updated by  Simon Chabrier 3 years, 8 months ago.

Viewing 4 posts - 31 through 34 (of 34 total)
  • Author
    Posts
  • #69123

    towhid
    Participant
    Post count: 4505

    Hello Simon,

    If you want to unset the default home page and set your designed page as a homepage you have to customize several places which are a time-consuming thing.

    But I can share an idea with you what you can do to achieve for change the homepage:

    please navigate to themes/dokan/functions.php

    This file is basically initial file for loading the front-page.

    The front-page has a class which contains widget, slider, style, jQuery, menu etc.

    Also navigate themes/dokan/front-page.php
    You can also customize the front-page design from the above file.

    Thanks

    #69137

    Simon Chabrier
    Member
    Post count: 166

    Nox I use in my child theme personnal front page.php with this code :

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

    It is ok to change the first page.
    But I can't use the Dokan first page in an other place in the site ! You uderstand ? If I wan't to use a personnal home page and have shops on an other place in the site I can't do it with full Dokan theme fonctionnality and display.

    #69270

    towhid
    Participant
    Post count: 4505

    Hello Simon,

    I am not clear your last post. But I can't use the Dokan first page in another place in the site! What does it mean?

    Thanks

    #69351

    Simon Chabrier
    Member
    Post count: 166

    I need to use Dokan as a second part of my site . Visitors must arrive by another first page for exexmple articles page, and after they can go to the shops using the menu link.

Viewing 4 posts - 31 through 34 (of 34 total)

The topic ‘Problem with Dokan Stores page name’ is closed to new replies.