function update
This commit is contained in:
parent
5ba867f09a
commit
3a9adf85a9
|
@ -1287,9 +1287,6 @@ function mep_event_meta_save($post_id)
|
||||||
$more_end_time = isset($_POST['event_more_end_time']) ? mage_array_strip($_POST['event_more_end_time']) : '';
|
$more_end_time = isset($_POST['event_more_end_time']) ? mage_array_strip($_POST['event_more_end_time']) : '';
|
||||||
$mdate = [];
|
$mdate = [];
|
||||||
|
|
||||||
if (isset($_POST['post_author_gutenberg'])) {
|
|
||||||
$wpdb->get_results("UPDATE " . $table_name . " SET post_author=" . mage_array_strip($_POST['post_author_gutenberg']) . " WHERE ID=" . $pid);
|
|
||||||
}
|
|
||||||
|
|
||||||
$mcount = count($more_start_date);
|
$mcount = count($more_start_date);
|
||||||
|
|
||||||
|
|
|
@ -4182,17 +4182,17 @@ if (!function_exists('mep_custom_share_btn')) {
|
||||||
function mep_custom_share_btn($event_id) {
|
function mep_custom_share_btn($event_id) {
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo get_the_permalink($event_id); ?>&title=<?php echo mep_html_chr(get_the_title($event_id)) . ' '; ?>&summary=<?php echo esc_html(get_the_excerpt($event_id)); ?>&source=web" target="_blank">
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo get_the_permalink($event_id); ?>&title=<?php echo mep_esc_html(get_the_title($event_id)) . ' '; ?>&summary=<?php echo esc_html(get_the_excerpt($event_id)); ?>&source=web" target="_blank">
|
||||||
<i class="fab fa-linkedin"></i>
|
<i class="fab fa-linkedin"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://api.whatsapp.com/send?text=<?php echo mep_html_chr(get_the_title($event_id)) . ' '; ?><?php echo get_the_permalink($event_id); ?>" target="_blank">
|
<a href="https://api.whatsapp.com/send?text=<?php echo mep_esc_html(get_the_title($event_id)) . ' '; ?><?php echo get_the_permalink($event_id); ?>" target="_blank">
|
||||||
<i class="fab fa-whatsapp"></i>
|
<i class="fab fa-whatsapp"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="mailto:?subject=I wanted you to see this site&body=<?php echo mep_html_chr(get_the_title($event_id)) . ' '; ?><?php echo get_the_permalink($event_id); ?>" title="Share by Email">
|
<a href="mailto:?subject=I wanted you to see this site&body=<?php echo mep_esc_html(get_the_title($event_id)) . ' '; ?><?php echo get_the_permalink($event_id); ?>" title="Share by Email">
|
||||||
<i class="fa fa-envelope"></i>
|
<i class="fa fa-envelope"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -4506,7 +4506,7 @@ if (!function_exists('mep_event_list_date_schedule')) {
|
||||||
if (strtotime(current_time('Y-m-d H:i')) < strtotime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'])) {
|
if (strtotime(current_time('Y-m-d H:i')) < strtotime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'])) {
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo get_the_permalink($event_id).esc_attr('?date=' . strtotime($start_datetime)); ?>">
|
<a href="<?php echo get_the_permalink($event_id).esc_attr('?date=' . strtotime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'])); ?>">
|
||||||
<span class='mep-more-date'>
|
<span class='mep-more-date'>
|
||||||
<i class="fa fa-calendar"></i>
|
<i class="fa fa-calendar"></i>
|
||||||
<?php echo get_mep_datetime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'], 'date-text'); ?>
|
<?php echo get_mep_datetime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'], 'date-text'); ?>
|
||||||
|
|
Loading…
Reference in New Issue