diff --git a/css/style.css b/css/style.css index f06017d..f947c21 100644 --- a/css/style.css +++ b/css/style.css @@ -360,7 +360,7 @@ ul#mep_event_date_sch li span { display: -webkit-flex;display: flex; font-size: 13px; } - +span.mep-more-date {-webkit-flex-wrap: wrap;flex-wrap: wrap;} span.mep-more-date i { margin: 0; } diff --git a/inc/mep_enque.php b/inc/mep_enque.php index de87ce8..7dfbd15 100644 --- a/inc/mep_enque.php +++ b/inc/mep_enque.php @@ -72,7 +72,7 @@ function mep_event_enqueue_scripts() wp_enqueue_script('jquery-ui-core'); wp_enqueue_script('jquery-ui-accordion'); wp_enqueue_style('mep-jquery-ui-style', plugin_dir_url(__DIR__) . 'css/jquery-ui.css', array()); - wp_enqueue_style('mep-event-style', plugin_dir_url(__DIR__) . 'css/style.css', array()); + wp_enqueue_style('mep-event-style', plugin_dir_url(__DIR__) . 'css/style.css', array(),time()); wp_enqueue_style('filter_pagination', plugin_dir_url(__DIR__) . 'css/filter_pagination.css', array()); wp_enqueue_style('mep-event-timeline-min-style', plugin_dir_url(__DIR__) . 'css/timeline.min.css', array('mep-event-style')); wp_enqueue_style('font-awesome-css-cdn', "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css", null, 1); diff --git a/inc/mep_event_meta.php b/inc/mep_event_meta.php index e269d63..6ede396 100644 --- a/inc/mep_event_meta.php +++ b/inc/mep_event_meta.php @@ -416,8 +416,8 @@ class MP_Event_All_Info_In_One - ' . esc_html__("Reserve", "mage-eventpress") . ''; - echo apply_filters('mep_add_extra_column', mep_esc_html($rsvqty)); ?> + + diff --git a/inc/welcome.php b/inc/welcome.php index 3e060a7..e32493b 100644 --- a/inc/welcome.php +++ b/inc/welcome.php @@ -7,10 +7,14 @@ add_action('admin_enqueue_scripts', 'mep_event_welcome_enqueue_scripts', 10, 1); function mep_event_welcome_enqueue_scripts() { $current_screen = get_current_screen(); - if ( 'mep_events_page_mep_event_welcome_page' != $current_screen->base ) { + if ( ('mep_events_page_mep_event_welcome_page' == $current_screen->base) ) { + wp_enqueue_style('mep-welcome-style', plugin_dir_url(__DIR__) . 'inc/welcome/css/welcome.css', array()); + }elseif(('mep_events_page_mep_event_import_page' == $current_screen->base)){ + wp_enqueue_style('mep-welcome-style', plugin_dir_url(__DIR__) . 'inc/welcome/css/welcome.css', array()); + }else{ return; } - wp_enqueue_style('mep-welcome-style', plugin_dir_url(__DIR__) . 'inc/welcome/css/welcome.css', array()); + } @@ -19,6 +23,7 @@ add_action('admin_menu', 'mep_event_welcome_admin_menu'); function mep_event_welcome_admin_menu() { add_submenu_page('edit.php?post_type=mep_events', __('Welcome', 'mage-eventpress'), __('Welcome', 'mage-eventpress'), 'manage_options', 'mep_event_welcome_page', 'mep_event_welcome_page'); + add_submenu_page('edit.php?post_type=mep_events', __('Import', 'mage-eventpress'), __('Import', 'mage-eventpress'), 'manage_options', 'mep_event_import_page', 'mep_event_import_page'); } function mep_event_welcome_page() { @@ -35,6 +40,7 @@ function mep_event_welcome_page() @@ -65,3 +71,31 @@ function mep_event_welcome_page() +
+ + + +
+ '; + require_once(dirname(__DIR__) . "/inc/welcome/import.php"); + echo '
'; + + ?> +
+ + + + banner +
+
+
+
+ logo +
+
+
+

Import Dummy Events

+

Event Manager For Woocommerce

+
+
+
+
+
    +
  • +
  • refresh
  • +
  • rocket
  • +
+
    +
  • settings
  • +
  • reading
  • +
  • graph
  • +
+
    +
  • gift
  • +
  • +
  • +
+
+
+
+
+
+ +
+
+
+
+
+
+

Download Dummy Event

+

Please follow the below process to import dummy event data to your website.

+
+
+ icon +
+

Download Dummy XML File

+

Please downlaod this Dummy Events XML File

+
+
+
+ icon +
+

Import File

+

After Download the XML file,
+ Go to:

+ Tools -> Import +

+ In the bottom of this page there is a WordPress import option. If you have already enabled this you can see Run Import, if not click on the Install Now link. After that click on Run Importer and select the XML file you downlaod earlier.

+
+
+
+ icon +
+

Finish Import Process

+

Now select the user of your website to assign the new events from the dropdown, and tick on the Download Attachemnt tick box & Run the Process. After a few minute you will see the Success message. All Done! Have Fun.

+
+
+
+ Download Dummy Events XML File +
+
+
+ unlimited +
+
+
+
+
+
+
+
+
+ Watch The Video Toutorial +
+
+ +
+
+
+
+
+
+
+
+
+

Get Pro and Others Available Addon to get all these exciting features

+
+ Buy Now +
+
+
+
+
+
+ \ No newline at end of file diff --git a/lib/classes/class-meta-box.php b/lib/classes/class-meta-box.php index 7b6c031..f1c2cd5 100755 --- a/lib/classes/class-meta-box.php +++ b/lib/classes/class-meta-box.php @@ -43,11 +43,26 @@ if (!class_exists('AddMetaBox')) { public function save_post($post_id) - { + { $get_option_name = $this->get_option_name(); $post_id = $this->get_post_id(); + + + if ( !isset($_POST['mep_fw_nonce']) || !wp_verify_nonce($_POST['mep_fw_nonce'], 'mep_fw_nonce') ) { + return; + } + + if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { + return; + } + + if (!current_user_can('edit_post', $post_id)) { + return; + } + + if (!empty($get_option_name)) : $option_value = serialize(stripslashes_deep(mage_array_strip($_POST[$get_option_name]))); update_post_meta($post_id, $get_option_name, $option_value); @@ -173,6 +188,7 @@ if (!class_exists('AddMetaBox')) { ?>
+