diff --git a/404.php b/404.php index 772bf5d..1cea081 100755 --- a/404.php +++ b/404.php @@ -13,11 +13,11 @@
-

+

-

+

@@ -30,7 +30,7 @@
-

+

    'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10) ); ?>
@@ -42,7 +42,7 @@ ' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'dokan' ), convert_smilies( ':)' ) ) . '

'; + $archive_content = '

' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'dokan-theme' ), convert_smilies( ':)' ) ) . '

'; the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=$archive_content" ); ?>
diff --git a/archive.php b/archive.php index 03ccf93..162b28a 100755 --- a/archive.php +++ b/archive.php @@ -19,28 +19,28 @@

' . single_cat_title( '', false ) . '' ); + printf( __( 'Category Archives: %s', 'dokan-theme' ), '' . single_cat_title( '', false ) . '' ); } elseif ( is_tag() ) { - printf( __( 'Tag Archives: %s', 'dokan' ), '' . single_tag_title( '', false ) . '' ); + printf( __( 'Tag Archives: %s', 'dokan-theme' ), '' . single_tag_title( '', false ) . '' ); } elseif ( is_author() ) { /* Queue the first post, that way we know * what author we're dealing with (if that is the case). */ the_post(); - printf( __( 'Author Archives: %s', 'dokan' ), '' . get_the_author() . '' ); + printf( __( 'Author Archives: %s', 'dokan-theme' ), '' . get_the_author() . '' ); /* Since we called the_post() above, we need to * rewind the loop back to the beginning that way * we can run the loop properly, in full. */ rewind_posts(); } elseif ( is_day() ) { - printf( __( 'Daily Archives: %s', 'dokan' ), '' . get_the_date() . '' ); + printf( __( 'Daily Archives: %s', 'dokan-theme' ), '' . get_the_date() . '' ); } elseif ( is_month() ) { - printf( __( 'Monthly Archives: %s', 'dokan' ), '' . get_the_date( 'F Y' ) . '' ); + printf( __( 'Monthly Archives: %s', 'dokan-theme' ), '' . get_the_date( 'F Y' ) . '' ); } elseif ( is_year() ) { - printf( __( 'Yearly Archives: %s', 'dokan' ), '' . get_the_date( 'Y' ) . '' ); + printf( __( 'Yearly Archives: %s', 'dokan-theme' ), '' . get_the_date( 'Y' ) . '' ); } else { - _e( 'Archives', 'dokan' ); + _e( 'Archives', 'dokan-theme' ); } ?>

