Coupon Creator Pro 2.1, released on August 27th, 2015.
Coupon Creator Pro 2.1 Changelog
- Added Dotted Border, Stitched Border, Saw Tooth Border (modern browsers and IE 10+), and None Option.
- Added options to insert columns and rows into the content editor. Options include two column combinations, three column combinations, four columns, and rows.
- Added feature to hide the Click to Open in Print View link as a default for new coupons and disable per coupon. This still keeps the print view or custom links when the coupon is clicked.
- Added function when Print View is disabled by a coupon, it will now redirect to the home url of the site.
- Added Option to choose Font Family and Font Weight for Print View text and headings.
- Added to Pro Inserter the ability to search coupons and categories in the dropdown.
- Added Select2 4.0.0 for Coupon Inserter Dropdowns. Disable Select2 CSS and JS using these constants – define( ‘CCTOR_PRO_SElECT2_DISABLE_CSS’, true ); define( ‘CCTOR_PRO_SElECT2_DISABLE_JS’, true );
- Added script to resize inserter based on the current screen size and will adapt to the screen size as it changes.
- Added Recurring Expiration for month, weekly, biweekly, and every 3 week options with a recurring limit or keep it at unlimited.
- Added Recurring Expiration with options to be set for the pattern and limit. It will also add an expiration date to the coupon on saving if one is not provided and there is both a pattern and limit.
- Added WP cron to batch process the recurring coupons expiration, includes a filter to modify the amount of coupons processed.
- Added a script to display fields based on options chosen for a coupon.
- Updated Pro Link functions to use less logic and get the same result.
- Updated Style Meta Fields order to follow the containers starting with outside most container and working in for both the meta and option fields.
- Updated Pop Up coding to only be one link around the coupon instead of two links to reduce chances of errors and reduce coding. Use the following to add click to open in print view links above each coupon: add_action(‘cctor_before_coupon_inner_wrap’, ‘cctor_pro_show_link’, 10, 1 );
- Updated the expiration text color to follow the text color set for the coupons terms.
- Fixed an issue with default options not saving with Pro and added sanitization for defaults.
- Fixed custom links so they always work even if print view disabled in options or in the coupon itself.
- Fixed Undefined Notice Error from Counter Checkbox to save Views.
- Removed Image Border Radius and use the Outer Radius Instead and the Outer Border Color. Includes coding to update existing values upon update.
Coupon Creator 2.1 Changelog
- Added base CSS to the print view to present a better layout of the text with more options in Pro to change font size, weight, and family.
- Added option to disable the base CSS for the print view.
- Added constant to prevent all coupons from opening in new windows or tabs – define( ‘CCTOR_PREVENT_OPEN_IN_NEW_TAB’, true );
- Added PHP Date Validation when saving.
- Added define(‘CCTOR_HIDE_UPGRADE’, true); to hide Pro Upgrade Notices.
- Added do_action( ‘cctor_before_coupon_inner_wrap’ , $coupon_id ); hook into the shortcode coupon.
- Added function to update old image border radius field to the outer border.
- Added message meta box to be able to add messages on the individual coupon editor fields.
- Added update function to change the cctor_ignore_expiration value from on to 1 for older version upgrades.
- Updated deal CSS to this class cctor_deal instead of targeting a heading tag directly to enable use of h3 tags in content.
- Update combined sanitize functions into a class to enable future validation messages.
- Updated Coupon Options Tabs and Coupon Meta Tabs to detect if saved by php and use that to determine what tab to return to after a save attempt instead of detecting if message div exists with jQuery.
- Updated the styling of the Coupon Inserter based off new coding in Pro and added script to resize the thickbox based on the Content.
- Fixed an issue with default options not saving with Pro and added sanitization for defaults.
- Fixed custom permalinks change to make sure permalinks are flushed and the new slug is being used.
- Fixed select option defaults to work again.
- Fixed spelling on cctor_options_styles and cctor_options_scripts hooks.