Skip to content

Commit

Permalink
Merge branch 'release/v2.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rafsuntaskin committed Dec 19, 2017
2 parents eb8ed87 + 4452e4b commit db040b8
Show file tree
Hide file tree
Showing 41 changed files with 474 additions and 457 deletions.
8 changes: 4 additions & 4 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

<article id="post-0" class="post error404 not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'dokan' ); ?></h1>
<h1 class="entry-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'dokan-theme' ); ?></h1>
</header><!-- .entry-header -->

<div class="entry-content">
<p><?php _e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'dokan' ); ?></p>
<p><?php _e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'dokan-theme' ); ?></p>

<?php get_search_form(); ?>

Expand All @@ -30,7 +30,7 @@
</div>
<div class="col-md-4">
<div class="widget">
<h2 class="widgettitle"><?php _e( 'Categories', 'dokan' ); ?></h2>
<h2 class="widgettitle"><?php _e( 'Categories', 'dokan-theme' ); ?></h2>
<ul>
<?php wp_list_categories( array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10) ); ?>
</ul>
Expand All @@ -42,7 +42,7 @@

<?php
/* translators: %1$s: smilie */
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'dokan' ), convert_smilies( ':)' ) ) . '</p>';
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'dokan-theme' ), convert_smilies( ':)' ) ) . '</p>';
the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
?>
</div>
Expand Down
14 changes: 7 additions & 7 deletions archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,28 @@
<h1 class="page-title">
<?php
if ( is_category() ) {
printf( __( 'Category Archives: %s', 'dokan' ), '<span>' . single_cat_title( '', false ) . '</span>' );
printf( __( 'Category Archives: %s', 'dokan-theme' ), '<span>' . single_cat_title( '', false ) . '</span>' );
} elseif ( is_tag() ) {
printf( __( 'Tag Archives: %s', 'dokan' ), '<span>' . single_tag_title( '', false ) . '</span>' );
printf( __( 'Tag Archives: %s', 'dokan-theme' ), '<span>' . single_tag_title( '', false ) . '</span>' );
} 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' ), '<span class="vcard"><a class="url fn n" href="' . get_author_posts_url( get_the_author_meta( "ID" ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
printf( __( 'Author Archives: %s', 'dokan-theme' ), '<span class="vcard"><a class="url fn n" href="' . get_author_posts_url( get_the_author_meta( "ID" ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
/* 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' ), '<span>' . get_the_date() . '</span>' );
printf( __( 'Daily Archives: %s', 'dokan-theme' ), '<span>' . get_the_date() . '</span>' );
} elseif ( is_month() ) {
printf( __( 'Monthly Archives: %s', 'dokan' ), '<span>' . get_the_date( 'F Y' ) . '</span>' );
printf( __( 'Monthly Archives: %s', 'dokan-theme' ), '<span>' . get_the_date( 'F Y' ) . '</span>' );
} elseif ( is_year() ) {
printf( __( 'Yearly Archives: %s', 'dokan' ), '<span>' . get_the_date( 'Y' ) . '</span>' );
printf( __( 'Yearly Archives: %s', 'dokan-theme' ), '<span>' . get_the_date( 'Y' ) . '</span>' );
} else {
_e( 'Archives', 'dokan' );
_e( 'Archives', 'dokan-theme' );
}
?>
</h1>
Expand Down
1 change: 0 additions & 1 deletion assets/css/skins/blue.css
Original file line number Diff line number Diff line change
Expand Up @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active {
.woocommerce .star-rating {
color: #2980b9;
}
/*# sourceMappingURL=style.css.map */
1 change: 0 additions & 1 deletion assets/css/skins/green.css
Original file line number Diff line number Diff line change
Expand Up @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active {
.woocommerce .star-rating {
color: #27ae60;
}
/*# sourceMappingURL=style.css.map */
1 change: 0 additions & 1 deletion assets/css/skins/orange.css
Original file line number Diff line number Diff line change
Expand Up @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active {
.woocommerce .star-rating {
color: #f05025;
}
/*# sourceMappingURL=style.css.map */
1 change: 0 additions & 1 deletion assets/css/skins/pink.css
Original file line number Diff line number Diff line change
Expand Up @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active {
.woocommerce .star-rating {
color: #f17288;
}
/*# sourceMappingURL=style.css.map */
1 change: 0 additions & 1 deletion assets/css/skins/purple.css
Original file line number Diff line number Diff line change
Expand Up @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active {
.woocommerce .star-rating {
color: #8e44ad;
}
/*# sourceMappingURL=style.css.map */
1 change: 0 additions & 1 deletion assets/css/skins/red.css
Original file line number Diff line number Diff line change
Expand Up @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active {
.woocommerce .star-rating {
color: #e74c3c;
}
/*# sourceMappingURL=style.css.map */
1 change: 0 additions & 1 deletion assets/css/skins/rose-quartz.css
Original file line number Diff line number Diff line change
Expand Up @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active {
.woocommerce .star-rating {
color: #AF93A0;
}
/*# sourceMappingURL=style.css.map */
1 change: 0 additions & 1 deletion assets/css/skins/sky.css
Original file line number Diff line number Diff line change
Expand Up @@ -606,4 +606,3 @@ fieldset[disabled] .woocommerce-page #content input.button.active {
.woocommerce .star-rating {
color: #3498db;
}
/*# sourceMappingURL=style.css.map */
4 changes: 2 additions & 2 deletions assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ 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');
$('a.added_to_cart.wc-forward').html('<i class="fa fa-eye" data-toggle="tooltip" data-placement="top" title="' + viewCartText + '" aria-hidden="true"></i>');
$('[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');
});
});

Expand Down
11 changes: 10 additions & 1 deletion assets/less/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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;
}
}
9 changes: 9 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading

0 comments on commit db040b8

Please sign in to comment.