Skip to content

Instantly share code, notes, and snippets.

@Longkt
Last active August 30, 2022 16:42
Show Gist options
  • Save Longkt/d1aac361c847d14fe24bd7880ab5a66b to your computer and use it in GitHub Desktop.
Save Longkt/d1aac361c847d14fe24bd7880ab5a66b to your computer and use it in GitHub Desktop.
== Changelog ==
## 1.3.0
* FIXED: js error in page theme options.
## 1.2.9
* NEW: add option to show/hide the post meta on single post.
* NEW: add option to enable/disable group of expired coupons.
## 1.2.8
* NEW: add option to hide the "submit a coupon" on store page.
* NEW: support RTL for coupon slider & carousel.
* IMPROVED: Update a small typo issue.
* IMPROVED: Change store page/search order by newest.
* IMPROVED: Responsive style.
* FIXED: Duplicate store search when enable the WPML fixed.
* FIXED: Duplicate store page.
* FIXED: Fixed wrong file name.
* FIXED: Fix popup blocked when use the Chrome browser version 75.
* FIXED: WooCommerce template out of date.
* FIXED: Incorrect start icon.
## 1.2.6
* NEW: Add coupon store filter option.
* NEW: Add coupon category filter option.
* IMPROVED: Coupon store UX.
* IMPROVED: Mobile layout for coupon loop.
* IMPROVED: Show full modal coupon code on mobile.
* FIXED: Load more coupons button.
* FIXED: Copy code button on mobile browser.
## 1.2.5
* NEW: Update Semantic UI library to version 2.3.3.
* NEW: Add alt text for slider image.
* NEW: Add alt text for store carousel widget.
* NEW: Add alt text for store carousel widget.
* NEW: Add menu order for coupons.
* NEW: Use CMB2 plugin instead CMB2 library.
* IMPROVED: WooCommerce supports.
* FIXED: Fix coupon admin search does not work.
* FIXED: Responsive carousel widget items.
* FIXED: Fix coupon admin search does not work.
* FIXED: Tracking clicks does not work for printable coupon.
## 1.2.4
* NEW: Coupon page title when single coupon not enabled.
* NEW: Option to show coupons only on search page.
* NEW: New option to control store url in next/prev tab.
* NEW: New option to making the coupons get expired based on selected timezone.
* NEW: Option to control and order filter tabs.
* IMPROVED: Demo importer plugin.
* IMPROVED: Change expires text.
* IMPROVED: Hide copy button when browse not support.
* IMPROVED: Change post type tags.
* IMPROVED: Change post type tags.
* IMPROVED: Responsive layout for store page.
* FIXED: SQL query info appears in admin.
* FIXED: Duplicate coupon search result in WP admin.
* FIXED: Search no results when ajax but not click search button.
* FIXED: Google index coupon url.
* FIXED: Coupon tag page issue.
## 1.2.2
* Fix UTF-8 first char
* Ensure trailingslashit link
* Fixed page sidebar
* Fixed store filter
* Add more hook for store content
* NEW Support Random stores widget
* Add Pinterest option in Newsletter widget
* Add an option to show human time diff for coupon expires.
* Add an option to change the text " SALE " to "DEAL​"
* Add checkbox delete stores
* Update search function and remove coupon count in search form
* Add Header Icons color setting
## 1.2.1
* Fix store thumbnail.
## 1.2.0
* NEW Support discount value as thumbnail.
* Add search page, now the results in include coupons.
* Update store logo, no crop store logo.
* Update social share.
* Update responsive.
* Support open previous tab when enable single.
* Fix issue number coupons on single coupon.
* Fix an issue break button layout when coupon no code.
* Add custom coupon tag rewrite slug option.
## 1.1.9
* Update sticky menu (Apply for desktop only).
* Update language file.
* Update single coupon page.
## 1.1.8
* Change coupon permalink.
* Add an option to remove "more" desc.
* Add options to control coupons redirection.
* Add coupon tag page.
* Improve single coupon, add related coupons and same store coupons.
* Auto remove ref="nofollow" if single coupon page enabled.
* Add coupon tag.
* Add sticky main navigation option.
* Add settings for default coupon excerpt length.
* Add option to change "out" rewrite slug.
* Update option to change "go-store" rewrite slug.
## 1.1.7
* Fix ajax coupon count incorrect.
## 1.1.6
* ADD an option to enable single coupon page.
* ADD toggle read more content for store and category, use more tag: <!--more-->.
* Display expires expired date time in admin coupons.
* Add coupon class "coupon-expired" or "coupon-live" for coupon item.
* Fix "Before Footer" text option doesn't work.
* Fix Categories on main page(coupon categories widget) isn't seem straight on mobile.
* Add option to custom 'go-store' permalink.
* Support image for category-az template.
* Update user profile.
* Update coupon single item padding.
* Update ajax search.
* Change social likes library.
* Update coupon single h1 + content margin
## 1.1.5
* Update recommend plugins.
* Improve listing coupons widget.
* Update store name in user dashboard.
* Fix favorite store display.
* Add custom tracking number.
* Hide load more coupon for other tabs.
* Improve facebook share thumbnail.
* Remove retina.js use plugin instead.
* Update goto store link.
## 1.1.4
* Fix Coupon modal ajax open many times.
* Trim space before and after search key word.
* Update translate file.
* Update slider widget.
* Trim space before and after search key word.
## 1.1.3
* Support Primary store by Yoat Seo
* Add hook to change coupon data info.
* Fix Modal window doubles.
## 1.1.2
* Add setting to hide expired coupons in Widget coupons.
* Add filter webshoot url.
* Add helper classes.
* Improve stores widget.
## 1.1.1
* Add video responsive.
* Improve coupon share url.
* Fix a bug when add new store.
* Fix responsive on small screen.
* Add link target for socials links.
* Improve social share.
## 1.1.0
* Add ref nofollow for coupon code text.
* Improve search.
* Improve coupons search.
* Fix WC out of date template.
* Fix Embed code.
* Add feed for coupons.
## 1.0.9
* Fix favorites store name.
* Fix issue goto store URL in modal.
* Fix coupon readmore details issue.
* Fix issue can not translate "Share" in coupon category.
## 1.0.8
* Improve coupons listing admin.
* Improve share email templates.
* Improve single coupon store.
* Move coupon submit to plugin.
* Fix issue count wrong coupon types.
* Add options to hide coupon thumbnail.
* Add option to disable feed links.
* Add an option to hide child stores
* Add rel="nofollow" for goto store redirect.
* Add goto store redirect status (default: 301).
* Update language file.
* Make search results fit width.
## 1.0.7
* Update Import demo content plugin, now allowed import demo images.
* Fix issue ajax load more coupons.
* Add copy coupon button, support: Chrome 42+, FireFox 41+, Opera 29+, IE9+.
* Setting store,category slug rewrite.
* Fix issue when coupon code too long.
* Update .pot file.
* Update Sematic UI to ver 2.2.1.
* Allow html in store heading.
## 1.0.6
* Add them auto update.
* Fix redirect store url.
* Make store edit input fields wide.
* Update carousel.
* WP Coupon Content Type plugin no longer needed.
* Add Theme styling settings
## 1.0.5
* Fix themeforest review issues.
## 1.0.4
* Fix themeforest review issues.
## 1.0.3
* Fix themeforest review issues.
## 1.0.2
* Fix themeforest review issues.
## 1.0.1
* Fix themeforest review issues.
## 1.0.0
* Initial release.
@moisb
Copy link

moisb commented Jun 28, 2019

will version 1.2.7 be out soon? What will be the new features?

@johntshelton
Copy link

Can you please release a new version and bring back the option for expired coupons to be displayed under a heading of Recently Expired Coupons, like it was earlier. You may check OffAtEverything for your reference.
Secondly, this new update has a bug. Expired coupons are having line break error.

Deprecated: gmmktime(): You should be using the time() function instead in /var/www/couponwp.nguyenthanhlong.info/htdocs/wp-content/themes/wp-coupon/inc/core/coupon.php on line 542

I have checked demo here.
Nguyenthanhlong Coupon WP

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment