fixed share button 404, calendar button issue
This commit is contained in:
parent
220d6f09d1
commit
bd333739ca
|
@ -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: 2.5.4
|
||||
* Version: 2.5.5
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
* Text Domain: mage-eventpress
|
||||
|
@ -23,6 +23,7 @@ require_once(dirname(__FILE__) . "/inc/mep_shortcode.php");
|
|||
require_once(dirname(__FILE__) . "/inc/admin_setting_panel.php");
|
||||
require_once(dirname(__FILE__) . "/inc/mep_enque.php");
|
||||
require_once(dirname(__FILE__) . "/templates/template-prts/templating.php");
|
||||
// require_once(dirname(__FILE__) . "/lib/PHPExcel.php");
|
||||
require_once(dirname(__FILE__) . "/inc/mep_csv_export.php");
|
||||
require_once(dirname(__FILE__) . "/inc/mep_user_custom_style.php");
|
||||
require_once(dirname(__FILE__) . "/inc/mep_tax_meta.php");
|
||||
|
@ -192,6 +193,10 @@ global $wpdb;
|
|||
return $value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
add_action( 'woocommerce_thankyou','mep_set_first_order_sts');
|
||||
function mep_set_first_order_sts($order_id ){
|
||||
|
||||
|
@ -209,6 +214,13 @@ update_post_meta( $event_id, $mep_atnd, "a1");
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
add_action('woocommerce_order_status_changed', 'mep_event_seat_management', 10, 4);
|
||||
function mep_event_seat_management( $order_id, $from_status, $to_status, $order ) {
|
||||
global $wpdb;
|
||||
|
@ -530,9 +542,9 @@ function mep_social_share(){
|
|||
<ul class='mep-social-share'>
|
||||
<li> <a data-toggle="tooltip" title="" class="facebook" onclick="window.open('https://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>','Facebook','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="http://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>" data-original-title="Share on Facebook"><i class="fa fa-facebook"></i></a></li>
|
||||
|
||||
<li><a data-toggle="tooltip" title="" class="gpuls" onclick="window.open('https://plus.google.com/share?url=<?php the_permalink(); ?>','Google plus','width=585,height=666,left='+(screen.availWidth/2-292)+',top='+(screen.availHeight/2-333)+''); return false;" href="https://plus.google.com/share?url=<?php the_permalink(); ?>" data-original-title="Share on Google Plus"><i class="fa fa-google-plus"></i></a> </li>
|
||||
<!-- <li><a data-toggle="tooltip" title="" class="gpuls" onclick="window.open('https://plus.google.com/share?url=<?php the_permalink(); ?>','Google plus','width=585,height=666,left='+(screen.availWidth/2-292)+',top='+(screen.availHeight/2-333)+''); return false;" href="https://plus.google.com/share?url=<?php the_permalink(); ?>" data-original-title="Share on Google Plus"><i class="fa fa-google-plus"></i></a> </li> -->
|
||||
|
||||
<li><a data-toggle="tooltip" title="" class="twitter" onclick="window.open('https_ssl_verify://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php the_title(); ?>','Twitter share','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="http://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php the_title(); ?>" data-original-title="Twittet it"><i class="fa fa-twitter"></i></a></li>
|
||||
<li><a data-toggle="tooltip" title="" class="twitter" onclick="window.open('https://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php the_title(); ?>','Twitter share','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="http://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php the_title(); ?>" data-original-title="Twittet it"><i class="fa fa-twitter"></i></a></li>
|
||||
</ul>
|
||||
<?php
|
||||
}
|
||||
|
@ -565,7 +577,7 @@ $location = $event_meta['mep_location_venue'][0]." ".$event_meta['mep_street'][0
|
|||
action=TEMPLATE
|
||||
&text=<?php echo $event->post_title; ?>
|
||||
&dates=<?php echo mep_calender_date($event_start); ?>/<?php echo mep_calender_date($event_end); ?>
|
||||
&details=<?php echo strip_tags($event->post_content); ?>
|
||||
&details=<?php echo substr(strip_tags($event->post_content),0,1000); ?>
|
||||
&location=<?php echo $location; ?>
|
||||
&trp=false
|
||||
&sprop=
|
||||
|
@ -1184,6 +1196,11 @@ function mep_wc_price( $price, $args = array() ) {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}else{
|
||||
function mep_admin_notice_wc_not_active() {
|
||||
$class = 'notice notice-error';
|
||||
|
|
Loading…
Reference in New Issue