esc_html__( 'Primary', 'dxstore' ), ) ); add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link', ) ); add_theme_support( 'custom-background', apply_filters( 'dxstore_lite_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); } endif; add_action( 'after_setup_theme', 'dxstore_lite_setup' ); function dxstore_lite_content_width() { $GLOBALS['content_width'] = apply_filters( 'dxstore_lite_content_width', 640 ); } add_action( 'after_setup_theme', 'dxstore_lite_content_width', 0 ); function dxstore_lite_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Left', 'dxstore' ), 'id' => 'sidebar-1', 'description' => esc_html__( 'Add widgets here.', 'dxstore' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Header', 'dxstore' ), 'id' => 'sidebar-2', 'description' => esc_html__( 'Add widgets here.', 'dxstore' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer 1', 'dxstore' ), 'id' => 'sidebar-3', 'description' => esc_html__( 'Add widgets here.', 'dxstore' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer 2', 'dxstore' ), 'id' => 'sidebar-4', 'description' => esc_html__( 'Add widgets here.', 'dxstore' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer 3', 'dxstore' ), 'id' => 'sidebar-5', 'description' => esc_html__( 'Add widgets here.', 'dxstore' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer 4', 'dxstore' ), 'id' => 'sidebar-6', 'description' => esc_html__( 'Add widgets here.', 'dxstore' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Demo1', 'dxstore' ), 'id' => 'sidebar-9', 'description' => esc_html__( 'Add widgets here.', 'dxstore' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Demo2', 'dxstore' ), 'id' => 'sidebar-10', 'description' => esc_html__( 'Add widgets here.', 'dxstore' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'dxstore_lite_widgets_init' ); // Add Menu and Bootstrap function register_my_menu() { register_nav_menu('header-menu',__( 'Header Menu', 'dxstore-lite' )); } add_action( 'init', 'register_my_menu' ); function dxstore_lite_scripts() { wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/css/bootstrap.css', array( ), false, 'all' ); wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/css/bootstrap-theme.css', array( ), false, 'all' ); wp_enqueue_script('jquery'); wp_enqueue_script( 'bootstrap', get_template_directory_uri() . '/js/bootstrap.js', array( ), false, 'all' ); wp_enqueue_style( 'dxstore-style', get_stylesheet_uri() ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'dxstore_lite_scripts' ); require get_template_directory() . '/inc/template-tags.php'; add_action( 'after_setup_theme', 'dxstore_lite_woocommerce_support' ); function dxstore_lite_woocommerce_support() { add_theme_support( 'woocommerce' ); } add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 12;' ), 20 ); function woocommerce_output_related_products() { $args = array('posts_per_page' => 4, 'columns' => 4,'orderby' => 'rand' ); woocommerce_related_products( apply_filters( 'woocommerce_output_related_products_args', $args ) );} add_filter('add_to_cart_fragments', 'dxstore_lite_fragment'); function dxstore_fragment( $fragments ) { global $woocommerce; ob_start(); ?> cart->get_cart_total(); ?>

' . __( 'DxStore Lite', 'dxstore-lite' ) . '




' . __( 'Max Mega Menu', 'dxstore-lite' ) . '


Installation:
1. Go to the Plugins Menu in WordPress
2. Search for "Max Mega Menu"
3. Click "Install"

' . __( 'Documentation', 'dxstore-lite' ) . ' ' . __( 'https://www.megamenu.com/documentation/mega-menus/', 'dxstore-lite' ) . '










'; }