readme & function update

This commit is contained in:
magepeopleteam 2021-09-23 11:11:09 +00:00
parent 75adc076a1
commit f5eefdad3d
2 changed files with 19 additions and 20 deletions

View File

@ -1360,24 +1360,23 @@ if (!function_exists('mep_get_event_order_metadata')) {
$args_search_qqq = array ( $args_search_qqq = array (
'post_type' => array( 'mep_events_attendees' ), 'post_type' => array( 'mep_events_attendees' ),
'posts_per_page' => -1, 'posts_per_page' => -1,
'author__in'=> array(get_current_user_id()), //Authors's id's you like to include 'author__in'=> array(get_current_user_id()),
'meta_query' => array( 'meta_query' => array(
array( array(
'key' => 'ea_order_status', 'key' => 'ea_order_status',
'value' => array('completed', 'processing'), 'value' => array('completed', 'processing'),
'compare' => 'IN' 'compare' => 'IN'
) )
) )
); );
$loop = new WP_Query( $args_search_qqq ); $loop = new WP_Query( $args_search_qqq );
while ($loop->have_posts()) { while ($loop->have_posts()) {
$loop->the_post(); $loop->the_post();
$event_id = get_post_meta( get_the_id(), 'ea_event_id', true ); $event_id = get_post_meta( get_the_id(), 'ea_event_id', true );
$virtual_info = get_post_meta($event_id,'mp_event_virtual_type_des',true) ? get_post_meta($event_id,'mp_event_virtual_type_des',true) : ''; $virtual_info = get_post_meta($event_id,'mp_event_virtual_type_des',true) ? get_post_meta($event_id,'mp_event_virtual_type_des',true) : '';
$event_meta = get_post_custom($event_id); $event_meta = get_post_custom($event_id);
$time = get_post_meta(get_the_id(),'event_expire_datetime',true) ? strtotime(get_post_meta(get_the_id(),'event_expire_datetime',true)) : strtotime(get_post_meta(get_the_id(),'event_start_datetime',true)); $time = get_post_meta($event_id,'event_expire_datetime',true) ? strtotime(get_post_meta($event_id,'event_expire_datetime',true)) : strtotime(get_post_meta($event_id,'event_start_datetime',true));
$newformat = date('Y-m-d H:i:s',$time); $newformat = date('Y-m-d H:i:s',$time);
if ( strtotime(current_time('Y-m-d H:i:s')) < strtotime( $newformat ) ) { if ( strtotime(current_time('Y-m-d H:i:s')) < strtotime( $newformat ) ) {
?> ?>
<tr> <tr>

View File

@ -60,7 +60,7 @@ WooCommerce Event Manager Plugin- is one of the best and simple event management
➡ [View Live Demo For Business](https://vaincode.com/event-demo/) ➡ [View Live Demo For Business](https://vaincode.com/event-demo/)
➡ [View Live Demo For Cooking](https://vaincode.com/event-demo/home-cooking/) ➡ [View Live Demo For Cooking](https://vaincode.com/event-demo/home-cooking/)
➡ [View Live Demo For Indoor Games](https://vaincode.com/event-demo/home-indoor-games/) ➡ [View Live Demo For Indoor Games](https://vaincode.com/event-demo/home-indoor-games/)
👉 [Plugin Documentation](https://demo.vaincode.com/mage-event/documentation/) 👉 [Plugin Documentation](https://docs.mage-people.com/woocommerce-event-manager/)
👉[Buy WooCommerce Event Manager Pro](https://mage-people.com/product/mage-woo-event-booking-manager-pro/) 👈 👉[Buy WooCommerce Event Manager Pro](https://mage-people.com/product/mage-woo-event-booking-manager-pro/) 👈
@ -87,7 +87,7 @@ By default showing all event, but if you want to show event list of a particular
` `
**Grid style:** **Grid style:**
To Show the Event in Grid Style. example 👉[Grid Style Demo](https://demo.vaincode.com/mage-event/event-list-style/)👈: To Show the Event in Grid Style. example 👉[Grid Style Demo](https://vaincode.com/event-demo/events-grid-style/)👈:
` `
[event-list style='grid'] [event-list style='grid']
@ -95,7 +95,7 @@ To Show the Event in Grid Style. example 👉[Grid Style Demo](https://demo.vain
**List style:** **List style:**
To Show the Event in List Style. example 👉[List Style Demo](https://demo.vaincode.com/mage-event/all-event-list/)👈: To Show the Event in List Style. example 👉[List Style Demo](https://vaincode.com/event-demo/events-list-style//)👈:
` `
[event-list style='list'] [event-list style='list']
@ -103,7 +103,7 @@ To Show the Event in List Style. example 👉[List Style Demo](https://demo.vain
**Minimal style:** **Minimal style:**
To Show the Event in Minimal Style. example 👉[Minimal Style Demo](https://demo.vaincode.com/mage-event/event-list-minimal-style/)👈: To Show the Event in Minimal Style. example 👉[Minimal Style Demo](https://vaincode.com/event-demo/events-minimal-style/)👈:
` `
[event-list style='minimal' show=10 pagination='yes'] [event-list style='minimal' show=10 pagination='yes']
@ -111,7 +111,7 @@ To Show the Event in Minimal Style. example 👉[Minimal Style Demo](https://dem
` `
**Native style:** **Native style:**
To Show the Event in Native Style. example 👉[Native Style Demo](https://demo.vaincode.com/mage-event/event-list-native-style/)👈: To Show the Event in Native Style. example 👉[Native Style Demo](https://vaincode.com/event-demo/events-native-style/)👈:
` `
[event-list style='native' show='8' pagination='yes'] [event-list style='native' show='8' pagination='yes']
@ -120,7 +120,7 @@ To Show the Event in Native Style. example 👉[Native Style Demo](https://demo.
**Vertical Timeline style:** **Vertical Timeline style:**
To Show the Event in Vertical Timeline Style. example 👉[Vertical Timeline Style Demo](https://demo.vaincode.com/mage-event/event-list-vertical-timeline-view/)👈: To Show the Event in Vertical Timeline Style. example 👉[Vertical Timeline Style Demo](https://vaincode.com/event-demo/events-vertical-timeline-style/)👈:
` `
[event-list style='timeline' timeline-mode='vertical'] [event-list style='timeline' timeline-mode='vertical']
@ -128,7 +128,7 @@ To Show the Event in Vertical Timeline Style. example 👉[Vertical Timeline Sty
` `
**Horizontal Timeline style:** **Horizontal Timeline style:**
To Show the Event in Horizontal Timeline Style. example 👉[Horizontal Timeline Style Demo](https://demo.vaincode.com/mage-event/event-list-vertical-timeline-view/)👈: To Show the Event in Horizontal Timeline Style. example 👉[Horizontal Timeline Style Demo](https://vaincode.com/event-demo/events-horizontal-timeline-style/)👈:
` `
[event-list style='timeline' timeline-mode='horizontal'] [event-list style='timeline' timeline-mode='horizontal']
@ -136,7 +136,7 @@ To Show the Event in Horizontal Timeline Style. example 👉[Horizontal Timeline
` `
**Title Only style:** **Title Only style:**
To Show the Event Only Title Style. example 👉[Title Style Demo](https://demo.vaincode.com/mage-event/event-list-title-only/)👈: To Show the Event Only Title Style. example 👉[Title Style Demo](https://vaincode.com/event-demo/events-title-style/)👈:
` `
[event-list style='title'] [event-list style='title']
@ -144,7 +144,7 @@ To Show the Event Only Title Style. example 👉[Title Style Demo](https://demo.
` `
**Event Carousal:** **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 👉[Event Carousal Demo](https://vaincode.com/event-demo/events-carousel-style/)👈:
` `
[event-list style='grid' pagination='carousal' carousal-dots='yes' carousal-nav='yes' column=3] [event-list style='grid' pagination='carousal' carousal-dots='yes' carousal-nav='yes' column=3]
@ -180,7 +180,7 @@ By default there is no pagination with the event list but if you want to show pa
` `
**Filter By City:** **Filter By City:**
Filter Event by City. example 👉[Filter By City Demo](https://demo.vaincode.com/mage-event/event-list-filter-by-city/)👈: Filter Event by City. example 👉[Filter By City Demo](https://vaincode.com/event-demo/events-by-city/)👈:
` `
[event-list style='grid' city='Dhaka' column=3 show=8] [event-list style='grid' city='Dhaka' column=3 show=8]
@ -188,7 +188,7 @@ Filter Event by City. example 👉[Filter By City Demo](https://demo.vaincode.co
` `
**Filter By Country:** **Filter By Country:**
Filter Event by Country.example 👉[Filter By Country Demo](https://demo.vaincode.com/mage-event/event-list-filter-by-country/)👈: Filter Event by Country.example 👉[Filter By Country Demo](https://vaincode.com/event-demo/events-by-country/)👈:
` `
[event-list style='grid' country='India' column=3 show=8] [event-list style='grid' country='India' column=3 show=8]
@ -337,7 +337,7 @@ You can check the demo of this plugin from here:
= Q.Any Documentation? = = Q.Any Documentation? =
A. Yes! Here is the [Online Documentation](https://demo.vaincode.com/mage-event/documentation/). A. Yes! Here is the [Online Documentation](https://docs.mage-people.com/woocommerce-event-manager/).
= Q.I installed correctly but 404 error what can I do ? = = Q.I installed correctly but 404 error what can I do ? =
A. You need to Re-save permalink settings it will solve the 404. if still not work that means you permalink not working, you may have httaccess problem or you have server permission problem. A. You need to Re-save permalink settings it will solve the 404. if still not work that means you permalink not working, you may have httaccess problem or you have server permission problem.