diff --git a/inc/mep_functions.php b/inc/mep_functions.php index b731eeb..5a563aa 100755 --- a/inc/mep_functions.php +++ b/inc/mep_functions.php @@ -235,7 +235,7 @@ function mep_get_page_by_slug($slug) { return false; } -add_action('admin_init','mep_page_create'); +//add_action('admin_init','mep_page_create'); // Cretae pages on plugin activation function mep_page_create() { diff --git a/inc/mep_shortcode.php b/inc/mep_shortcode.php index d442a7d..0004998 100644 --- a/inc/mep_shortcode.php +++ b/inc/mep_shortcode.php @@ -31,7 +31,20 @@ function mep_event_calender(){ jQuery(document).ready(function () { const myEvents = [ array('mep_events'), + 'posts_per_page' => -1, + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'event_start_datetime' + ); + + + + + + $loop = new WP_Query($args); $i = 1; $count = $loop->post_count - 1; while ($loop->have_posts()) { diff --git a/inc/template-prts/event_add_cart.php b/inc/template-prts/event_add_cart.php index f82e782..6ffd0fd 100755 --- a/inc/template-prts/event_add_cart.php +++ b/inc/template-prts/event_add_cart.php @@ -48,8 +48,8 @@ function mep_get_event_reg_btn(){ $newformat = empty($event_more_dates) ? $newformat : date('Y-m-d H:i:s',strtotime($more_date)); } - $default_timezone_val = get_option('timezone_string') ? get_option('timezone_string') : 'UTC'; - date_default_timezone_set($default_timezone_val); + // $default_timezone_val = get_option('timezone_string') ? get_option('timezone_string') : 'UTC'; + // date_default_timezone_set($default_timezone_val); $datetime1 = new DateTime($newformat); $datetime2 = new DateTime($current); diff --git a/inc/template-prts/event_loop_list.php b/inc/template-prts/event_loop_list.php index d15e55f..8e34d11 100644 --- a/inc/template-prts/event_loop_list.php +++ b/inc/template-prts/event_loop_list.php @@ -95,8 +95,8 @@ ob_start(); 0){ echo get_mep_datetime($event_meta['event_start_datetime'][0],'date-text'); } ?> -
- -
diff --git a/readme.txt b/readme.txt index ccab01e..b9eae4a 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: event, woocomerce events manager, events manager, Wordpress Events plugin, Requires at least: 5.3 Stable tag: trunk Version: 2.1.3 -Tested up to: 5.4 +Tested up to: 5.3 Requires PHP: 7.0 WC requires at least: 3.0 WC tested up to: 4.0 @@ -141,7 +141,7 @@ To Show the Event Only Title Style. example 👉[Title Style Demo](https://demo. ` **Event Carousal:** -To Show the Event Carousal. example 👉[Event Carousal Demo](https://demo.vaincode.com/mage-event/event-carousal/)👈: +To Show the Event Carousal. example 👉[Title Style Demo](https://demo.vaincode.com/mage-event/event-carousal/)👈: ` [event-list style='grid' pagination='carousal' carousal-dots='yes' carousal-nav='yes' column=3] @@ -177,7 +177,7 @@ By default there is no pagination with the event list but if you want to show pa ` **Filter By City:** -Filter Event by City. example 👉[Event by City Demo](https://demo.vaincode.com/mage-event/event-list-filter-by-city/)👈: +Filter Event by City. example 👉[Title Style Demo](https://demo.vaincode.com/mage-event/event-list-filter-by-city/)👈: ` [event-list style='grid' city='Dhaka' column=3 show=8] @@ -185,7 +185,7 @@ Filter Event by City. example 👉[Event by City Demo](https://demo.vaincode.com ` **Filter By Country:** -Filter Event by Country.example 👉[Event by Country Demo](https://demo.vaincode.com/mage-event/event-list-filter-by-country/)👈: +Filter Event by Country.example 👉[Title Style Demo](https://demo.vaincode.com/mage-event/event-list-filter-by-country/)👈: ` [event-list style='grid' country='India' column=3 show=8] @@ -491,7 +491,7 @@ Pagination Styling issue fixed 24 March 2020* -= 3.2.2 = += 3.2.3 = * Update Release: Some Bug Fixed Code Improved @@ -502,5 +502,6 @@ Now Tou can easily filter event by city [event-list city='Dhaka'] or country [ev Added Event Carousal in Event list shortcode.[event-list pagination='carousal' carousal-dots='yes' carousal-nav='yes'] Multidate List in Event List shortcode, you can turn off/on from event settings page Fixed Grid style broken issue - -09 April 2020* \ No newline at end of file +Date Timezone Wrong name Display issue fixed +Calendar No Event Display Issue Fixed +11 April 2020* diff --git a/woocommerce-event-press.php b/woocommerce-event-press.php index 7bdef0f..e822580 100644 --- a/woocommerce-event-press.php +++ b/woocommerce-event-press.php @@ -3,7 +3,7 @@ * Plugin Name: Woocommerce Events Manager * Plugin URI: http://mage-people.com * Description: A Complete Event Solution for WordPress by MagePeople.. -* Version: 3.2.2 +* Version: 3.2.3 * Author: MagePeople Team * Author URI: http://www.mage-people.com/ * Text Domain: mage-eventpress