Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: yithemes/yith-proteo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.9.1
Choose a base ref
...
head repository: yithemes/yith-proteo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 3,640 additions and 9,675 deletions.
  1. +1 −0 .gitignore
  2. +12 −1 archive.php
  3. +1 −1 functions.php
  4. +11 −1 home.php
  5. +3 −0 img/sort-icon.svg
  6. +17 −1 inc/customizer/custom-controls/class-wp-customize-notice.php
  7. +2 −6,450 inc/customizer/custom-controls/font-selector-assets/js/select.js
  8. +1 −1 inc/customizer/custom-controls/font-selector-assets/js/select.min.js
  9. +1 −1 inc/customizer/custom-controls/spacing-control.min.js
  10. +167 −1,055 inc/customizer/customizer-controls.js
  11. +1 −1 inc/customizer/customizer-controls.min.js
  12. +29 −0 inc/customizer/customizer-inline-style.php
  13. +1 −1 inc/customizer/customizer.min.js
  14. +36 −0 inc/customizer/customizer.php
  15. +48 −26 inc/customizer/panels/blog.php
  16. +24 −4 inc/customizer/panels/buttons.php
  17. +32 −6 inc/customizer/panels/footer.php
  18. +393 −12 inc/customizer/panels/header.php
  19. +13 −4 inc/customizer/panels/layout.php
  20. +35 −12 inc/customizer/panels/sidebars.php
  21. +31 −6 inc/customizer/panels/site-identity.php
  22. +71 −20 inc/customizer/panels/typography.php
  23. +29 −2 inc/customizer/panels/woocommerce/product-catalog.php
  24. +5 −6 inc/customizer/panels/woocommerce/product-category.php
  25. +5 −6 inc/customizer/panels/woocommerce/product-tag.php
  26. +5 −6 inc/customizer/panels/woocommerce/product-tax.php
  27. +4 −5 inc/customizer/panels/woocommerce/shop-page.php
  28. +138 −22 inc/customizer/panels/woocommerce/single-product.php
  29. +12 −1 inc/sidebars.php
  30. +38 −0 inc/template-functions.php
  31. +1 −1 inc/utils.php
  32. +8 −4 inc/widgets/class-yith-proteo-account-widget.php
  33. +66 −5 inc/woocommerce.php
  34. +2 −0 inc/yith-booking-support.php
  35. +6 −1 index.php
  36. +1 −1 js/navigation.min.js
  37. +1 −1 js/skip-link-focus-fix.min.js
  38. +20 −15 js/theme.js
  39. +1 −1 js/theme.min.js
  40. +1 −1 package.json
  41. +77 −3 readme.txt
  42. +88 −117 responsive.css
  43. +1 −1 responsive.css.map
  44. +24 −6 sass/forms/_buttons.scss
  45. +7 −0 sass/forms/_fields.scss
  46. +4 −0 sass/layout/_footer.scss
  47. +31 −2 sass/layout/_header.scss
  48. +7 −5 sass/navigation/_menus.scss
  49. +28 −0 sass/navigation/_pagination.scss
  50. +59 −2 sass/responsive.scss
  51. +21 −0 sass/shop/_cart.scss
  52. +84 −18 sass/shop/_checkout.scss
  53. +16 −18 sass/shop/_components.scss
  54. +32 −1 sass/shop/_myaccount.scss
  55. +14 −24 sass/shop/_products.scss
  56. +47 −17 sass/shop/_single-product.scss
  57. +1 −1 sass/shop/_tables.scss
  58. +12 −7 sass/shop/_widgets.scss
  59. +36 −0 sass/site/primary/_posts-and-pages.scss
  60. +4 −2 sass/site/secondary/_widgets.scss
  61. +3 −3 sass/style.scss
  62. +45 −1 sass/third-party/yith-affiliates.scss
  63. +7 −8 sass/third-party/yith-booking.scss
  64. +4 −33 sass/third-party/yith-deposits-and-down-payments.scss
  65. +7 −0 sass/third-party/yith-easy-login-register-popup.scss
  66. +3 −0 sass/third-party/yith-gift-cards.scss
  67. +22 −3 sass/third-party/yith-stripe.scss
  68. +1 −1 sass/third-party/yith-subscription.scss
  69. +623 −428 sass/third-party/yith-wishlist.scss
  70. +6 −1 search.php
  71. +1,010 −1,273 style.css
  72. +1 −1 style.css.map
  73. +13 −0 template-parts/header/header-sidebar-left.php
  74. +2 −0 template-parts/header/header-sidebar.php
  75. +21 −12 template-parts/header/masthead.php
  76. +4 −6 woocommerce/checkout/form-checkout.php
  77. +2 −0 woocommerce/myaccount/proteo-account-info.php
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.sass-cache/
/node_modules/
package-lock.json
.DS_Store
13 changes: 12 additions & 1 deletion archive.php
Original file line number Diff line number Diff line change
@@ -37,7 +37,18 @@
*/
get_template_part( 'template-parts/content', get_post_type() );
endwhile;
the_posts_navigation();

$pagination_args = array(
'mid_size' => 1,
'prev_text' => '',
'next_text' => '',
);
$paginate_links = paginate_links( $pagination_args );

if( isset( $paginate_links ) && '' !== $paginate_links ):
echo '<div class="navigation posts-navigation">' . wp_kses_post( $paginate_links ) . '</div>';
endif;

else :
get_template_part( 'template-parts/content', 'none' );
endif;
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
@@ -161,7 +161,7 @@ function yith_proteo_list_additional_image_sizes( $sizes ) {
add_theme_support( 'wp-block-styles' );

// Add support for experimental link color control.
add_theme_support( 'experimental-link-color' );
add_theme_support( 'link-color' );
}
endif;
add_action( 'after_setup_theme', 'yith_proteo_setup' );
12 changes: 11 additions & 1 deletion home.php
Original file line number Diff line number Diff line change
@@ -51,7 +51,17 @@
}
endwhile;

the_posts_navigation();
$pagination_args = array(
'mid_size' => 1,
'prev_text' => '',
'next_text' => '',
);

$paginate_links = paginate_links( $pagination_args );

if( isset( $paginate_links ) && '' !== $paginate_links ){
echo '<div class="navigation posts-navigation">' . wp_kses_post( $paginate_links ) . '</div>';
}
?>
</div>
<?php
3 changes: 3 additions & 0 deletions img/sort-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 17 additions & 1 deletion inc/customizer/custom-controls/class-wp-customize-notice.php
Original file line number Diff line number Diff line change
@@ -18,6 +18,13 @@ class WP_Customize_Notice extends WP_Customize_Control {
*/
public $type = 'simple_notice';

/**
* Children controls array
*
* @var array $children Children controls to group
*/
public $children;

/**
* Render controls
*/
@@ -41,8 +48,17 @@ public function render_content() {
),
'code' => array(),
);

$nested = '';
$has_children = '';

if ( ! empty( $this->children ) ) {
$nested = wp_json_encode( $this->children );
$nested = 'data-children=' . $nested . '';
$has_children = 'has-children';
}
?>
<div class="simple-notice-custom-control">
<div class="simple-notice-custom-control <?php echo esc_attr( $has_children ); ?>" <?php echo esc_attr( $nested ); ?>>
<?php if ( ! empty( $this->label ) ) { ?>
<span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
<?php } ?>
Loading