Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @joannapl

    The file that has been mentioned in the thread that you have referred to is a template file. So, that file can be overridden using a child theme. That changes will be there on your site with your child theme even if you update the Dokan plugin.

    Have you tried overriding the file using your child theme already? If so, then would you mind sharing the directory that you have been trying? Would love to see if there is something wrong with the directory.

    Thread Starter joannapl

    (@joannapl)

    The child theme requires the minimu style.css, screenshot.png and functions.php which will only contain:

    <?php
    // Exit if accessed directly
    if ( !defined( 'ABSPATH' ) ) exit;
    
    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED - Do not modify or remove comment markers above or below:
    
    if ( !function_exists( 'chld_thm_cfg_locale_css' ) ):
        function chld_thm_cfg_locale_css( $uri ){
            if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . '/rtl.css' ) )
                $uri = get_template_directory_uri() . '/rtl.css';
            return $uri;
        }
    endif;
    add_filter( 'locale_stylesheet_uri', 'chld_thm_cfg_locale_css' );
             
    if ( !function_exists( 'child_theme_configurator_css' ) ):
        function child_theme_configurator_css() {
            wp_enqueue_style( 'chld_thm_cfg_child', trailingslashit( get_stylesheet_directory_uri() ) . 'style.css', array( 'kadence-global','kadence-header','kadence-content','kadence-footer' ) );
        }
    endif;
    add_action( 'wp_enqueue_scripts', 'child_theme_configurator_css', 10 );
    
    // END ENQUEUE PARENT ACTION

    img: https://imgur.com/a/pbWjoOu

    • This reply was modified 2 years, 9 months ago by joannapl.
    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @joannapl

    It seems like the child theme has been managed wrongly. Kindly confirm that the file that you want to override is in the below-mentioned directory.

    your_child_theme_folder/dokan/store-lists-loop.php

    I believe that will resolve your problem if you had followed your reference thread exactly.

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @joannapl

    Due to inactivity, I am marking this topic as resolved. Feel free to open a new one if you face any further issues.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude admin from store list’ is closed to new replies.