/* CHANGELOG */
* VERSION 1.6.3 - 20/08/21
* MOD - Added de_ajaxfilter_before_shop_loop_item/de_ajaxfilter_after_shop_loop_item hooks in ajax call
* FIX - Filter issue on category page
* FIX - Product duplication issue when loadmore/infinite
* FIX - Product Loop html markup issue
* FIX - Search by String url issue
* FIX - Orderby issue after loadmore
*
* VERSION 1.6.2 - 13/08/21
* MOD - Added setting to change the text of "yes" and "no" for the true/false field
* FIX - Filter module has opened after ajax in mobile when auto close option is enabled
* FIX - Select Filter option issue(current value is not selected) when page loaded with its filter param
* FIX - PHP error for search when woocommerce is not installed
* FIX - Enabled "Scroll To Top After Ajax Update" option for Load More/Pagination/Infinite mode of Archive Loop module
* FIX - Price filter issue
* FIX - PHP error on Filter option module for getting acf fields
* FIX - PHP error on getting icon css on Filter Option Module
* FIX - PHP error on Thumbnail module
* FIX - filtering issue for category on category page
* FIX - Decimal filtering issue
* FIX - Prevent form submitting when press enter on search field for filter module
* FIX - Add relevance sort option in MachineLoop module
* FIX - Js minify issue for remove filter parameter
* FIX - Add relevance sort option in Product Loop module
* FIX - provide woocommerce_before_shop_loop_item/woocommerce_after_shop_loop_item hooks in custom loop layout for product module
* FIX - Related Posts issue
* FIX - Remove Filter Param issue
*
* VERSION 1.6.1 - 26/07/21
* MOD - Add "Exclude Categories" option to ArchiveLoop module
* MOD - ADD Filter option for "True or False" type ACF field
* MOD - Add "Linked/Related" posts by post object ACF field.
* FIX - PHP error for class definition duplication
* FIX - Wireframe blank issue
* FIX - Post Modal css conflict issue
* FIX - Fix PHP Notice for shortcode slug of Title, Thumbnail modules
*
* VERSION 1.6.0.3 - 13/07/21
* MOD - Remove filter for current taxonomy on archive page
* FIX - Sort by issue by meta value
* FIX - Sort by issue for combination of default sort options
*
* VERSION 1.6.0.2 - 09/07/21
* FIX - AND for tag taxonomy filter
* FIX - order by issue
* FIX - Infinite scrolling issue
* FIX - Range Filter reset issue
*
* VERSION 1.6.0.1
* FIX - Fixed issue with order by "menu_order title"
* FIX - Fixed price filter issue on Standalone
* FIX - Fixed js issue for range filter
*
* VERSION 1.6 - 07/07/21
* NEW ADDITION - Load More and Infinite Scroll
* NEW ADDITION - Select2 option for the select filter items
* NEW ADDITION - Added availability to hide empty option for select filter
* ADD - Added settings to select Load More type (Load More, Pagination, Infinite Scroll)
* MOD - Added settings to change toggle color for the sub-category icon - default color #666
* MOD - Added settings to select max product price for range filter
* FIX - Moved radio count over to the left when you have the sub-category icon toggle so do not overlap
* FIX - Radio text not style
* FIX - masonry not working well after ajax load if no images
* FIX - Javascript issue for "All" option select of Checkbox style filter
* FIX - Multiple "And" operation issue
* FIX - Product Attribute Checkbox filter option issue
* FIX - masonry layout not working for posts for ajax filter
* FIX - Hide Empty Option issue for Select2(Disable options for empty options on Select2)
* FIX - Hide Whole Filter option when there is no available option
*
* VERSION 1.5.2 - 31/05/21
* MOD - New setting to define a delay in searching text while typing (much how you search for plugins in Wordpress admin)
* MOD - Do not search a text field if empty
* FIX - Reset Filter issue
* FIX - Filter by Category issue
* FIX - Filter Count for taxononmy issue
*
* VERSION 1.5.1 - 25/05/21
* FIX - Archive Loop inside archive loop issue
* FIX - Filter by ratings issue
* FIX - orderby random issue
* FIX - Radio options hiding on load which should not
*
* VERSION 1.5 - 19/05/21
* ADD - Add Filter Condition for Checkbox style filter option
* ADD - Auto Detect post type feature for Loop module
* FIX - Display issue of Out of Stock products
* FIX - Sort By issue
* FIX - Remove Filter Param issue
* FIX - Show More / Less not working
*
* VERSION 1.4.1 - 12/05/21
* FIX - Fixed Loop layout not showing in settings
*
* VERSION 1.4 - 11/05/21
* MOD - Speedup load assets on specific modules
* MOD - Add translate availability of Filter Option names
* MOD - Trigger "divi_filter_completed" jquery event after filtering & load more is completed
* MOD - Added script for module links after ajax
* FIX - Filter Conditional Logic issue
* FIX - Machine multiple include taxonomies
* FIX - Load more offset issue
* FIX - Machine Loop orderby acf datepicker issue
* FIX - Video Size issue after filtering
* FIX - Add filtering callback
* FIX - Filter Param remove issue
* FIX - Add availability to add more level of contidional logic
* FIX - Hide Out of stock products issue
* FIX - Machine Loop keep query params when reloading after filtering issue
* FIX - Divi Machine & BodyCommerce & Ajax Filter module compatibility issue
* FIX - Link to whole grid for form elements like add quantity & ajax add to cart button issue
* FIX - resizeAllGridItems not defined issue
* FIX - Video acf item size issue
* FIX - Filter count issue
* FIX - Filter Param issue when select filter option
* FIX - Include cat issue on non main loop when filter param query is set
* FIX - Masonry item image issue after ajax
* FIX - Go to the section issue when click pagination for normal pagination style
* FIX - Get count issue for Taxonomy filter option of the POST
* FIX - Order by Price issue for Product Loop module.
* FIX - Masonry grid resize issue after Ajax filter & loadmore
* FIX - filter by price for Product Loop module
* FIX - Multiple Category Filter options
* FIX - Reset Filter & Remove Filter Param issue
* FIX - Regenerate Random number for order for every Archive loop
* FIX - Taxonomy filter issue on Machine Loop
* FIX - Several Filter issue related with multiple filter options such as remove Filter issue
* FIX - Remove console.log from masonry
* FIX - Archive Loop pagination issue for non product loop
*
* VERSION 1.3.1 - 18/03/21
* MOD - Conditional logic work with search module from Divi Machine
* FIX - Columnn number on tablet and mobile 
* FIX - fixed scroll to when load more
* FIX - Columns issue after ajax call
* FIX - Filter issue with decimal value
* FIX - Meta query duplication issue
* FIX - Random orderby issue
* FIX - Filter count issue by pagination
* FIX - PHP issues on ArchiveLoop module
* FIX - Product loop style issue on normal page
* FIX - "Show result count" option issue
* FIX - Filter issue with unvalid param url(When search by button)
* FIX - Offset issue with all posts(Posts Per page : -1)
* FIX - "Only show available options" issue for filter options when pagination
* FIX - Remove filter param issue
* FIX - Reset filter issue (when all option is disabled for radio type filter)
* FIX - Modal popup issue after filtering
* FIX - Filter Count issue when there are several same category filter option
* FIX - Collapsible Categories not working
* FIX - Column issue when filtering after no result
* FIX - Made pagination "scroll to" setting to work only for pagination
* FIX - Set default category when reset for category page
* FIX - Archive Loop module default acf name & value for checkbox type field issue
* FIX - Conditional logic for acf select box
* FIX - Radio long label not lining up
*
* VERSION 1.3 - 05/03/21
* NEW ADDTION - Conditional Logic for filter options
* NEW ADDITION - Enhanced category options
        - Show Only Parent Categories
        - Show Only Sub Categories of Selected Category (you then select a category)
        - Show Sub Categories of Current Category (Category page only)
        - Show All Categories and Sub categories