diff --git a/assets/css/skins/blue.css b/assets/css/skins/blue.css index 8343cb1..2b50cbf 100644 --- a/assets/css/skins/blue.css +++ b/assets/css/skins/blue.css @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active { .woocommerce .star-rating { color: #2980b9; } -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/assets/css/skins/green.css b/assets/css/skins/green.css index f41073a..9df2c9a 100644 --- a/assets/css/skins/green.css +++ b/assets/css/skins/green.css @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active { .woocommerce .star-rating { color: #27ae60; } -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/assets/css/skins/orange.css b/assets/css/skins/orange.css index 27108c0..462370a 100644 --- a/assets/css/skins/orange.css +++ b/assets/css/skins/orange.css @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active { .woocommerce .star-rating { color: #f05025; } -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/assets/css/skins/pink.css b/assets/css/skins/pink.css index 6fe591a..d17c3f3 100644 --- a/assets/css/skins/pink.css +++ b/assets/css/skins/pink.css @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active { .woocommerce .star-rating { color: #f17288; } -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/assets/css/skins/purple.css b/assets/css/skins/purple.css index 5d5ae33..5c52a5a 100644 --- a/assets/css/skins/purple.css +++ b/assets/css/skins/purple.css @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active { .woocommerce .star-rating { color: #8e44ad; } -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/assets/css/skins/red.css b/assets/css/skins/red.css index 18522c9..9648333 100644 --- a/assets/css/skins/red.css +++ b/assets/css/skins/red.css @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active { .woocommerce .star-rating { color: #e74c3c; } -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/assets/css/skins/rose-quartz.css b/assets/css/skins/rose-quartz.css index 8b4776e..aed9d08 100644 --- a/assets/css/skins/rose-quartz.css +++ b/assets/css/skins/rose-quartz.css @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active { .woocommerce .star-rating { color: #AF93A0; } -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/assets/css/skins/sky.css b/assets/css/skins/sky.css index 41cd487..0c48af0 100644 --- a/assets/css/skins/sky.css +++ b/assets/css/skins/sky.css @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active { .woocommerce .star-rating { color: #3498db; } -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/assets/js/script.js b/assets/js/script.js index 1c9fee6..79a89b1 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -55,7 +55,7 @@ jQuery(function($) { maxItems: getGridSize() }); - $('body').on('added_to_cart wc_cart_button_updated', function( data ) { + $('body').on('added_to_cart wc_cart_button_updated', function( fragment, data ) { var viewCartText = $('a.added_to_cart.wc-forward').text(); $('i.fa-shopping-cart').removeClass('fa-spin'); @@ -63,7 +63,7 @@ jQuery(function($) { $('[data-toggle="tooltip"]').tooltip(); $('.dokan-cart-amount-top > .amount').fadeOut( 'fast', function(){ - $('.dokan-cart-amount-top > .amount').html(data.amount).fadeIn('fast'); + $('.dokan-cart-amount-top > .amount').html( data.dokan_cart_amount ).fadeIn('fast'); }); }); diff --git a/assets/less/style.less b/assets/less/style.less index c04f78a..b83343f 100755 --- a/assets/less/style.less +++ b/assets/less/style.less @@ -4,7 +4,7 @@ Theme URI: http://wedevs.com/theme/dokan/ Author: Tareq Hasan Author URI: http://tareq.weDevs.com Description: An e-commerce theme for Dokan -Version: 2.2.1 +Version: 2.3.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html */ @@ -72,3 +72,12 @@ input, textarea { background-color: #fdfdfd; border: 1px solid #e3e3e3; } + +/* woocommerce auction */ +.auction_form { + .input-text.qty.bid.text { + padding-left: 0; + padding-right: 0; + width: 80px; + } +} \ No newline at end of file diff --git a/changelog.txt b/changelog.txt index 4a52cc1..a82adea 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,12 @@ +v2.3.1 -> December 19, 2017 +--------------------- +- [new] Help link added on Slider menu +- [new] Made compatible with Dokan Live Search module +- [fix] Mini cart not updating live +- [fix] Showing My account page inside Checkout page +- [tweak] Updated outdated template versions +- [tweak] Updated missing text domains + v2.3.0 -> July 31, 2017 --------------------- - [new] Rose Quartz Color scheme added diff --git a/classes/customizer.php b/classes/customizer.php index a75609e..b0afd62 100644 --- a/classes/customizer.php +++ b/classes/customizer.php @@ -13,7 +13,7 @@ function __construct() { } function get_post_type( $post_type ) { - $pages_array = array( '-1' => __( '- select -', 'dokan' ) ); + $pages_array = array( '-1' => __( '- select -', 'dokan-theme' ) ); $pages = get_posts( array('post_type' => $post_type, 'numberposts' => -1) ); if ( $pages ) { @@ -29,38 +29,38 @@ function register_control( $wp_customize ) { // logo $wp_customize->add_section( 'dokan_logo_section', array( - 'title' => __( 'Site Logo', 'dokan' ), - 'description' => __( 'Upload your logo to replace the default Logo (dimension : 180 X 50)', 'dokan' ), + 'title' => __( 'Site Logo', 'dokan-theme' ), + 'description' => __( 'Upload your logo to replace the default Logo (dimension : 180 X 50)', 'dokan-theme' ), ) ); $wp_customize->add_setting( 'dokan_logo' ); $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'dokan_logo', array( - 'label' => __( 'Upload Logo', 'dokan' ), + 'label' => __( 'Upload Logo', 'dokan-theme' ), 'section' => 'dokan_logo_section', 'settings' => 'dokan_logo', ) ) ); // theme settings $wp_customize->add_section( 'dokan_theme_section', array( - 'title' => __( 'Theme Settings', 'dokan' ) + 'title' => __( 'Theme Settings', 'dokan-theme' ) ) ); // skin chooser $wp_customize->add_setting( 'color_skin', array( 'default' => 'orange.css' ) ); $wp_customize->add_control( 'color_skin', array( - 'label' => __( 'Color Skin', 'dokan' ), + 'label' => __( 'Color Skin', 'dokan-theme' ), 'section' => 'dokan_theme_section', 'type' => 'select', 'choices' => array( - 'orange.css' => __( 'Orange', 'dokan' ), - 'sky.css' => __( 'Sky', 'dokan' ), - 'blue.css' => __( 'Blue', 'dokan' ), - 'green.css' => __( 'Green', 'dokan' ), - 'purple.css' => __( 'Purple', 'dokan' ), - 'red.css' => __( 'Red', 'dokan' ), - 'rose-quartz.css' => __( 'Rose Quartz', 'dokan' ), - 'pink.css' => __( 'Pink', 'dokan' ), + 'orange.css' => __( 'Orange', 'dokan-theme' ), + 'sky.css' => __( 'Sky', 'dokan-theme' ), + 'blue.css' => __( 'Blue', 'dokan-theme' ), + 'green.css' => __( 'Green', 'dokan-theme' ), + 'purple.css' => __( 'Purple', 'dokan-theme' ), + 'red.css' => __( 'Red', 'dokan-theme' ), + 'rose-quartz.css' => __( 'Rose Quartz', 'dokan-theme' ), + 'pink.css' => __( 'Pink', 'dokan-theme' ), ) ) ); @@ -68,7 +68,7 @@ function register_control( $wp_customize ) { $wp_customize->add_setting( 'show_slider' ); $wp_customize->add_control( 'show_slider', array( 'type' => 'checkbox', - 'label' => __( 'Show Slider on home page', 'dokan' ), + 'label' => __( 'Show Slider on home page', 'dokan-theme' ), 'section' => 'dokan_theme_section', ) ); @@ -76,7 +76,7 @@ function register_control( $wp_customize ) { // select slider $wp_customize->add_setting( 'slider_id', array( 'default' => '-1' ) ); $wp_customize->add_control( 'slider_id', array( - 'label' => __( 'Select Slider', 'dokan' ), + 'label' => __( 'Select Slider', 'dokan-theme' ), 'section' => 'dokan_theme_section', 'type' => 'select', 'choices' => $this->get_post_type( 'dokan_slider' ) @@ -86,7 +86,7 @@ function register_control( $wp_customize ) { $wp_customize->add_setting( 'show_featured', array( 'default' => 'on' ) ); $wp_customize->add_control( 'show_featured', array( 'type' => 'checkbox', - 'label' => __( 'Show featured products on homepage', 'dokan' ), + 'label' => __( 'Show featured products on homepage', 'dokan-theme' ), 'section' => 'dokan_theme_section', ) ); @@ -95,7 +95,7 @@ function register_control( $wp_customize ) { $wp_customize->add_setting( 'show_latest_pro', array( 'default' => 'on' ) ); $wp_customize->add_control( 'show_latest_pro', array( 'type' => 'checkbox', - 'label' => __( 'Show latest products on homepage', 'dokan' ), + 'label' => __( 'Show latest products on homepage', 'dokan-theme' ), 'section' => 'dokan_theme_section', ) ); @@ -104,7 +104,7 @@ function register_control( $wp_customize ) { $wp_customize->add_setting( 'show_best_selling', array( 'default' => 'on' ) ); $wp_customize->add_control( 'show_best_selling', array( 'type' => 'checkbox', - 'label' => __( 'Show best selling products on homepage', 'dokan' ), + 'label' => __( 'Show best selling products on homepage', 'dokan-theme' ), 'section' => 'dokan_theme_section', ) ); @@ -113,7 +113,7 @@ function register_control( $wp_customize ) { $wp_customize->add_setting( 'show_top_rated', array( 'default' => 'on' ) ); $wp_customize->add_control( 'show_top_rated', array( 'type' => 'checkbox', - 'label' => __( 'Show top rated products on homepage', 'dokan' ), + 'label' => __( 'Show top rated products on homepage', 'dokan-theme' ), 'section' => 'dokan_theme_section', ) ); @@ -121,11 +121,11 @@ function register_control( $wp_customize ) { // footer text $wp_customize->add_setting( 'footer_text', array( 'capability' => 'edit_theme_options', - 'default' => sprintf( __( '© %d. All rights are reserved.', 'dokan' ), date( 'Y' ) ) + 'default' => sprintf( __( '© %d. All rights are reserved.', 'dokan-theme' ), date( 'Y' ) ) )); $wp_customize->add_control( 'footer_text' , array( - 'label' => __( 'Footer Text', 'dokan' ), + 'label' => __( 'Footer Text', 'dokan-theme' ), 'section' => 'dokan_theme_section', 'type' => 'text' )); @@ -138,7 +138,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_link_color', array( - 'label' => __( 'Link', 'dokan' ), + 'label' => __( 'Link', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_link_color', 'priority' => 20 @@ -151,7 +151,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_link_hover_color', array( - 'label' => __( 'Link hover', 'dokan' ), + 'label' => __( 'Link hover', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_link_hover_color', 'priority' => 25 @@ -164,7 +164,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_header_bg', array( - 'label' => __( 'Header Background', 'dokan' ), + 'label' => __( 'Header Background', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_header_bg', 'priority' => 30 @@ -177,7 +177,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_nav_bg', array( - 'label' => __( 'Navigation Background', 'dokan' ), + 'label' => __( 'Navigation Background', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_nav_bg', 'priority' => 33 @@ -190,7 +190,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_nav_color', array( - 'label' => __( 'Navigation Link', 'dokan' ), + 'label' => __( 'Navigation Link', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_nav_color', 'priority' => 35 @@ -202,7 +202,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_nav_hover', array( - 'label' => __( 'Navigation Link Hover', 'dokan' ), + 'label' => __( 'Navigation Link Hover', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_nav_hover', 'priority' => 40 @@ -215,7 +215,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_footer_bg', array( - 'label' => __( 'Footer Background', 'dokan' ), + 'label' => __( 'Footer Background', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_footer_bg', 'priority' => 50 @@ -228,7 +228,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_footer_bottom_bar_bg_color', array( - 'label' => __( 'Copy Container Background', 'dokan' ), + 'label' => __( 'Copy Container Background', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_footer_bottom_bar_bg_color', 'priority' => 50 @@ -241,7 +241,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_footer_text', array( - 'label' => __( 'Footer text', 'dokan' ), + 'label' => __( 'Footer text', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_footer_text', 'priority' => 55 @@ -254,7 +254,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'sidebar_widget_header', array( - 'label' => __( 'Sidebar widget header', 'dokan' ), + 'label' => __( 'Sidebar widget header', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'sidebar_widget_header', 'priority' => 56 @@ -267,7 +267,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_widget_header', array( - 'label' => __( 'Footer widget header', 'dokan' ), + 'label' => __( 'Footer widget header', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'footer_widget_header', 'priority' => 60 @@ -281,7 +281,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_footer_widget_link', array( - 'label' => __( 'Footer Widget link', 'dokan' ), + 'label' => __( 'Footer Widget link', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_footer_widget_link', 'priority' => 65 @@ -293,7 +293,7 @@ function register_control( $wp_customize ) { ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dokan_footer_link_hover', array( - 'label' => __( 'Footer Widget link hover', 'dokan' ), + 'label' => __( 'Footer Widget link hover', 'dokan-theme' ), 'section' => 'colors', 'settings' => 'dokan_footer_link_hover', 'priority' => 70 diff --git a/classes/slider.php b/classes/slider.php index 9e155a0..6172ac1 100755 --- a/classes/slider.php +++ b/classes/slider.php @@ -44,28 +44,32 @@ function actions() { } function do_metaboxes() { - add_meta_box( 'slider-meta-box', __('Slides', 'wedevs'), array($this, 'meta_boxes'), $this->post_type ); - add_meta_box( 'slider-options-box', __('Slider Options', 'wedevs'), array($this, 'meta_boxes_option'), $this->post_type, 'side' ); + add_meta_box( 'slider-meta-box', __( 'Slides', 'dokan-theme' ), array( $this, 'meta_boxes' ), $this->post_type ); + add_meta_box( 'slider-options-box', __('Slider Options', 'dokan-theme' ), array( $this, 'meta_boxes_option' ), $this->post_type, 'side' ); } function enqueue_scripts() { - global $post; - - if( !$post ) { - return; - } + global $wp; - if( $post->post_type == $this->post_type ) { + if ( isset( $wp->query_vars['post_type'] ) && $wp->query_vars['post_type'] == 'dokan_slider' ) { wp_enqueue_script( 'media-upload' ); wp_enqueue_script( 'thickbox' ); wp_enqueue_style( 'thickbox' ); + $help_text = sprintf( __( 'Learn More: How to Create Slider in Dokan', 'dokan-theme' ), 'https://wedevs.com/docs/dokan/tutorials/how-to-create-a-slider-for-homepage-using-dokan/' ); + ?> + + post_type, array( - 'label' => __( 'Slider', 'dokan' ), + 'label' => __( 'Slider', 'dokan-theme' ), 'description' => '', 'public' => false, 'show_ui' => true, @@ -76,20 +80,20 @@ function post_types() { 'query_var' => false, 'supports' => array('title'), 'labels' => array( - 'name' => __( 'Slider', 'dokan' ), - 'singular_name' => __( 'Slider', 'dokan' ), - 'menu_name' => __( 'Dokan Slider', 'dokan' ), - 'add_new' => __( 'Add Slider', 'dokan' ), - 'add_new_item' => __( 'Add New Slider', 'dokan' ), - 'edit' => __( 'Edit', 'dokan' ), - 'edit_item' => __( 'Edit Slider', 'dokan' ), - 'new_item' => __( 'New Slider', 'dokan' ), - 'view' => __( 'View Slider', 'dokan' ), - 'view_item' => __( 'View Slider', 'dokan' ), - 'search_items' => __( 'Search Slider', 'dokan' ), - 'not_found' => __( 'No Slider Found', 'dokan' ), - 'not_found_in_trash' => __( 'No Slider found in trash', 'dokan' ), - 'parent' => __( 'Parent Slider', 'dokan' ) + 'name' => __( 'Slider', 'dokan-theme' ), + 'singular_name' => __( 'Slider', 'dokan-theme' ), + 'menu_name' => __( 'Dokan Slider', 'dokan-theme' ), + 'add_new' => __( 'Add Slider', 'dokan-theme' ), + 'add_new_item' => __( 'Add New Slider', 'dokan-theme' ), + 'edit' => __( 'Edit', 'dokan-theme' ), + 'edit_item' => __( 'Edit Slider', 'dokan-theme' ), + 'new_item' => __( 'New Slider', 'dokan-theme' ), + 'view' => __( 'View Slider', 'dokan-theme' ), + 'view_item' => __( 'View Slider', 'dokan-theme' ), + 'search_items' => __( 'Search Slider', 'dokan-theme' ), + 'not_found' => __( 'No Slider Found', 'dokan-theme' ), + 'not_found_in_trash' => __( 'No Slider found in trash', 'dokan-theme' ), + 'parent' => __( 'Parent Slider', 'dokan-theme' ) ), ) ); } @@ -107,7 +111,7 @@ function meta_boxes_option() { ?> - + - + - + - + - + - + - + - + - + @@ -192,7 +196,7 @@ function meta_boxes() {
-

+

  • -

    +

- + - + - + - + - + - + - +
Upload Image @@ -373,29 +377,29 @@ function slide_html( $args = array() ) {
- +
@@ -477,7 +481,7 @@ public function get_slider( $slider_id ) { extract( $slide ); - $link_content = sprintf('%s', esc_url( $slide_link ), $slide_link_open, __( 'Read More...', 'wedevs' ) ); + $link_content = sprintf('%s', esc_url( $slide_link ), $slide_link_open, __( 'Read More...', 'dokan-theme' ) ); $text_content = '
'; $text_content .= '

' . $slide_title . '

'; diff --git a/comments.php b/comments.php index 760d07e..3f96c80 100755 --- a/comments.php +++ b/comments.php @@ -29,15 +29,15 @@

' . get_the_title() . '' ); + printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'dokan-theme' ), number_format_i18n( get_comments_number() ), '' . get_the_title() . '' ); ?>

1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> @@ -55,9 +55,9 @@ 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> @@ -67,7 +67,7 @@ // If comments are closed and there are comments, let's leave a little note, shall we? if ( !comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> -

+

diff --git a/content-page.php b/content-page.php index 4ee56bc..fb87d22 100755 --- a/content-page.php +++ b/content-page.php @@ -14,7 +14,7 @@
- '') ); ?> - ', '' ); ?> + '') ); ?> + ', '' ); ?>
diff --git a/content-single.php b/content-single.php index 147ad1f..d6b7f7d 100755 --- a/content-single.php +++ b/content-single.php @@ -12,34 +12,34 @@ - + | - + - | ', '' ); ?> + | ', '' ); ?>
- '') ); ?> + '') ); ?>
@@ -73,13 +73,13 @@ function dokan_comment( $comment, $args, $depth ) { * @package dokan - 2014 1.0 */ function dokan_posted_on() { - printf( __( '', 'dokan' ), + printf( __( '', 'dokan-theme' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), - esc_attr( sprintf( __( 'View all posts by %s', 'dokan' ), get_the_author() ) ), + esc_attr( sprintf( __( 'View all posts by %s', 'dokan-theme' ), get_the_author() ) ), esc_html( get_the_author() ) ); } @@ -115,16 +115,16 @@ function dokan_content_nav( $nav_id, $query = null ) { $nav_class = 'site-navigation post-navigation'; ?> ', 'before' => '
  • ', 'after' => '
  • ', - 'home' => _x( 'Home', 'breadcrumb', 'dokan' ), + 'home' => _x( 'Home', 'breadcrumb', 'dokan-theme' ), ); } @@ -53,7 +53,7 @@ function dokan_woo_breadcrumb( $args ) { * @return array */ function dokan_add_to_cart_fragments( $fragment ) { - $fragment['amount'] = WC()->cart->get_cart_total(); + $fragment['dokan_cart_amount'] = WC()->cart->get_cart_total(); return $fragment; } @@ -134,7 +134,7 @@ class Dokan_Category_Widget extends WP_Widget { * @return void * */ public function __construct() { - $widget_ops = array( 'classname' => 'dokan-category-menu', 'description' => __( 'Dokan product category menu', 'dokan-lite' ) ); + $widget_ops = array( 'classname' => 'dokan-category-menu', 'description' => __( 'Dokan product category menu', 'dokan-theme' ) ); parent::__construct( 'dokan-category-menu', 'Dokan: Product Category', $widget_ops ); } @@ -230,13 +230,13 @@ function update( $new_instance, $old_instance ) { * */ function form( $instance ) { $instance = wp_parse_args( (array) $instance, array( - 'title' => __( 'Product Category', 'dokan-lite' ) + 'title' => __( 'Product Category', 'dokan-theme' ) ) ); $title = $instance['title']; ?>

    - +

    How to Create Slider in " +"Dokan" +msgstr "" + #. Theme Name of the plugin/theme msgid "Dokan" msgstr "" @@ -822,6 +925,10 @@ msgstr "" msgid "http://tareq.weDevs.com" msgstr "" +#. Template Name of the plugin/theme +msgid "Store Template */" +msgstr "" + #. Template Name of the plugin/theme msgid "Full-width Page" msgstr "" diff --git a/no-results.php b/no-results.php index 6c94a92..fc8119f 100755 --- a/no-results.php +++ b/no-results.php @@ -11,17 +11,17 @@
    -

    +

    -

    Get started here.', 'dokan' ), admin_url( 'post-new.php' ) ); ?>

    +

    Get started here.', 'dokan-theme' ), admin_url( 'post-new.php' ) ); ?>

    -

    +

    @@ -31,7 +31,7 @@ -

    +

    diff --git a/package.json b/package.json index c19f050..17f54b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dokan-theme", - "version": "2.3.0", + "version": "2.3.1", "description": "A WordPress marketplace theme", "author": "Tareq Hasan", "license": "GPL", diff --git a/search.php b/search.php index cd0573d..b98d12c 100755 --- a/search.php +++ b/search.php @@ -14,7 +14,7 @@ diff --git a/searchform.php b/searchform.php index b748402..3cdce80 100755 --- a/searchform.php +++ b/searchform.php @@ -8,10 +8,10 @@ ?> diff --git a/sidebar-blog.php b/sidebar-blog.php index 8b8abb0..65ef22d 100644 --- a/sidebar-blog.php +++ b/sidebar-blog.php @@ -10,7 +10,7 @@
    @@ -23,14 +23,14 @@
    - - \ No newline at end of file +