* NEW ADDITION - Setting to make each filter item toggle on mobile only 
* NEW ADDITION - Setting to limit the height of the radio filter, you can click on text to show more (expand) and show less (collapse)
* MOD - Changed the filter items settings to be more clear and easier to use - just layout
* MOD - Filter column size on desktop, tablet and mobile when using the fullwidth column style.
* MOD - Post Title: moved margin to module and padding to title
* MOD - Added setting to show related posts using post categories when selecting our custom post (usually custom tax category)
* MOD - Added sort by price and stock status for product loop module
* MOD - Added setting to set the value type(string, number, decimal)
* MOD - Added option to auto close the filter on mobile when making a selection
* FIX - Fixed thumbnail margins not working 
* FIX - Range slider for product attribute that contains decimal value
* FIX - php notice
* FIX - Filter label not hiding in some cases
* FIX - fixed column count when filtering
* FIX - minor CSS bugs
* FIX - reset issue with Product rating filter
* FIX - CSS style issue for ajax calls
* FIX - Module duplication issue
* FIX - Pagination issue when post offset is 0
*
* VERSION 1.2 - 16/02/21
* MOD - setting to show reset button always
* FIX - JS error with range slider if no max value is set
* FIX - Reset button show hide issue
* FIX - Filter param tag undefined issue
* FIX - Filter issue when using 'category' as taxonomy of custom post type or in ACF field
* FIX - Filter by Numeric issue
* FIX - Load More & Filtering issue
*
* VERSION 1.1 - 11/02/21
* NEW ADDITION - Added setting to show a button that when they click will toggle the filter on mobile
* MOD - New setting to only show category/tags/attributes/custo tax that are assigned to the posts
* MOD - Added Product Attribute Range type
* MOD - Added setting to scroll down to a section on ajax update - choose posts, orderby or filter.
* MOD - Added option to open the whole grid in a new tab
* FIX/MOD - Added box shadow for thumbnail image
* FIX - Link whole grid on filter
* FIX - filtering issue for multiple loop module
* FIX - filter count issue
* MOD - Hide Reset if any filter is not selected
* MOD - Add option to exclude category on machine loop module
* FIX - Map pin issue
* FIX - Non woocommerce Archive loop module php bug
* ADD - Add product weight & product rating filter
* FIX - Flip image issue on Thumbnail module
* FIX - Loadmore issue when include multiple categories & tags
* FIX - order by issue for custom query loop
*
* VERSION 1.0.2 - 04/12/2020
* FIX - Fixed pagination issue with BC
* FIX - PHP fatal error when installed on BC
* FIX - linked post tilte bug
* FIX - Product Title style
* FIX - Product List not working
* FIX - double box shadow setting for thumbnail
* MOD - Sync with bd ( modify js object name, fix default sortorder etc)
*
* VERSION 1.0.1 - 26/11/2020
* FIX - Same function names as Machine - fixed
*
* VERSION 1.0 - 26/11/2020
* Launch Initial Version