v 3.9.8 release

This commit is contained in:
magepeopleteam 2023-07-25 02:16:45 +00:00
parent 880efb5bf8
commit 5981ad01ab
33 changed files with 1307 additions and 209 deletions

View File

@ -3947,3 +3947,972 @@ tr.mep_virtual_event_info_sec {
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
/* New Theme Deora CSS */
.mpe-new-event h1{
font-family: 'Outfit', sans-serif;
font-style: normal;
font-weight: 500;
font-size: 56px;
line-height: 30px;
letter-spacing: 2px;
color: #000000;
}
.mpe-new-event h2 {
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 30px;
letter-spacing: 0.025em;
text-transform: capitalize;
color: #878787;
display: block;
margin: 20px 0 9px;
}
.mpe-new-event-meta {
display: flex;
align-items: center;
}
.mpe-new-event-meta .mpe-new-location , .mpe-new-time {
display: flex;
width: 100%;
align-items: center;
}
.mpe-new-event-meta .mpe-new-icon-holder{
margin-right: 10px;
}
.mpe-new-event-meta .mpe-new-icon-holder img , .mpe-new-time img{
height: 22px;
width: 22px;
border-radius: 5px;
}
.mpe-new-event-meta .mpe-new-text-holder p {
font-family: 'Poppins';
font-style: normal;
font-weight: 500;
font-size: 18px;
line-height: 27px;
letter-spacing: 1.5px;
color: #393332;
}
/*------------ image section -------------*/
.mpe-new-imageSection {
display: flex;
justify-content: space-between;
}
.mpe-new-imageSection .mpe-new-thubnail-big{
width: 70%;
}
.mpe-new-imageSection .mpe-new-side-thubnail{
width: 30%;
display: flex;
justify-content: space-evenly;
}
.mpe-new-imageSection .mpe-new-thubnail-big img{
width: 100%;
}
.mpe-new-imageSection .mpe-new-side-thubnail ul {
display: flex;
flex-direction: column;
justify-content: space-between;
margin: 0px;
padding-left: 20px;
}
.mpe-new-imageSection .mpe-new-side-thubnail img{
width: 100%;
}
/*---------------- event description -----------------------*/
.mpe-new-description-Section {
display: flex;
justify-content: space-between;
margin-top: 30px;
}
.mpe-new-description-Section h2 {
font-family: 'Outfit';
font-style: normal;
font-weight: 600;
font-size: 32px;
line-height: 40px;
color: #001A26;
}
.mpe-new-event-desctiption{
width: 65%;
margin-right: 30px;
}
.mpe-new-event-desctiption p {
font-family: 'Outfit';
font-style: normal;
font-weight: 300;
font-size: 16px;
line-height: 170%;
color: #8D8D8D;
}
.mpe-new-tp-form{ display: block;}
.mpe-new-datepicker input[type=date] ,
.mpe-new-timepicker input[type=time]{
width: 96%;
border: 1px solid #6046FF;
border-radius: 5px;
margin-bottom: 10px;
padding: 15px;
background-color: white;
font-family: 'Outfit';
font-style: normal;
font-weight: 500;
font-size: 20px;
line-height: 25px;
}
.tmpe-new-p-form .mpe-new-datepicker input[type=date]{
color: #6046FF;
}
.mpe-new-tp-form .mpe-new-timepicker input[type=time]{
color: white;
background-color: #6046FF;
}
/* ::-webkit-calendar-picker-indicator {
filter: invert(1);
} */
/*----------------------ticket ----------------------*/
.mpe-new-ticket{
display: block;
border: 2px solid #6046FF;
border-radius: 5px;
width: 100%;
}
.mpe-new-ticket-card{
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px;
padding: 20px;
border-bottom: 3px solid #989898;
}
.mpe-new-ticket-card:last-child{
border-bottom: none;
}
.mpe-new-ticket-info{
width: 75%;
}
.mpe-new-ticket-info h3{
font-family: 'Outfit';
font-style: normal;
font-weight: 500;
font-size: 22.81px;
line-height: 22px;
text-transform: capitalize;
color: #121212;
}
.mpe-new-ticket-info span{
font-family: Outfit;
font-size: 12px;
font-weight: 400;
line-height: 20px;
letter-spacing: 0em;
text-align: left;
color: #FF2424;
}
.mpe-new-ticket-info p {
font-family: Outfit;
font-size: 12px;
font-weight: 400;
line-height: 20px;
letter-spacing: 0em;
text-align: left;
color: #909090;
}
.mpe-new-ticket-price{
width: 25%;
text-align: end;
}
.mpe-new-ticket-price .price {
font-family: Outfit;
font-size: 31px;
font-weight: 500;
line-height: 0px;
letter-spacing: 0em;
color: #525252;
margin: 0px;
}
.mpe-new-buy-ticket {
display: flex;
justify-content: end;
}
.mpe-new-buy-ticket button{
border: none;
color: white;
padding: 5px 10px;
outline: none;
cursor: pointer;
}
input.mpe-new-input-group-field {
width: 50px;
text-align: center;
}
.impe-new-nput-group-field::-webkit-inner-spin-button,
.impe-new-nput-group-field ::-webkit-outer-spin-button {
-webkit-appearance: none;
appearance: none;
}
.mpe-new-ticket-btns{
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.mpe-new-ticket-btns a{
text-decoration: none;
font-family: Outfit;
font-size: 19px;
font-weight: 500;
line-height: 32px;
letter-spacing: 0em;
text-align: center;
}
.mpe-new-ticket-btns .mpe-new-totalPrice{
border: 1px solid #6046FF;
padding: 10px 40px;
}
.mpe-new-ticket-btns .mpe-new-register{
border: 1px solid #6046FF;
padding: 10px 40px;
background-color: #6046FF;
color: white;
}
/*-------------------------- Description sidebar -------------------------*/
.mpe-new-description-sidebar{
width: 35%;
}
.mpe-new-date-and-time-card{
display: flex;
flex-direction: column;
}
.mpe-new-ww-card{
display: flex;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 2px 48px rgba(0, 0, 0, 0.04);
padding: 20px;
border-bottom: 1px solid rgb(209, 209, 209);
}
.mpe-new-ww-card .mpe-new-card-icon{
margin-right: 30px;
}
.mpe-new-ww-card .mpe-new-card-content .mpe-new-card-btn img{
height: 22px;
width: auto;
margin-right: 15px;
}
.mpe-new-ww-card .mpe-new-card-content .mpe-new-card-btn button{
border: 1px solid #6046FF;
padding: 5px 16px;
border-radius: 5px;
background-color: white;
}
.mpe-new-ww-card .mpe-new-card-content .mpe-new-card-btn a {
display: flex;
align-items: center;
text-decoration: none;
font-family: 'Outfit';
font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 20px;
color: #6046FF;
}
.mpe-new-ww-social-card {
background: #FFFFFF;
box-shadow: 0px 2px 48px rgba(0, 0, 0, 0.04);
padding: 20px;
border-bottom: 1px solid rgb(209, 209, 209);
}
.mpe-new-ww-social-card h2 {
text-align: center;
}
.mpe-new-ww-social-card ul{
display: flex;
align-items: center;
justify-content: center;
}
.mpe-new-ww-social-card ul li{
padding-right: 10px;
}
.mpe-new-speaker{
margin-top: 130px;
}
.mpe-new-speaker-card{
display: flex;
background-color: white;
padding: 20px;
align-items: center;
margin-bottom: 5px;
}
.mpe-new-speaker-card .mpe-new-speaker-image img{
height: 80px;
width: auto;
margin-right: 25px;
}
.mpe-new-speaker-card .mpe-new-speaker-data h3{
font-family: Outfit;
font-size: 24px;
font-weight: 500;
line-height: 22px;
text-align: left;
color: #000000;
}
.mpe-new-speaker-card .mpe-new-speaker-data p {
font-family: Outfit;
font-size: 16px;
font-weight: 400;
line-height: 20px;
letter-spacing: 1.6923084259033203px;
text-align: left;
}
/*------------- Schedule Details -----------------------*/
.mpe-new-schedule-details{
margin-bottom: 100px;
margin-top: 50px;
}
.mpe-new-schedule-details p {
font-family: Outfit;
font-size: 23px;
font-weight: 400;
letter-spacing: 0em;
text-align: left;
color: #121212;
line-height: 20px;
}
.mpe-new-schedule-details p span {
font-family: Outfit;
font-size: 23px;
font-weight: 400;
letter-spacing: 0em;
text-align: left;
color: #6046FF;
}
.mpe-new-schedule-details .mpe-new-detailed-text{
font-family: 'Outfit';
font-style: normal;
font-weight: 400;
font-size: 14px;
text-transform: capitalize;
color: #909090;
}
.mpe-new-sechule-container{
display: flex;
flex-direction: column;
background-color: #F2F0FF;
justify-content: center;
padding: 15px;
border-radius: 5px;
}
.mpe-new-schedules{
display: flex;
position: relative;
}
.mpe-new-iconEffect::before {
content: " ";
position: absolute;
left: 30px;
top: 60px;
height: 90px;
width: 10px;
background: #D9D2FF;
}
.mpe-new-icon img{
margin-top: 15px;
}
/*----------- Map Location --------------*/
.mpe-new-map-location h2{
font-family: 'Outfit';
font-style: normal;
font-weight: 600;
font-size: 32px;
line-height: 40px;
color: #001A26;
margin-bottom: 20px;
}
.mpe-new-map iframe{
border-radius: 5px;
}
/*----------- Faq Section --------------*/
.mpe-new-faq-section{
margin-top: 50px;
margin-bottom: 50px;
}
.mpe-new-faqHeader{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 60%;
margin: auto;
}
.mpe-new-faq-section h2{
font-family: 'Outfit';
font-style: normal;
font-weight: 600;
font-size: 32px;
line-height: 40px;
color: #001A26;
margin-bottom: 20px;
}
.mpe-new-faq-section .mpe-new-faqHeader p{
font-family: 'Outfit';
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 30px;
color: #888888;
text-align: center;
}
.mpe-new-faqs{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.mpe-new-questions {
flex-basis: 48%;
margin: 5px;
}
.mpe-new-panel p{
font-family: 'Outfit';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 30px;
text-transform: lowercase;
color: #3a3a3a;
}
.mpe-new-accordion {
background-color: #ffffff;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
transition: 0.4s;
font-family: 'Outfit';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 30px;
text-transform: lowercase;
color: #2C3C4D;
}
.mpe-new-active, .mpe-new-accordion:hover {
background-color: #ccc;
}
.mpe-new-panel {
padding: 0 18px;
background-color: rgb(255, 255, 255);
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
/*----------- Attendee Section --------------*/
.mpe-new-attendee{
margin-top: 50px;
margin-bottom: 50px;
}
.mpe-new-attendee h2{
font-family: 'Outfit';
font-style: normal;
font-weight: 600;
font-size: 32px;
line-height: 40px;
color: #001A26;
margin-bottom: 20px;
}
.mpe-new-attende-container{
background-color: white;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding: 20px;
border-radius: 5px;
}
.mpe-new-attende-details{
display: flex;
flex-direction: column;
align-items: center;
background-color: rgba(81, 81, 81, 0.03);
padding: 10px;
margin: 5px;
flex-basis: 11.5%;
border-radius: 5px;
}
.mpe-new-attende-details img{
height: 77px;
width: auto;
}
.mpe-new-attende-details p {
font-family: 'Outfit';
font-style: normal;
font-weight: 400;
font-size: 16.7778px;
line-height: 21px;
text-transform: capitalize;
color: #3F4145;
}
/*----------- Related Events Section --------------*/
.mpe-new-related-events {
margin-top: 50px;
margin-bottom: 50px;
position: relative;
}
.mpe-new-related-events h2{
font-family: 'Outfit';
font-style: normal;
font-weight: 600;
font-size: 32px;
line-height: 40px;
color: #001A26;
margin-bottom: 20px;
}
.mpe-new-slider-btn {
display: flex;
justify-content: end;
/* margin-top: 50px; */
position: absolute;
top: 20px;
right: 10px;
}
.mpe-new-slider-btn button{
margin-left: 10px;
}
.mpe-new-slider-btn .mpe-new-next-slide , .mpe-new-previous-slide {
height: 33px;
width: auto;
border: none;
outline: none;
/* color: white; */
border-radius: 5px;
padding: 10px;
text-align: center;
/* display: block; */
}
.mpe-new-slider-btn .mpe-new-active {
background: #6046FF;
}
.mpe-new-slider-items{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-top: 40px;
}
.mpe-new-related-items{
background-color: white;
border-radius: 5px;
width: 32%;
box-shadow: 10px 9px 33px rgba(0, 0, 0, 0.03);
}
.mpe-new-related-items img {
width: 100%;
height: auto;
}
.mpe-new-related-items-row{
display: flex;
justify-content: space-between;
padding: 20px;
}
.mpe-new-related-content h3{
font-family: 'Outfit';
font-style: normal;
font-weight: 600;
font-size: 22px;
line-height: 0px;
letter-spacing: 0.02em;
color: #0F0F0F;
}
.mpe-new-related-content .mpe-new-events-place{
font-family: 'Outfit';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 10px;
letter-spacing: 0.02em;
color: #808184;
}
.mpe-new-related-item-price{
display: flex;
flex-direction: column;
justify-content: end;
}
.mpe-new-related-item-price p{
font-family: 'Outfit';
font-style: normal;
font-weight: 600;
font-size: 28px;
letter-spacing: 0.02em;
color: #6046FF;
margin: 0;
}
.mpe-new-related-item-price .mpe-new-price-category{
font-family: 'Outfit';
font-style: normal;
font-weight: 400;
font-size: 12px;
letter-spacing: 0.02em;
text-transform: capitalize;
color: #6D6D6D;
text-align: right;
}
#owl-demo .item{
background: #ffffff;
margin: 10px;
color: #FFF;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
text-align: Left;
}
.owl-item{
background: transparent;
}
/*--------Xlg---------*/
@media (max-width: 1400px) {}
/*--------lg---------*/
@media (max-width: 1200px) {}
/*--------md---------*/
@media (max-width: 992px) {
.mpe-new-container {
max-width: 992px;
margin: auto;
padding-left: 20px;
padding-right: 20px;
}
.mpe-new-qustions p{
font-size: 18px;
line-height: 24px;
}
.mpe-new-attende-details{
flex-basis: 16.5%;
}
.mpe-new-ticket-card{
margin: 10px;
}
}
/*--------sm---------*/
@media (max-width: 768px) {
.mpe-new-container {
max-width: 768px;
margin: auto;
}
.mpe-new-event h1 {
font-size: 40px;
}
.mpe-new-event-meta .mpe-new-text-holder p{
font-size: 16px;
}
.mpe-new-schedule-details{
margin-bottom: 50px;
}
.mpe-new-description-Section{
margin-top: 20px;
}
.mpe-new-description-Section h2{
font-size: 25px;
}
.mpe-new-card-content p {
line-height: 22px;
}
.mpe-new-ww-card .mpe-new-card-content .mpe-new-card-btn a{
font-size: 14px;
}
.mpe-new-ww-card{
padding: 10px;
}
.mpe-new-card-icon a img {
height: 40px;
width: auto;
}
.mpe-new-ticket-btns a{
font-size: 16px;
}
.mpe-new-schedule-details p ,
.mpe-new-schedule-details p span{
font-size: 18px;
}
.mpe-new-speaker {
margin-top: 260px;
}
.mpe-new-ww-card .mpe-new-card-icon{
margin-right: 10px;
}
.mpe-new-ww-social-card ul li a img{
height: 30px;
}
.mpe-new-speaker-card .mpe-new-speaker-data h3{
font-size: 18px;
}
.mpe-new-speaker-card .mpe-new-speaker-image img{
height: 60px;
width: auto;
margin-right: 12px;
}
.mpe-new-attende-details p {
font-size: 14px;
}
.mpe-new-map-location h2{
font-size: 25px;
}
.mpe-new-faq-section h2{
font-size: 25px;
}
.mpe-new-qustions p{
font-size: 14px;
text-align: left;
}
.mpe-new-faq-section .mpe-new-faqHeader p{
font-size: 18px;
margin: 0px;
margin-bottom: 20px;
}
.mpe-new-attendee h2 {
font-size: 25px;
}
.mpe-new-related-events h2{
font-size: 25px;
}
.mpe-new-related-items-row{
padding: 15px;
}
.mpe-new-related-content h3{
font-size: 16px;
}
.mpe-new-related-content .mpe-new-events-place{
font-size: 14px;
}
.mpe-new-related-item-price p{
font-size: 20px;
}
}
/*--------xsm---------*/
@media (max-width: 575px) {
.mpe-new-container {
max-width: 575px;
margin: auto;
}
.mpe-new-event-meta{
flex-direction: column;
}
.mpe-new-event h1{
font-size: 26px;
}
.mpe-new-event h2{
font-size: 18px;
margin: 0;
}
.mpe-new-faqHeader{
width: 100%;
}
.mpe-new-datepicker input[type=date], .mpe-new-timepicker input[type=time]{
width: 92%;
}
.mpe-new-event-meta .mpe-new-icon-holder{
margin-right: 5px;
}
.mpe-new-event-meta .mpe-new-text-holder p{
font-size: 11px;
margin: 3px;
}
.mpe-new-description-Section{
flex-direction: column;
}
.mpe-new-event-desctiption{
width: 100%;
}
.mpe-new-description-sidebar{
width: 100%;
}
.mpe-new-ww-social-card ul {
padding: 0;
}
.mpe-new-speaker-card{
flex-direction: column;
align-items: center;
justify-content: center;
}
.mpe-new-ticket-info h3{
font-size: 16px;
}
.mpe-new-ticket-price .mpe-new-price{
font-size: 24px;
}
.mpe-new-event-desctiption p{
font-size: 14px;
}
.mpe-new-ww-card{
flex-direction: column;
}
.mpe-new-card-content{
width: 100%;
text-align: center;
}
.mpe-new-speaker{
margin-top: 20px;
}
.mpe-new-speaker-card .mpe-new-speaker-data h3{
text-align: center;
}
.mpe-new-map-location h2 {
font-size: 18px;
}
.mpe-new-faq-section h2{
font-size: 18px;
}
.mpe-new-faq-section .mpe-new-faqHeader p{
font-size: 16px;
}
.mpe-new-questions{
flex-basis: 100%;
}
.mpe-new-accordion{
font-size: 16px;
}
.mpe-new-qustions img {
position: absolute;
top: 70%;
right: 10px;
rotate: 37deg;
}
.mpe-new-attendee h2{
font-size: 18px;
}
.mpe-new-attende-details p{
font-size: 12px;
}
.mpe-new-related-events h2 {
font-size: 18px;
}
.mpe-new-related-content h3 {
font-size: 14px;
}
.mpe-new-related-items-row {
flex-direction: column;
}
.mpe-new-related-content {
text-align: center;
}
.mpe-new-related-item-price {
text-align: center;
margin-top: 10px;
}
.mpe-new-related-item-price .mpe-new-price-category{
text-align: center;
}
.mpe-new-related-events.mpe-new-container {
margin-bottom: 50px;
}
.mpe-new-ticket-btns .mpe-new-totalPrice{
padding: 8px 10px;
}
input.mpe-new-input-group-field{
width: 20px;
}
}

View File

@ -58,7 +58,7 @@ if (!class_exists('MAGE_Events_Setting_Controls')) :
), ),
array( array(
'id' => 'datetime_setting_sec', 'id' => 'datetime_setting_sec',
'title' => '<i class="fas fa-envelope"></i>'.__('Date & Time Format Settings', 'mage-eventpress') 'title' => '<i class="fas fa-clock"></i>'.__('Date & Time Format Settings', 'mage-eventpress')
), ),
array( array(
'id' => 'style_setting_sec', 'id' => 'style_setting_sec',

View File

@ -119,7 +119,10 @@ function mep_event_enqueue_scripts()
wp_enqueue_script('mep-calendar-scripts', plugin_dir_url(__DIR__) . 'js/calendar.min.js', array('jquery', 'mep-moment-js'), 1, false); wp_enqueue_script('mep-calendar-scripts', plugin_dir_url(__DIR__) . 'js/calendar.min.js', array('jquery', 'mep-moment-js'), 1, false);
wp_enqueue_script('mep-mixitup-min-js', plugin_dir_url(__DIR__) . 'js/mixitup.min.js', array(), 1, true); wp_enqueue_script('mep-mixitup-min-js', plugin_dir_url(__DIR__) . 'js/mixitup.min.js', array(), 1, true);
wp_enqueue_script('mep-countdown-js', plugin_dir_url(__DIR__) . 'js/countdown.jquery.min.js', array(), 1, true);
// wp_enqueue_script('mep-countdown-js', plugin_dir_url(__DIR__) . 'js/countdown.jquery.min.js', array(), 1, true);
wp_enqueue_script('mep-countdown-js', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.countdown/2.2.0/jquery.countdown.min.js', array(), 1, true);
//wp_enqueue_script('mep-lazysizes', plugin_dir_url(__DIR__) . 'js/lazysizes.min.js', array(), 1, true); //wp_enqueue_script('mep-lazysizes', plugin_dir_url(__DIR__) . 'js/lazysizes.min.js', array(), 1, true);
wp_enqueue_script('filter_pagination', plugin_dir_url(__DIR__) . 'js/filter_pagination.js', array(), time(), true); wp_enqueue_script('filter_pagination', plugin_dir_url(__DIR__) . 'js/filter_pagination.js', array(), time(), true);

View File

@ -5,7 +5,7 @@ if (!defined('ABSPATH')) {
if (!class_exists('EDD_SL_Plugin_Updater')) { if (!class_exists('EDD_SL_Plugin_Updater')) {
require_once(dirname(__DIR__) . '/lib/classes/EDD_SL_Plugin_Updater.php'); require_once(dirname(__DIR__) . '/lib/classes/EDD_SL_Plugin_Updater.php');
} }
require_once(dirname(__DIR__) . '/lib/classes/class-wc-product-data.php'); // require_once(dirname(__DIR__) . '/lib/classes/class-wc-product-data.php');
require_once(dirname(__DIR__) . '/lib/classes/class-form-fields-generator.php'); require_once(dirname(__DIR__) . '/lib/classes/class-form-fields-generator.php');
require_once(dirname(__DIR__) . '/lib/classes/class-meta-box.php'); require_once(dirname(__DIR__) . '/lib/classes/class-meta-box.php');
require_once(dirname(__DIR__) . '/lib/classes/class-taxonomy-edit.php'); require_once(dirname(__DIR__) . '/lib/classes/class-taxonomy-edit.php');

View File

@ -1727,7 +1727,8 @@ if (!function_exists('event_single_template_list')) {
} else { } else {
$cc = ''; $cc = '';
} }
$buffer .= "<option value=$num $cc>$desc</option>"; $name = preg_replace("/[^a-zA-Z0-9]+/", " ", $desc);
$buffer .= "<option value=$num $cc>$name</option>";
}//end foreach }//end foreach
$buffer .= '</select>'; $buffer .= '</select>';
echo wp_kses($buffer,['select' => array('name'=>[]),'option' => array('value'=>[], 'selected'=>[])]); echo wp_kses($buffer,['select' => array('name'=>[]),'option' => array('value'=>[], 'selected'=>[])]);

View File

@ -15,6 +15,7 @@ function mep_event_city_list_shortcode_func($atts, $content = null)
} }
/** /**
* This is the Shortcode For Display Event Calendar * This is the Shortcode For Display Event Calendar
*/ */
@ -226,8 +227,7 @@ function mep_event_list($atts, $content = null)
?> ?>
</div> </div>
<script> <script>
jQuery(document).ready(function() { jQuery(document).ready(function() {
var containerEl = document.querySelector('#mep_event_list_<?php echo esc_attr($unq_id); ?>'); var containerEl = document.querySelector('#mep_event_list_<?php echo esc_attr($unq_id); ?>');
var mixer = mixitup(containerEl, { var mixer = mixitup(containerEl, {
selectors: { selectors: {
@ -235,7 +235,6 @@ function mep_event_list($atts, $content = null)
control: '[data-mixitup-control]' control: '[data-mixitup-control]'
} }
}); });
<?php if ($pagination == 'carousal') { ?> <?php if ($pagination == 'carousal') { ?>
jQuery('#mep-carousel<?php echo esc_attr($cid); ?>').owlCarousel({ jQuery('#mep-carousel<?php echo esc_attr($cid); ?>').owlCarousel({
autoplay: <?php echo mep_get_option('mep_autoplay_carousal', 'carousel_setting_sec', 'true'); ?>, autoplay: <?php echo mep_get_option('mep_autoplay_carousal', 'carousel_setting_sec', 'true'); ?>,

View File

@ -11,11 +11,12 @@ if (!function_exists('mep_get_event_reg_btn')) {
global $post, $event_meta; global $post, $event_meta;
$event_id = mep_get_default_lang_event_id($event_id); $event_id = mep_get_default_lang_event_id($event_id);
$new_registration_system_sp = get_post_meta($event_id, 'mpwemasp_seat_plan_system', true) ? get_post_meta($event_id, 'mpwemasp_seat_plan_system', true) : 'off'; $new_registration_system_sp = get_post_meta($event_id, 'mpwemasp_seat_plan_system', true) ? get_post_meta($event_id, 'mpwemasp_seat_plan_system', true) : 'off';
$seat_plan = get_post_meta($event_id, 'mepsp_event_seat_plan_info', true) ? get_post_meta($event_id, 'mepsp_event_seat_plan_info', true) : []; $seat_plan = get_post_meta($event_id, 'mepsp_event_seat_plan_info', true) ? get_post_meta($event_id, 'mepsp_event_seat_plan_info', true) : [];
$seat_plan_visible = get_post_meta($event_id, 'mp_event_seat_plan_visible', true) ? get_post_meta($event_id, 'mp_event_seat_plan_visible', true) : '1'; $seat_plan_visible = get_post_meta($event_id, 'mp_event_seat_plan_visible', true) ? get_post_meta($event_id, 'mp_event_seat_plan_visible', true) : '1';
// if(class_exists('MP_ESP_Frontend') && sizeof($seat_plan) > 0 && $seat_plan_visible ==2 &&$new_registration_system_sp=='on'){
// do_action('mpwem_new_registration_system_sp',$event_id); // if(class_exists('MP_ESP_Frontend') && sizeof($seat_plan) > 0 && $seat_plan_visible ==2 &&$new_registration_system_sp=='on'){
// }else{ // do_action('mpwem_new_registration_system_sp',$event_id);
// }else{
$saved_user_role = get_post_meta($event_id, 'mep_member_only_user_role', true) ? get_post_meta($event_id, 'mep_member_only_user_role', true) : []; $saved_user_role = get_post_meta($event_id, 'mep_member_only_user_role', true) ? get_post_meta($event_id, 'mep_member_only_user_role', true) : [];
$event_member_type = get_post_meta($event_id, 'mep_member_only_event', true) ? get_post_meta($event_id, 'mep_member_only_event', true) : 'for_all'; $event_member_type = get_post_meta($event_id, 'mep_member_only_event', true) ? get_post_meta($event_id, 'mep_member_only_event', true) : 'for_all';
@ -57,7 +58,7 @@ if (!function_exists('mep_get_event_reg_btn')) {
$total_sold = mep_get_event_total_seat_left($post_id, $upcoming_date); $total_sold = mep_get_event_total_seat_left($post_id, $upcoming_date);
$total_left = $total_seat - ($total_sold + $total_resv); $total_left = $total_seat - ($total_sold + $total_resv);
$total_left = $recurring == 'no' ? $total_left : 1; $total_left = $recurring == 'no' ? $total_left : 1;
$reg_status = array_key_exists('mep_reg_status', $event_meta) ? esc_html($event_meta['mep_reg_status'][0]) : ''; $reg_status = get_post_meta($event_id,'mep_reg_status',true) ? get_post_meta($event_id,'mep_reg_status',true) : '';
$seat_left = apply_filters('mep_event_total_seat_left_count', $total_left, $post_id); $seat_left = apply_filters('mep_event_total_seat_left_count', $total_left, $post_id);
$current = current_time('Y-m-d H:i:s'); $current = current_time('Y-m-d H:i:s');
$time = strtotime($event_expire_date); $time = strtotime($event_expire_date);
@ -77,7 +78,8 @@ if (!function_exists('mep_get_event_reg_btn')) {
$datetime1 = new DateTime($newformat); $datetime1 = new DateTime($newformat);
$datetime2 = new DateTime($current); $datetime2 = new DateTime($current);
$interval = date_diff($datetime2, $datetime1); $interval = date_diff($datetime2, $datetime1);
$mep_available_seat = array_key_exists('mep_available_seat', $event_meta) ? $event_meta['mep_available_seat'][0] : 'on'; $mep_available_seat = get_post_meta($event_id,'mep_available_seat',true) ? get_post_meta($event_id,'mep_available_seat',true) : 'on';
//array_key_exists('mep_available_seat', $event_meta) ? $event_meta['mep_available_seat'][0] : 'on';
$leftt = apply_filters('mep_event_total_seat_count', $total_left, $post_id); $leftt = apply_filters('mep_event_total_seat_count', $total_left, $post_id);
$days = $interval->d; $days = $interval->d;
@ -246,7 +248,7 @@ if (!function_exists('mep_get_event_reg_btn_list')) {
$total_left = $total_seat - ($total_sold + $total_resv); $total_left = $total_seat - ($total_sold + $total_resv);
// $total_left = mep_get_event_total_seat_left($post_id, $upcoming_date); // $total_left = mep_get_event_total_seat_left($post_id, $upcoming_date);
$reg_status = array_key_exists('mep_reg_status', $event_meta) ? $event_meta['mep_reg_status'][0] : ''; $reg_status = get_post_meta($event_id,'mep_reg_status',true) ? get_post_meta($event_id,'mep_reg_status',true) : '';
$seat_left = apply_filters('mep_event_total_seat_left_count', $total_left, get_the_id()); $seat_left = apply_filters('mep_event_total_seat_left_count', $total_left, get_the_id());
$current = current_time('Y-m-d H:i:s'); $current = current_time('Y-m-d H:i:s');
$time = strtotime($event_expire_date); $time = strtotime($event_expire_date);
@ -266,7 +268,9 @@ if (!function_exists('mep_get_event_reg_btn_list')) {
$datetime1 = new DateTime($newformat); $datetime1 = new DateTime($newformat);
$datetime2 = new DateTime($current); $datetime2 = new DateTime($current);
$interval = date_diff($datetime2, $datetime1); $interval = date_diff($datetime2, $datetime1);
$mep_available_seat = array_key_exists('mep_available_seat', $event_meta) ? $event_meta['mep_available_seat'][0] : 'on'; $mep_available_seat = get_post_meta($event_id,'mep_available_seat',true) ? get_post_meta($event_id,'mep_available_seat',true) : 'on';
//array_key_exists('mep_available_seat', $event_meta) ? $event_meta['mep_available_seat'][0] : 'on';
$leftt = apply_filters('mep_event_total_seat_left_count', $total_left, get_the_id()); $leftt = apply_filters('mep_event_total_seat_left_count', $total_left, get_the_id());
$days = $interval->d; $days = $interval->d;
@ -352,7 +356,7 @@ if (!function_exists('mep_get_event_reg_btn_list')) {
<!--The Add to cart button table start Here--> <!--The Add to cart button table start Here-->
</form> </form>
<!--The event add to cart main form end here--> <!--The event add to cart main form end here-->
<?php <?php
} }
} // End Of checking Registration status } // End Of checking Registration status
} }

View File

@ -81,16 +81,17 @@ if (!function_exists('mep_date_in_default_theme')) {
function mep_date_in_default_theme($event_id,$title='yes') function mep_date_in_default_theme($event_id,$title='yes')
{ {
$event_meta = get_post_custom($event_id); $event_meta = get_post_custom($event_id);
$start_datetime = $event_meta['event_start_datetime'][0]; $start_datetime = get_post_meta($event_id, 'event_start_datetime', true) ? get_post_meta($event_id, 'event_start_datetime', true) : ''; //$event_meta['event_start_datetime'][0];
$start_date = $event_meta['event_start_date'][0]; $start_date = get_post_meta($event_id, 'event_start_date', true) ? get_post_meta($event_id, 'event_start_date', true) : ''; //$event_meta['event_start_date'][0];
$start_time = $event_meta['event_start_time'][0]; $start_time = get_post_meta($event_id, 'event_start_time', true) ? get_post_meta($event_id, 'event_start_time', true) : ''; //$event_meta['event_start_time'][0];
$end_datetime = $event_meta['event_end_datetime'][0]; $end_datetime = get_post_meta($event_id, 'event_end_datetime', true) ? get_post_meta($event_id, 'event_end_datetime', true) : ''; //$event_meta['event_end_datetime'][0];
$end_date = $event_meta['event_end_date'][0]; $end_date = get_post_meta($event_id, 'event_end_date', true) ? get_post_meta($event_id, 'event_end_date', true) : ''; //$event_meta['event_end_date'][0];
$end_time = $event_meta['event_end_time'][0]; $end_time = get_post_meta($event_id, 'event_end_time', true) ? get_post_meta($event_id, 'event_end_time', true) : ''; //$event_meta['event_end_time'][0];
$cn = 1;
// $more_date = array(get_post_meta($event_id, 'event_start_date', true) . ' ' . get_post_meta($event_id, 'event_start_time', true));
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no'; $recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
$mep_show_upcoming_event = get_post_meta($event_id, 'mep_show_upcoming_event', true) ? get_post_meta($event_id, 'mep_show_upcoming_event', true) : 'no'; $mep_show_upcoming_event = get_post_meta($event_id, 'mep_show_upcoming_event', true) ? get_post_meta($event_id, 'mep_show_upcoming_event', true) : 'no';
$cn = 1; $_more_date = get_post_meta($event_id, 'mep_event_more_date', true) ? unserialize(get_post_meta($event_id, 'mep_event_more_date', true)) : array();
$_more_date = array_key_exists('mep_event_more_date', $event_meta) ? unserialize($event_meta['mep_event_more_date'][0]) : array();
$more_date = apply_filters('mep_event_date_more_date_array',$_more_date,$event_id); $more_date = apply_filters('mep_event_date_more_date_array',$_more_date,$event_id);
$show_end_date = get_post_meta($event_id, 'mep_show_end_datetime', true) ? get_post_meta($event_id, 'mep_show_end_datetime', true) : 'yes'; $show_end_date = get_post_meta($event_id, 'mep_show_end_datetime', true) ? get_post_meta($event_id, 'mep_show_end_datetime', true) : 'yes';
$end_date_display_status = apply_filters('mep_event_datetime_status',$show_end_date,$event_id); $end_date_display_status = apply_filters('mep_event_datetime_status',$show_end_date,$event_id);
@ -111,10 +112,10 @@ if (!function_exists('mep_date_in_default_theme')) {
require(mep_template_file_path('single/date_list.php')); require(mep_template_file_path('single/date_list.php'));
} }
foreach ($more_date as $_more_date) { foreach ($more_date as $_more_date) {
$start_date = $_more_date['event_more_start_date']; $start_date = $_more_date['event_more_start_date'];
$end_date = $_more_date['event_more_end_date']; $end_date = $_more_date['event_more_end_date'];
$start_datetime = $_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time']; $start_datetime = $_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'];
$end_datetime = $_more_date['event_more_end_date'] . ' ' . $_more_date['event_more_end_time']; $end_datetime = $_more_date['event_more_end_date'] . ' ' . $_more_date['event_more_end_time'];
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'])) {
if ($mep_show_upcoming_event == 'yes') { if ($mep_show_upcoming_event == 'yes') {
@ -134,10 +135,10 @@ if (!function_exists('mep_date_in_default_theme')) {
if (is_array($more_date) && sizeof($more_date) > 0) { if (is_array($more_date) && sizeof($more_date) > 0) {
require(mep_template_file_path('single/date_list.php')); require(mep_template_file_path('single/date_list.php'));
foreach ($more_date as $_more_date) { foreach ($more_date as $_more_date) {
$start_date = $_more_date['event_more_start_date']; $start_date = $_more_date['event_more_start_date'];
$end_date = $_more_date['event_more_end_date']; $end_date = $_more_date['event_more_end_date'];
$start_datetime = $_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time']; $start_datetime = $_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'];
$end_datetime = $_more_date['event_more_end_date'] . ' ' . $_more_date['event_more_end_time']; $end_datetime = $_more_date['event_more_end_date'] . ' ' . $_more_date['event_more_end_time'];
require(mep_template_file_path('single/date_list.php')); require(mep_template_file_path('single/date_list.php'));
} }
} else { } else {
@ -159,22 +160,21 @@ if (!function_exists('mep_ev_date')) {
function mep_ev_date($event_id) function mep_ev_date($event_id)
{ {
global $event_meta; global $event_meta;
$start_datetime = $event_meta['event_start_datetime'][0];
$start_date = $event_meta['event_start_date'][0];
$start_time = $event_meta['event_start_time'][0];
$end_datetime = $event_meta['event_end_datetime'][0]; $start_datetime = get_post_meta($event_id, 'event_start_datetime', true) ? get_post_meta($event_id, 'event_start_datetime', true) : ''; //$event_meta['event_start_datetime'][0];
$start_date = get_post_meta($event_id, 'event_start_date', true) ? get_post_meta($event_id, 'event_start_date', true) : ''; //$event_meta['event_start_date'][0];
$end_date = $event_meta['event_end_date'][0]; $start_time = get_post_meta($event_id, 'event_start_time', true) ? get_post_meta($event_id, 'event_start_time', true) : ''; //$event_meta['event_start_time'][0];
$end_time = $event_meta['event_end_time'][0]; $end_datetime = get_post_meta($event_id, 'event_end_datetime', true) ? get_post_meta($event_id, 'event_end_datetime', true) : ''; //$event_meta['event_end_datetime'][0];
$cn = 1; $end_date = get_post_meta($event_id, 'event_end_date', true) ? get_post_meta($event_id, 'event_end_date', true) : ''; //$event_meta['event_end_date'][0];
$more_date = array($event_meta['event_start_date'][0] . ' ' . $event_meta['event_start_time'][0]); $end_time = get_post_meta($event_id, 'event_end_time', true) ? get_post_meta($event_id, 'event_end_time', true) : ''; //$event_meta['event_end_time'][0];
$recurring = get_post_meta(get_the_id(), 'mep_enable_recurring', true) ? get_post_meta(get_the_id(), 'mep_enable_recurring', true) : 'no'; $cn = 1;
$mep_show_upcoming_event = get_post_meta(get_the_id(), 'mep_show_upcoming_event', true) ? get_post_meta(get_the_id(), 'mep_show_upcoming_event', true) : 'no'; $more_date = array(get_post_meta($event_id, 'event_start_date', true) . ' ' . get_post_meta($event_id, 'event_start_time', true));
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
$mep_show_upcoming_event = get_post_meta($event_id, 'mep_show_upcoming_event', true) ? get_post_meta($event_id, 'mep_show_upcoming_event', true) : 'no';
if ($recurring == 'yes') { if ($recurring == 'yes') {
$event_more_dates = get_post_meta(get_the_id(), 'mep_event_more_date', true) ? get_post_meta(get_the_id(), 'mep_event_more_date', true) : []; $event_more_dates = get_post_meta($event_id, 'mep_event_more_date', true) ? get_post_meta($event_id, 'mep_event_more_date', true) : [];
foreach ($event_more_dates as $md) { foreach ($event_more_dates as $md) {
$more_date[] = $md['event_more_start_date'] . ' ' . $md['event_more_start_time']; $more_date[] = $md['event_more_start_date'] . ' ' . $md['event_more_start_time'];
} }
@ -208,16 +208,17 @@ if (!function_exists('mep_ev_time')) {
function mep_ev_time($event_id) function mep_ev_time($event_id)
{ {
global $event_meta; global $event_meta;
$start_datetime = $event_meta['event_start_date'][0] . ' ' . $event_meta['event_start_time'][0]; $start_datetime = get_post_meta($event_id, 'event_start_datetime', true) ? get_post_meta($event_id, 'event_start_datetime', true) : ''; //$event_meta['event_start_datetime'][0];
$start_date = $event_meta['event_start_date'][0]; $start_date = get_post_meta($event_id, 'event_start_date', true) ? get_post_meta($event_id, 'event_start_date', true) : ''; //$event_meta['event_start_date'][0];
$start_time = $event_meta['event_start_time'][0]; $start_time = get_post_meta($event_id, 'event_start_time', true) ? get_post_meta($event_id, 'event_start_time', true) : ''; //$event_meta['event_start_time'][0];
$end_datetime = $event_meta['event_end_date'][0] . ' ' . $event_meta['event_end_time'][0]; $end_datetime = get_post_meta($event_id, 'event_end_datetime', true) ? get_post_meta($event_id, 'event_end_datetime', true) : ''; //$event_meta['event_end_datetime'][0];
$end_date = $event_meta['event_end_date'][0]; $end_date = get_post_meta($event_id, 'event_end_date', true) ? get_post_meta($event_id, 'event_end_date', true) : ''; //$event_meta['event_end_date'][0];
$end_time = $event_meta['event_end_time'][0]; $end_time = get_post_meta($event_id, 'event_end_time', true) ? get_post_meta($event_id, 'event_end_time', true) : ''; //$event_meta['event_end_time'][0];
$cn = 1; $cn = 1;
$more_date = array($event_meta['event_start_date'][0] . ' ' . $event_meta['event_start_time'][0]); $more_date = array(get_post_meta($event_id, 'event_start_date', true) . ' ' . get_post_meta($event_id, 'event_start_time', true));
$recurring = get_post_meta(get_the_id(), 'mep_enable_recurring', true) ? get_post_meta(get_the_id(), 'mep_enable_recurring', true) : 'no'; $recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
$mep_show_upcoming_event = get_post_meta(get_the_id(), 'mep_show_upcoming_event', true) ? get_post_meta(get_the_id(), 'mep_show_upcoming_event', true) : 'no'; $mep_show_upcoming_event = get_post_meta($event_id, 'mep_show_upcoming_event', true) ? get_post_meta($event_id, 'mep_show_upcoming_event', true) : 'no';
if ($recurring == 'yes') { if ($recurring == 'yes') {

View File

@ -5,25 +5,37 @@ if (!defined('ABSPATH')) {
add_action('mep_event_details', 'mep_ev_details'); add_action('mep_event_details', 'mep_ev_details');
if (!function_exists('mep_ev_details')) { if (!function_exists('mep_ev_details')) {
function mep_ev_details() function mep_ev_details($event_id)
{
global $post, $event_meta;
$content_event = get_post($event_id);
$content = $content_event->post_content;
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]&gt;', $content);
require(mep_template_file_path('single/details.php'));
do_action('mep_after_event_details', $event_id);
}
}
add_action('mep_event_details_only', 'mep_ev_details_only');
if (!function_exists('mep_ev_details_only')) {
function mep_ev_details_only()
{ {
global $post, $event_meta; global $post, $event_meta;
$content_event = get_post($post->ID); $content_event = get_post($post->ID);
$content = $content_event->post_content; $content = $content_event->post_content;
$content = apply_filters('the_content', $content); $content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]&gt;', $content); $content = str_replace(']]>', ']]&gt;', $content);
require(mep_template_file_path('single/details.php')); echo $content;
do_action('mep_after_event_details');
} }
} }
add_action('mep_after_event_details', 'mep_display_event_daywise_details'); add_action('mep_after_event_details', 'mep_display_event_daywise_details');
if (!function_exists('mep_display_event_daywise_details')) { if (!function_exists('mep_display_event_daywise_details')) {
function mep_display_event_daywise_details() function mep_display_event_daywise_details($event_id)
{ {
global $post, $event_meta; global $post, $event_meta;
$mep_event_day = get_post_meta($post->ID, 'mep_event_day', true) ? maybe_unserialize(get_post_meta($post->ID, 'mep_event_day', true)) : array(); $mep_event_day = get_post_meta($event_id, 'mep_event_day', true) ? maybe_unserialize(get_post_meta($event_id, 'mep_event_day', true)) : array();
if (sizeof($mep_event_day) > 0) { if (sizeof($mep_event_day) > 0) {
require(mep_template_file_path('single/daywise_details.php')); require(mep_template_file_path('single/daywise_details.php'));
} }

View File

@ -134,14 +134,16 @@ if (!function_exists('mep_ev_location')) {
add_action('mep_event_location_venue', 'mep_ev_venue'); add_action('mep_event_location_venue', 'mep_ev_venue');
if (!function_exists('mep_ev_venue')) { if (!function_exists('mep_ev_venue')) {
function mep_ev_venue($event_id = '') function mep_ev_venue($event_id)
{ {
global $post, $event_meta; global $post, $event_meta;
if ($event_id) { if ($event_id) {
$event = $event_id; $event = $event_id;
} else { } else {
$event = $post->ID; $event = $post->ID;
} }
$location_sts = get_post_meta($event, 'mep_org_address', true); $location_sts = get_post_meta($event, 'mep_org_address', true);
if ($location_sts) { if ($location_sts) {
$org_arr = get_the_terms($event, 'mep_org'); $org_arr = get_the_terms($event, 'mep_org');
@ -152,6 +154,7 @@ if (!function_exists('mep_ev_venue')) {
} }
} }
} }
/** /**
* Event Location Get Functions * Event Location Get Functions
*/ */

View File

@ -11,7 +11,7 @@ add_action('mep_event_speakers_list', 'mep_display_speaker_list');
if (!function_exists('mep_display_speaker_list')) { if (!function_exists('mep_display_speaker_list')) {
function mep_display_speaker_list($event_id) function mep_display_speaker_list($event_id)
{ {
$speakers_id = get_post_meta($event_id, 'mep_event_speakers_list', true) ? maybe_unserialize(get_post_meta($event_id, 'mep_event_speakers_list', true)) : array(); $speakers_id = get_post_meta($event_id, 'mep_event_speakers_list', true) ? maybe_unserialize(get_post_meta($event_id, 'mep_event_speakers_list', true)) : array();
$speaker_icon = get_post_meta($event_id, 'mep_event_speaker_icon', true) ? get_post_meta($event_id, 'mep_event_speaker_icon', true) : 'fa fa-microphone'; $speaker_icon = get_post_meta($event_id, 'mep_event_speaker_icon', true) ? get_post_meta($event_id, 'mep_event_speaker_icon', true) : 'fa fa-microphone';
$speaker_label = get_post_meta($event_id, 'mep_speaker_title', true) ? get_post_meta($event_id, 'mep_speaker_title', true) : esc_html__("Speaker's", "mage-eventpress"); $speaker_label = get_post_meta($event_id, 'mep_speaker_title', true) ? get_post_meta($event_id, 'mep_speaker_title', true) : esc_html__("Speaker's", "mage-eventpress");
if (is_array($speakers_id) && sizeof($speakers_id) > 0) { if (is_array($speakers_id) && sizeof($speakers_id) > 0) {

View File

@ -20,6 +20,8 @@ if (!function_exists('mep_output_add_to_cart_custom_fields')) {
$total_left = apply_filters('mep_event_total_seat_count', $_total_left, $post_id); $total_left = apply_filters('mep_event_total_seat_count', $_total_left, $post_id);
// $total_left = 10;
if ($total_left > 0) { if ($total_left > 0) {
do_action('mep_event_ticket_types', $post_id,$ticket_type_label,$select_date_label); do_action('mep_event_ticket_types', $post_id,$ticket_type_label,$select_date_label);

View File

@ -8,12 +8,17 @@ if (!function_exists('mep_faq_part')) {
function mep_faq_part($event_id) function mep_faq_part($event_id)
{ {
ob_start(); ob_start();
get_post_meta($event_id, 'mep_event_faq', true);
// get_post_meta($event_id, 'mep_event_faq', true);
$mep_event_faq = get_post_meta($event_id, 'mep_event_faq', true) ? maybe_unserialize(get_post_meta($event_id, 'mep_event_faq', true)) : ''; $mep_event_faq = get_post_meta($event_id, 'mep_event_faq', true) ? maybe_unserialize(get_post_meta($event_id, 'mep_event_faq', true)) : '';
if ($mep_event_faq) { if ($mep_event_faq) {
require(mep_template_file_path('single/faq.php')); require(mep_template_file_path('single/faq.php'));
} }
$content = ob_get_clean(); $content = ob_get_clean();
echo apply_filters('mage_event_faq_list', $content, $event_id); echo apply_filters('mage_event_faq_list', $content, $event_id);
} }
} }

View File

@ -5,16 +5,36 @@ if (!defined('ABSPATH')) {
add_action('mep_event_organizer', 'mep_ev_org'); add_action('mep_event_organizer', 'mep_ev_org');
if (!function_exists('mep_ev_org')) { if (!function_exists('mep_ev_org')) {
function mep_ev_org() function mep_ev_org($event_id)
{ {
global $post, $author_terms; global $post, $author_terms;
ob_start(); ob_start();
if ($author_terms) { if ($author_terms) {
$org = get_the_terms(get_the_id(), 'mep_org'); $org = get_the_terms($event_id, 'mep_org');
require(mep_template_file_path('single/organizer.php')); require(mep_template_file_path('single/organizer.php'));
} }
$content = ob_get_clean(); $content = ob_get_clean();
echo apply_filters('mage_event_single_org_name', $content, $event_id);
}
}
add_action('mep_event_organizer_name', 'mep_ev_org_name');
if (!function_exists('mep_ev_org_name')) {
function mep_ev_org_name()
{
global $post, $author_terms;
ob_start();
$org = get_the_terms(get_the_id(), 'mep_org');
$names = [];
if(sizeof($org) > 0){
foreach ($org as $key => $value) {
$names[] = $value->name;
}
}
echo esc_html(join($names,', '));
$content = ob_get_clean();
echo apply_filters('mage_event_single_org_name', $content, $post->ID); echo apply_filters('mage_event_single_org_name', $content, $post->ID);
} }
} }

View File

@ -1,5 +1,38 @@
<?php <?php
get_header(); if ( wp_is_block_theme() ) {
// Code for block themes goes here.
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<?php
$block_content = do_blocks( '
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-content /-->
</div>
<!-- /wp:group -->'
);
?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div class="wp-site-blocks">
<header class="wp-block-template-part site-header">
<?php block_header_area(); ?>
</header>
</div>
<?php
} else {
// Code for classic themes goes here.
get_header();
}
$event_id = get_the_id();
global $event_id;
the_post(); the_post();
global $post, $woocommerce; global $post, $woocommerce;
if (post_password_required()) { if (post_password_required()) {
@ -9,9 +42,13 @@ if (post_password_required()) {
</div> </div>
<?php <?php
} else { } else {
$event_meta = get_post_custom(get_the_id()); // echo $event_id;
$author_terms = get_the_terms(get_the_id(), 'mep_org'); $event_meta = get_post_custom($event_id);
$book_count = get_post_meta(get_the_id(), 'total_booking', true);
// print_r($event_meta);
$author_terms = get_the_terms($event_id, 'mep_org');
$book_count = get_post_meta($event_id, 'total_booking', true);
$user_api = mep_get_option('google-map-api', 'general_setting_sec', ''); $user_api = mep_get_option('google-map-api', 'general_setting_sec', '');
$mep_full_name = mage_array_strip($event_meta['mep_full_name'][0]); $mep_full_name = mage_array_strip($event_meta['mep_full_name'][0]);
$mep_reg_email = mage_array_strip($event_meta['mep_reg_email'][0]); $mep_reg_email = mage_array_strip($event_meta['mep_reg_email'][0]);
@ -27,7 +64,7 @@ if (post_password_required()) {
$current_template = $event_meta['mep_event_template'][0]; $current_template = $event_meta['mep_event_template'][0];
$_current_template = $current_template ? $current_template : $global_template; $_current_template = $current_template ? $current_template : $global_template;
$currency_pos = get_option('woocommerce_currency_pos'); $currency_pos = get_option('woocommerce_currency_pos');
do_action('mep_event_single_page_after_header',get_the_id()); do_action('mep_event_single_page_after_header',$event_id);
?> ?>
<div class="mep-events-wrapper wrapper"> <div class="mep-events-wrapper wrapper">
<div class="mep-events-container"> <div class="mep-events-container">
@ -56,4 +93,17 @@ if (post_password_required()) {
do_action('mep_event_single_template_end', get_the_id()); do_action('mep_event_single_template_end', get_the_id());
do_action('mep_event_single_page_before_footer'); do_action('mep_event_single_page_before_footer');
} }
get_footer();
if ( wp_is_block_theme() ) {
// Code for block themes goes here.
?>
<footer class="wp-block-template-part">
<?php block_footer_area(); ?>
</footer>
<?php wp_footer(); ?>
</body>
<?php
} else {
get_footer();
}
?>

View File

@ -5,14 +5,14 @@ if (!defined('ABSPATH')) {
add_action('mep_event_social_share', 'mep_ev_social_share'); add_action('mep_event_social_share', 'mep_ev_social_share');
if (!function_exists('mep_ev_social_share')) { if (!function_exists('mep_ev_social_share')) {
function mep_ev_social_share() function mep_ev_social_share($event_id)
{ {
global $post; global $post;
ob_start(); ob_start();
$post_id = $post->ID; $post_id = $event_id;
$event_label = mep_get_option('mep_event_label', 'general_setting_sec', 'Events'); $event_label = mep_get_option('mep_event_label', 'general_setting_sec', 'Events');
require(mep_template_file_path('single/share_btn.php')); require(mep_template_file_path('single/share_btn.php'));
$content = ob_get_clean(); $content = ob_get_clean();
echo apply_filters('mage_event_single_social_share', $content, $post->ID); echo apply_filters('mage_event_single_social_share', $content, $event_id);
} }
} }

View File

@ -7,7 +7,7 @@ add_action('mep_event_thumbnail', 'mep_thumbnail');
if (!function_exists('mep_thumbnail')) { if (!function_exists('mep_thumbnail')) {
function mep_thumbnail() function mep_thumbnail()
{ {
global $post; global $post, $event_id;
ob_start(); ob_start();
require(mep_template_file_path('single/thumbnail.php')); require(mep_template_file_path('single/thumbnail.php'));
$content = ob_get_clean(); $content = ob_get_clean();

View File

@ -5,12 +5,25 @@ if (!defined('ABSPATH')) {
add_action('mep_event_title', 'mep_ev_title'); add_action('mep_event_title', 'mep_ev_title');
if (!function_exists('mep_ev_title')) { if (!function_exists('mep_ev_title')) {
function mep_ev_title() function mep_ev_title($event_id)
{ {
global $post; global $post;
ob_start(); ob_start();
require(mep_template_file_path('single/title.php')); require(mep_template_file_path('single/title.php'));
$content = ob_get_clean(); $content = ob_get_clean();
echo apply_filters('mage_event_single_title', $content, $post->ID); echo apply_filters('mage_event_single_title', $content, $event_id);
}
}
add_action('mep_event_only_title', 'mep_ev_only_title');
if (!function_exists('mep_ev_only_title')) {
function mep_ev_only_title()
{
global $post, $event_id;
ob_start();
require(mep_template_file_path('single/title_only.php'));
$content = ob_get_clean();
echo apply_filters('mage_event_single_title', $content, $event_id);
} }
} }

View File

@ -5,17 +5,20 @@ if (!defined('ABSPATH')) {
add_action('mep_event_seat', 'mep_ev_seat'); add_action('mep_event_seat', 'mep_ev_seat');
if (!function_exists('mep_ev_seat')) { if (!function_exists('mep_ev_seat')) {
function mep_ev_seat() function mep_ev_seat($event_id)
{ {
global $post; global $post;
$event_id = mep_get_default_lang_event_id(get_the_id()); // echo $event_id;
$event_id = mep_get_default_lang_event_id($event_id);
$event_meta = get_post_custom($event_id); $event_meta = get_post_custom($event_id);
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no'; $recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
ob_start(); ob_start();
if ($recurring == 'no') { if ($recurring == 'no') {
$mep_event_ticket_type = get_post_meta($event_id, 'mep_event_ticket_type', true) ? get_post_meta($event_id, 'mep_event_ticket_type', true) : array(); $mep_event_ticket_type = get_post_meta($event_id, 'mep_event_ticket_type', true) ? get_post_meta($event_id, 'mep_event_ticket_type', true) : array();
$event_date = get_post_meta($event_id, 'event_start_date', true) ? get_post_meta($event_id, 'event_start_date', true) : ''; $event_date = get_post_meta($event_id, 'event_start_date', true) ? get_post_meta($event_id, 'event_start_date', true) : '';
$mep_available_seat = array_key_exists('mep_available_seat', $event_meta) ? $event_meta['mep_available_seat'][0] : 'on'; $mep_available_seat = get_post_meta($event_id, 'mep_available_seat', true) ? get_post_meta($event_id, 'mep_available_seat', true) : 'on';
//array_key_exists('mep_available_seat', $event_meta) ? $event_meta['mep_available_seat'][0] : 'on';
if (is_array($mep_event_ticket_type) && sizeof($mep_event_ticket_type) > 0) { if (is_array($mep_event_ticket_type) && sizeof($mep_event_ticket_type) > 0) {
$upcoming_date = ''; $upcoming_date = '';
$total_seat = apply_filters('mep_event_total_seat_counts', mep_event_total_seat($event_id, 'total'), $event_id); $total_seat = apply_filters('mep_event_total_seat_counts', mep_event_total_seat($event_id, 'total'), $event_id);

View File

@ -365,6 +365,11 @@ A. you can create support ticket here with problem details with possible screens
== Changelog == == Changelog ==
= 3.9.8 =
* Header & Footer issue solved in Block Themes
* Bug Fixed.
25 July 2023*
= 3.9.7 = = 3.9.7 =
* Event Title Sanitize Issue fixed with Span and other allowed tags. * Event Title Sanitize Issue fixed with Span and other allowed tags.
22 June 2023* 22 June 2023*

View File

@ -3,6 +3,7 @@
<?php <?php
$i = 1; $i = 1;
foreach ($mep_event_day as $field): foreach ($mep_event_day as $field):
if(!empty($field['mep_day_title'])){
?> ?>
<div class="mep-day-details-item"> <div class="mep-day-details-item">
<div class="mep-day-icon"><?php echo $i; ?></div> <div class="mep-day-icon"><?php echo $i; ?></div>
@ -15,6 +16,7 @@
</div> </div>
<?php <?php
$i++; $i++;
}
endforeach; endforeach;
?> ?>
</div> </div>

View File

@ -5,9 +5,9 @@ $event_ss_twitter_icon = mep_get_option('mep_event_ss_twitter_icon', 'icon_sett
<div class="mep-event-meta"> <div class="mep-event-meta">
<span class='mep-share-btn-title'> <?php echo esc_html(mep_get_label($post_id, 'mep_share_text', esc_html__('Share This','mage-eventpress').' '.$event_label.':')); ?></span> <span class='mep-share-btn-title'> <?php echo esc_html(mep_get_label($post_id, 'mep_share_text', esc_html__('Share This','mage-eventpress').' '.$event_label.':')); ?></span>
<ul class='mep-social-share'> <ul class='mep-social-share'>
<?php do_action('mep_before_social_share_list',get_the_id()); ?> <?php do_action('mep_before_social_share_list',$event_id); ?>
<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="<?php echo $event_ss_fb_icon; ?>"></i></a></li> <li> <a data-toggle="tooltip" title="" class="facebook" onclick="window.open('https://www.facebook.com/sharer.php?u=<?php echo get_the_permalink($event_id); ?>','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 echo get_the_permalink($event_id); ?>" data-original-title="Share on Facebook"><i class="<?php echo $event_ss_fb_icon; ?>"></i></a></li>
<li><a data-toggle="tooltip" title="" class="twitter" onclick="window.open('https://twitter.com/share?url=<?php the_permalink(); ?>&amp;text=<?php echo mep_html_chr(get_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(); ?>&amp;text=<?php echo mep_html_chr(get_the_title()); ?>" data-original-title="Twittet it"><i class="<?php echo $event_ss_twitter_icon; ?>"></i></a></li> <li><a data-toggle="tooltip" title="" class="twitter" onclick="window.open('https://twitter.com/share?url=<?php echo get_the_permalink($event_id); ?>&amp;text=<?php echo mep_html_chr(get_the_title($event_id)); ?>','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 echo get_the_permalink($event_id); ?>&amp;text=<?php echo mep_html_chr(get_the_title($event_id)); ?>" data-original-title="Twittet it"><i class="<?php echo $event_ss_twitter_icon; ?>"></i></a></li>
<?php do_action('mep_after_social_share_list',get_the_id()); ?> <?php do_action('mep_after_social_share_list',$event_id); ?>
</ul> </ul>
</div> </div>

View File

@ -1,3 +1,3 @@
<div class="mep-event-thumbnail"> <div class="mep-event-thumbnail">
<?php the_post_thumbnail('full'); ?> <?php echo get_the_post_thumbnail($event_id,'full'); ?>
</div> </div>

View File

@ -1,7 +1,7 @@
<tr> <tr>
<?php do_action('mep_ticket_type_list_row_start',$field, $post_id); ?> <?php do_action('mep_ticket_type_list_row_start',$field, $post_id); ?>
<td align="Left"> <td align="Left">
<span class='mep_ticket_type_name'> <?php echo esc_html($field['option_name_t']); ?></span> <span class='mep_ticket_type_name'> <?php echo esc_html($field['option_name_t']); ?></span>
<?php if(!empty($ticket_details)){ ?> <?php if(!empty($ticket_details)){ ?>
<div class="mep_ticket_details"> <div class="mep_ticket_details">
<p><?php echo esc_html($ticket_details); ?></p> <p><?php echo esc_html($ticket_details); ?></p>

View File

@ -1 +1 @@
<h2><?php the_title(); ?></h2> <h2><?php echo get_the_title($event_id); ?></h2>

View File

@ -16,15 +16,16 @@ $event_date_icon = mep_get_option('mep_event_date_icon', 'icon_settin
$event_time_icon = mep_get_option('mep_event_time_icon', 'icon_setting_sec', 'fas fa-clock'); $event_time_icon = mep_get_option('mep_event_time_icon', 'icon_setting_sec', 'fas fa-clock');
$event_location_icon = mep_get_option('mep_event_location_icon', 'icon_setting_sec', 'fas fa-map-marker-alt'); $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_setting_sec', 'fas fa-map-marker-alt');
$event_organizer_icon = mep_get_option('mep_event_organizer_icon', 'icon_setting_sec', 'far fa-list-alt'); $event_organizer_icon = mep_get_option('mep_event_organizer_icon', 'icon_setting_sec', 'far fa-list-alt');
$show_google_map_location = get_post_meta($event_id,'mep_sgm',true) ? get_post_meta($event_id,'mep_sgm',true) : 'no';
// echo $event_id;
?> ?>
<div class="mep-default-theme mep_flex default_theme"> <div class="mep-default-theme mep_flex default_theme">
<div class="mep-default-content"> <div class="mep-default-content">
<div class="mep-default-title"> <div class="mep-default-title">
<?php do_action('mep_event_title'); ?> <?php do_action('mep_event_title', $event_id); ?>
</div> </div>
<div class="mep-default-feature-image"> <div class="mep-default-feature-image">
<?php do_action('mep_event_thumbnail'); ?> <?php do_action('mep_event_thumbnail', $event_id); ?>
</div> </div>
<div class="mep-default-feature-date-location"> <div class="mep-default-feature-date-location">
<?php if ($hide_date_details == 'no') { ?> <?php if ($hide_date_details == 'no') { ?>
@ -32,9 +33,11 @@ $event_organizer_icon = mep_get_option('mep_event_organizer_icon', 'icon_s
<div class="df-ico"><i class="<?php echo $event_date_icon; ?>"></i></div> <div class="df-ico"><i class="<?php echo $event_date_icon; ?>"></i></div>
<div class='df-dtl'> <div class='df-dtl'>
<h3> <h3>
<?php echo mep_get_option('mep_event_date_text', 'label_setting_sec') ? mep_get_option('mep_event_date_text', 'label_setting_sec') : esc_html__('Event Date:', 'mage-eventpress'); ?> <?php
echo mep_get_option('mep_event_date_text', 'label_setting_sec') ? mep_get_option('mep_event_date_text', 'label_setting_sec') : esc_html__('Event Date:', 'mage-eventpress');
?>
</h3> </h3>
<?php do_action('mep_event_date_only',get_the_id()); ?> <?php do_action('mep_event_date_only',$event_id); ?>
</div> </div>
</div> </div>
<?php } <?php }
@ -45,81 +48,81 @@ $event_organizer_icon = mep_get_option('mep_event_organizer_icon', 'icon_s
<h3> <h3>
<?php echo mep_get_option('mep_event_time_text', 'label_setting_sec') ? mep_get_option('mep_event_time_text', 'label_setting_sec') : esc_html__('Event Time:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_time_text', 'label_setting_sec') ? mep_get_option('mep_event_time_text', 'label_setting_sec') : esc_html__('Event Time:', 'mage-eventpress'); ?>
</h3> </h3>
<?php do_action('mep_event_time_only',get_the_id()); ?> <?php do_action('mep_event_time_only',$event_id); ?>
</div> </div>
</div> </div>
<?php } <?php }
if ($hide_location_details == 'no') { ?> if ($hide_location_details == 'no' ) { ?>
<div class="mep-default-feature-location"> <div class="mep-default-feature-location">
<div class="df-ico"><i class="<?php echo $event_location_icon; ?>"></i></div> <div class="df-ico"><i class="<?php echo $event_location_icon; ?>"></i></div>
<div class='df-dtl'> <div class='df-dtl'>
<h3> <h3>
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Event Location:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Event Location:', 'mage-eventpress'); ?>
</h3> </h3>
<p><?php do_action('mep_event_location_venue'); ?> <p><?php do_action('mep_event_location_venue', $event_id); ?>
<?php //do_action('mep_event_location_city'); ?> </p> <?php //do_action('mep_event_location_city'); ?> </p>
</div> </div>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
<div class="mep-default-feature-content"> <div class="mep-default-feature-content">
<?php do_action('mep_event_details'); ?> <?php do_action('mep_event_details', $event_id); ?>
</div> </div>
<div class="mep-default-feature-cart-sec"> <div class="mep-default-feature-cart-sec">
<?php do_action('mep_add_to_cart', get_the_id()) ?> <?php do_action('mep_add_to_cart', $event_id) ?>
</div> </div>
<div class="mep-default-feature-faq-sec"> <div class="mep-default-feature-faq-sec">
<?php do_action('mep_event_faq',get_the_id()); ?> <?php do_action('mep_event_faq',$event_id); ?>
</div> </div>
</div> </div>
<div class="mep-default-sidebar"> <div class="mep-default-sidebar">
<?php if ($hide_location_details == 'no') { ?> <?php if ($hide_location_details == 'no' && $show_google_map_location != 'no') { ?>
<div class="mep-default-sidrbar-map"> <div class="mep-default-sidrbar-map">
<h3> <h3>
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Event Location:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Event Location:', 'mage-eventpress'); ?>
</h3> </h3>
<?php do_action('mep_event_map',get_the_id()); ?> <?php do_action('mep_event_map',$event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
<div class="df-sidebar-part"> <div class="df-sidebar-part">
<?php if ($hide_total_seat_details == 'no') { ?> <?php if ($hide_total_seat_details == 'no') { ?>
<div class="mep-default-sidrbar-price-seat"> <div class="mep-default-sidrbar-price-seat">
<div class="df-seat"><?php do_action('mep_event_seat'); ?></div> <div class="df-seat"><?php do_action('mep_event_seat', $event_id); ?></div>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_org_by_details == 'no' && has_term('','mep_org',get_the_id())) { ?> <?php if ($hide_org_by_details == 'no' && has_term('','mep_org',$event_id)) { ?>
<div class="mep-default-sidrbar-meta"> <div class="mep-default-sidrbar-meta">
<i class="<?php echo $event_organizer_icon; ?>"></i> <?php do_action('mep_event_organizer'); ?> <i class="<?php echo $event_organizer_icon; ?>"></i> <?php do_action('mep_event_organizer', $event_id); ?>
</div> </div>
<?php } <?php }
if ($hide_address_details == 'no') { ?> if ($hide_address_details == 'no') { ?>
<div class="mep-default-sidrbar-address"> <div class="mep-default-sidrbar-address">
<?php do_action('mep_event_address_list_sidebar',get_the_id()); ?> <?php do_action('mep_event_address_list_sidebar',$event_id); ?>
</div> </div>
<?php } <?php }
if ($hide_schedule_details == 'no') { ?> if ($hide_schedule_details == 'no') { ?>
<div class="mep-default-sidrbar-events-schedule"> <div class="mep-default-sidrbar-events-schedule">
<?php do_action('mep_event_date_default_theme',get_the_id()); ?> <?php do_action('mep_event_date_default_theme',$event_id); ?>
</div> </div>
<?php } <?php }
if ($hide_share_details == 'no') { ?> if ($hide_share_details == 'no') { ?>
<div class="mep-default-sidrbar-social"> <div class="mep-default-sidrbar-social">
<?php do_action('mep_event_social_share'); ?> <?php do_action('mep_event_social_share', $event_id); ?>
</div> </div>
<?php } <?php }
if($speaker_status == 'yes'){ ?> if($speaker_status == 'yes'){ ?>
<div class="mep-default-sidebar-speaker-list"> <div class="mep-default-sidebar-speaker-list">
<?php do_action('mep_event_speakers_list',get_the_id()); ?> <?php do_action('mep_event_speakers_list',$event_id); ?>
</div> </div>
<?php <?php
} }
if ($hide_calendar_details == 'no') { ?> if ($hide_calendar_details == 'no') { ?>
<div class="mep-default-sidrbar-calender-btn"> <div class="mep-default-sidrbar-calender-btn">
<?php do_action('mep_event_add_calender',get_the_id()); ?> <?php do_action('mep_event_add_calender',$event_id); ?>
</div> </div>
<?php } <?php }
@ -129,4 +132,3 @@ $event_organizer_icon = mep_get_option('mep_event_organizer_icon', 'icon_s
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,5 +1,5 @@
<?php <?php
// Template Name: Royal // Template Name: Royal Theme
// Settings Value :::::::::::::::::::::::::::::::::::::::; // Settings Value :::::::::::::::::::::::::::::::::::::::;
$hide_date_details = mep_get_option('mep_event_hide_date_from_details', 'single_event_setting_sec', 'no'); $hide_date_details = mep_get_option('mep_event_hide_date_from_details', 'single_event_setting_sec', 'no');
@ -21,13 +21,13 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<div class="mep-default-content"> <div class="mep-default-content">
<?php if ($hide_location_details == 'no') { ?> <?php if ($hide_location_details == 'no') { ?>
<div class="mep-default-sidrbar-map"> <div class="mep-default-sidrbar-map">
<?php do_action('mep_event_map',get_the_id()); ?> <?php do_action('mep_event_map',$event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
<div class="mep-royal-header"> <div class="mep-royal-header">
<div class="mep-royal-header-col-1"> <div class="mep-royal-header-col-1">
<div class="mep-default-title"> <div class="mep-default-title">
<?php do_action('mep_event_title'); ?> <?php do_action('mep_event_title', $event_id); ?>
</div> </div>
<div class="mep-default-feature-date-location"> <div class="mep-default-feature-date-location">
<?php if ($hide_date_details == 'no') { ?> <?php if ($hide_date_details == 'no') { ?>
@ -37,7 +37,7 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<h3> <h3>
<?php echo mep_get_option('mep_event_date_text', 'label_setting_sec') ? mep_get_option('mep_event_date_text', 'label_setting_sec') : esc_html__('Event Date:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_date_text', 'label_setting_sec') ? mep_get_option('mep_event_date_text', 'label_setting_sec') : esc_html__('Event Date:', 'mage-eventpress'); ?>
</h3> </h3>
<?php do_action('mep_event_date_only',get_the_id()); ?> <?php do_action('mep_event_date_only',$event_id); ?>
</div> </div>
</div> </div>
<?php } <?php }
@ -48,7 +48,7 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<h3> <h3>
<?php echo mep_get_option('mep_event_time_text', 'label_setting_sec') ? mep_get_option('mep_event_time_text', 'label_setting_sec') : esc_html__('Event Time:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_time_text', 'label_setting_sec') ? mep_get_option('mep_event_time_text', 'label_setting_sec') : esc_html__('Event Time:', 'mage-eventpress'); ?>
</h3> </h3>
<?php do_action('mep_event_time_only',get_the_id()); ?> <?php do_action('mep_event_time_only',$event_id); ?>
</div> </div>
</div> </div>
<?php } <?php }
@ -60,11 +60,11 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Event Location:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Event Location:', 'mage-eventpress'); ?>
</h3> </h3>
<p> <p>
<span><?php do_action('mep_event_location_venue'); ?></span> <span><?php do_action('mep_event_location_venue', $event_id); ?></span>
<?php do_action('mep_event_location_street'); ?> <?php do_action('mep_event_location_street', $event_id); ?>
<?php do_action('mep_event_location_city'); ?> <?php do_action('mep_event_location_city', $event_id); ?>
<?php do_action('mep_event_location_state'); ?> <?php do_action('mep_event_location_state', $event_id); ?>
<?php do_action('mep_event_location_country'); ?> <?php do_action('mep_event_location_country', $event_id); ?>
</p> </p>
</div> </div>
@ -74,7 +74,7 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
</div> </div>
<div class="mep-royal-header-col-2"> <div class="mep-royal-header-col-2">
<div class="mep-default-feature-image"> <div class="mep-default-feature-image">
<?php do_action('mep_event_thumbnail'); ?> <?php do_action('mep_event_thumbnail', $event_id); ?>
</div> </div>
</div> </div>
</div> </div>
@ -83,43 +83,43 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<div class="mep-default-col-wrapper"> <div class="mep-default-col-wrapper">
<div class="mep-default-col-1"> <div class="mep-default-col-1">
<div class="mep-default-feature-cart-sec"> <div class="mep-default-feature-cart-sec">
<?php do_action('mep_add_to_cart', get_the_id()) ?> <?php do_action('mep_add_to_cart', $event_id) ?>
</div> </div>
</div> </div>
<div class="mep-default-col-2"> <div class="mep-default-col-2">
<?php if ($hide_org_by_details == 'no') { ?> <?php if ($hide_org_by_details == 'no') { ?>
<div class="mep-default-sidrbar-meta"> <div class="mep-default-sidrbar-meta">
<i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer'); ?> <i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer', $event_id); ?>
</div> </div>
<?php } <?php }
if ($hide_schedule_details == 'no') { ?> if ($hide_schedule_details == 'no') { ?>
<div class="mep-default-sidrbar-events-schedule"> <div class="mep-default-sidrbar-events-schedule">
<?php do_action('mep_event_date_default_theme',get_the_id()); ?> <?php do_action('mep_event_date_default_theme',$event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_total_seat_details == 'no') { ?> <?php if ($hide_total_seat_details == 'no') { ?>
<div class="mep-default-sidrbar-price-seat"> <div class="mep-default-sidrbar-price-seat">
<div class="df-seat"><?php do_action('mep_event_seat'); ?></div> <div class="df-seat"><?php do_action('mep_event_seat', $event_id); ?></div>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_calendar_details == 'no') { ?> <?php if ($hide_calendar_details == 'no') { ?>
<div class="mep-default-sidrbar-calender-btn"> <div class="mep-default-sidrbar-calender-btn">
<?php do_action('mep_event_add_calender',get_the_id()); ?> <?php do_action('mep_event_add_calender',$event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
</div> </div>
<div class="mep-default-feature-content"> <div class="mep-default-feature-content">
<?php do_action('mep_event_details'); ?> <?php do_action('mep_event_details', $event_id); ?>
</div> </div>
<?php if ($hide_share_details == 'no') { ?> <?php if ($hide_share_details == 'no') { ?>
<div class="mep-default-sidrbar-social"> <div class="mep-default-sidrbar-social">
<?php do_action('mep_event_social_share'); ?> <?php do_action('mep_event_social_share', $event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
<div class="mep-default-feature-faq-sec"> <div class="mep-default-feature-faq-sec">
<?php do_action('mep_event_faq',get_the_id()); ?> <?php do_action('mep_event_faq',$event_id); ?>
</div> </div>
</div> </div>
</div> </div>

View File

@ -19,32 +19,32 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<div class="mep_flex"> <div class="mep_flex">
<div class="spring_field_banner"> <div class="spring_field_banner">
<div class="mep-default-feature-image"> <div class="mep-default-feature-image">
<?php do_action('mep_event_thumbnail'); ?> <?php do_action('mep_event_thumbnail', $event_id); ?>
</div> </div>
</div> </div>
<div class="spring_field_banner_right"> <div class="spring_field_banner_right">
<div class="mep-default-title"> <div class="mep-default-title">
<?php do_action('mep_event_title'); ?> <?php do_action('mep_event_title', $event_id); ?>
</div> </div>
<?php if ($hide_org_by_details == 'no') { ?> <?php if ($hide_org_by_details == 'no') { ?>
<div class="mep-default-sidrbar-meta"> <div class="mep-default-sidrbar-meta">
<?php do_action('mep_event_organizer'); ?> <?php do_action('mep_event_organizer', $event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_total_seat_details == 'no') { ?> <?php if ($hide_total_seat_details == 'no') { ?>
<div class="mep-default-sidrbar-price-seat"> <div class="mep-default-sidrbar-price-seat">
<div class="df-seat"><?php do_action('mep_event_seat'); ?></div> <div class="df-seat"><?php do_action('mep_event_seat', $event_id); ?></div>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_calendar_details == 'no') { ?> <?php if ($hide_calendar_details == 'no') { ?>
<div class="mep-default-sidrbar-calender-btn"> <div class="mep-default-sidrbar-calender-btn">
<?php do_action('mep_event_add_calender', get_the_id()); ?> <?php do_action('mep_event_add_calender', $event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
</div> </div>
<div class="mep-default-sidrbar-map"> <div class="mep-default-sidrbar-map">
<?php do_action('mep_event_map', get_the_id()); ?> <?php do_action('mep_event_map', $event_id); ?>
</div> </div>
<div class="mep_spring_date"> <div class="mep_spring_date">
<?php if ($hide_schedule_details == 'no') { ?> <?php if ($hide_schedule_details == 'no') { ?>
@ -52,7 +52,7 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<div class="df-ico"><i class="<?php echo $event_date_icon; ?>"></i></div> <div class="df-ico"><i class="<?php echo $event_date_icon; ?>"></i></div>
<div class='df-dtl'> <div class='df-dtl'>
<h3><?php esc_html_e('Date and Time:', 'mage-eventpress'); ?></h3> <h3><?php esc_html_e('Date and Time:', 'mage-eventpress'); ?></h3>
<?php do_action('mep_event_date'); ?> <?php do_action('mep_event_date', $event_id); ?>
</div> </div>
</div> </div>
<?php } ?> <?php } ?>
@ -63,32 +63,32 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<h3> <h3>
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Event Location:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Event Location:', 'mage-eventpress'); ?>
</h3> </h3>
<p><?php do_action('mep_event_location', get_the_id()); ?></p> <p><?php do_action('mep_event_location', $event_id); ?></p>
</div> </div>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_share_details == 'no') { ?> <?php if ($hide_share_details == 'no') { ?>
<div class="mep-default-sidrbar-social"> <div class="mep-default-sidrbar-social">
<?php do_action('mep_event_social_share'); ?> <?php do_action('mep_event_social_share', $event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
<?php <?php
if ($speaker_status == 'yes') { ?> if ($speaker_status == 'yes') { ?>
<div class="mep-theme_springfield-sidebar-speaker-list mep-default-sidebar-speaker-list"> <div class="mep-theme_springfield-sidebar-speaker-list mep-default-sidebar-speaker-list">
<?php do_action('mep_event_speakers_list', get_the_id()); ?> <?php do_action('mep_event_speakers_list', $event_id); ?>
</div> </div>
<?php <?php
} }
?> ?>
<div class="mep-default-feature-content"> <div class="mep-default-feature-content">
<h4 class="mep-cart-table-title"><?php esc_html_e('Description', 'mage-eventpress'); ?></h4> <h4 class="mep-cart-table-title"><?php esc_html_e('Description', 'mage-eventpress'); ?></h4>
<?php do_action('mep_event_details'); ?> <?php do_action('mep_event_details', $event_id); ?>
<div class="mep-theme1-faq-sec"> <div class="mep-theme1-faq-sec">
<?php do_action('mep_event_faq', get_the_id()); ?> <?php do_action('mep_event_faq', $event_id); ?>
</div> </div>
</div> </div>
<div class="mep-default-feature-cart-sec"> <div class="mep-default-feature-cart-sec">
<?php do_action('mep_add_to_cart', get_the_id()) ?> <?php do_action('mep_add_to_cart', $event_id) ?>
</div> </div>
</div> </div>

View File

@ -16,72 +16,72 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'single_
?> ?>
<div class="mep-default-theme franklin"> <div class="mep-default-theme franklin">
<div class="mep-default-title"> <div class="mep-default-title">
<?php do_action('mep_event_title'); ?> <?php do_action('mep_event_title', $event_id); ?>
</div> </div>
<div class="mep-default-feature-image"> <div class="mep-default-feature-image">
<?php do_action('mep_event_thumbnail'); ?> <?php do_action('mep_event_thumbnail', $event_id); ?>
</div> </div>
<div class="mep-default-feature-content"> <div class="mep-default-feature-content">
<h4 class="mep-cart-table-title"><?php esc_html_e('Description', 'mage-eventpress'); ?></h4> <h4 class="mep-cart-table-title"><?php esc_html_e('Description', 'mage-eventpress'); ?></h4>
<?php do_action('mep_event_details'); ?> <?php do_action('mep_event_details', $event_id); ?>
<div class="mep-theme1-faq-sec"> <div class="mep-theme1-faq-sec">
<?php do_action('mep_event_faq',get_the_id()); ?> <?php do_action('mep_event_faq',$event_id); ?>
</div> </div>
</div> </div>
<div class="franklin_divided"> <div class="franklin_divided">
<div class="franklin_divided_left"> <div class="franklin_divided_left">
<div class="mep-default-sidrbar-map"> <div class="mep-default-sidrbar-map">
<?php do_action('mep_event_map',get_the_id()); ?> <?php do_action('mep_event_map',$event_id); ?>
</div> </div>
<?php <?php
if($speaker_status == 'yes'){ ?> if($speaker_status == 'yes'){ ?>
<div class="mep-default-feature-content mep_theme_franklin_sidebar_speaker_list mep-default-sidebar-speaker-list"> <div class="mep-default-feature-content mep_theme_franklin_sidebar_speaker_list mep-default-sidebar-speaker-list">
<?php do_action('mep_event_speakers_list',get_the_id()); ?> <?php do_action('mep_event_speakers_list',$event_id); ?>
</div> </div>
<?php <?php
} }
?> ?>
<div class="mep-default-feature-cart-sec"> <div class="mep-default-feature-cart-sec">
<?php do_action('mep_add_to_cart',get_the_id()) ?> <?php do_action('mep_add_to_cart',$event_id) ?>
</div> </div>
</div> </div>
<div class="franklin_divided_sidebar"> <div class="franklin_divided_sidebar">
<div class="franklin_divided_sidebar_bac"> <div class="franklin_divided_sidebar_bac">
<?php if ($hide_total_seat_details == 'no') { ?> <?php if ($hide_total_seat_details == 'no') { ?>
<div class="mep-default-sidrbar-price-seat"> <div class="mep-default-sidrbar-price-seat">
<div class="df-seat"><?php do_action('mep_event_seat'); ?></div> <div class="df-seat"><?php do_action('mep_event_seat', $event_id); ?></div>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_org_by_details == 'no') { ?> <?php if ($hide_org_by_details == 'no') { ?>
<div class="mep-default-sidrbar-meta"> <div class="mep-default-sidrbar-meta">
<i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer'); ?> <i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer', $event_id); ?>
</div> </div>
<?php } <?php }
if ($hide_address_details == 'no') { ?> if ($hide_address_details == 'no') { ?>
<div class="mep-default-sidrbar-address"> <div class="mep-default-sidrbar-address">
<ul> <ul>
<?php if(mep_location_existis('mep_location_venue',get_the_id())){ ?> <li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_venue'); ?></li><?php } ?> <?php if(mep_location_existis('mep_location_venue',$event_id)){ ?> <li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_venue', $event_id); ?></li><?php } ?>
<?php if(mep_location_existis('mep_street',get_the_id())){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_street'); ?></li><?php } ?> <?php if(mep_location_existis('mep_street',$event_id)){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_street', $event_id); ?></li><?php } ?>
<?php if(mep_location_existis('mep_city',get_the_id())){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_city'); ?></li><?php } ?> <?php if(mep_location_existis('mep_city',$event_id)){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_city', $event_id); ?></li><?php } ?>
<?php if(mep_location_existis('mep_state',get_the_id())){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_state'); ?></li><?php } ?> <?php if(mep_location_existis('mep_state',$event_id)){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_state', $event_id); ?></li><?php } ?>
<?php if(mep_location_existis('mep_country',get_the_id())){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_country'); ?><?php } ?> <?php if(mep_location_existis('mep_country',$event_id)){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_country', $event_id); ?><?php } ?>
</li> </li>
</ul> </ul>
</div> </div>
<?php } <?php }
if ($hide_schedule_details == 'no') { ?> if ($hide_schedule_details == 'no') { ?>
<div class="mep-default-sidrbar-events-schedule"> <div class="mep-default-sidrbar-events-schedule">
<?php do_action('mep_event_date_default_theme',get_the_id()); ?> <?php do_action('mep_event_date_default_theme',$event_id); ?>
</div> </div>
<?php } <?php }
if ($hide_share_details == 'no') { ?> if ($hide_share_details == 'no') { ?>
<div class="mep-default-sidrbar-social"> <div class="mep-default-sidrbar-social">
<?php do_action('mep_event_social_share'); ?> <?php do_action('mep_event_social_share', $event_id); ?>
</div> </div>
<?php } <?php }
if ($hide_calendar_details == 'no') { ?> if ($hide_calendar_details == 'no') { ?>
<div class="mep-default-sidrbar-calender-btn"> <div class="mep-default-sidrbar-calender-btn">
<?php do_action('mep_event_add_calender',get_the_id()); ?> <?php do_action('mep_event_add_calender',$event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>

View File

@ -1,7 +1,9 @@
<?php <?php
// Template Name: Bristol // Template Name: Bristol
// Settings Value :::::::::::::::::::::::::::::::::::::::;
// Settings Value :::::::::::::::::::::::::::::::::::::::;
$hide_date_details = mep_get_option( 'mep_event_hide_date_from_details', 'single_event_setting_sec', 'no'); $hide_date_details = mep_get_option( 'mep_event_hide_date_from_details', 'single_event_setting_sec', 'no');
$hide_time_details = mep_get_option( 'mep_event_hide_time_from_details', 'single_event_setting_sec', 'no'); $hide_time_details = mep_get_option( 'mep_event_hide_time_from_details', 'single_event_setting_sec', 'no');
$hide_location_details = mep_get_option( 'mep_event_hide_location_from_details', 'single_event_setting_sec', 'no'); $hide_location_details = mep_get_option( 'mep_event_hide_location_from_details', 'single_event_setting_sec', 'no');
@ -18,10 +20,10 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
?> ?>
<div class="mep-default-theme bristol"> <div class="mep-default-theme bristol">
<div class="mep-default-feature-image"> <div class="mep-default-feature-image">
<?php do_action('mep_event_thumbnail'); ?> <?php do_action('mep_event_thumbnail', $event_id); ?>
</div> </div>
<div class="mep-default-title"> <div class="mep-default-title">
<?php do_action('mep_event_title'); ?> <?php do_action('mep_event_title', $event_id); ?>
</div> </div>
<div class="bristol_divided"> <div class="bristol_divided">
<?php if ($hide_schedule_details == 'no') { ?> <?php if ($hide_schedule_details == 'no') { ?>
@ -29,7 +31,7 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<div class="df-ico"><i class="<?php echo $event_date_icon; ?>"></i></div> <div class="df-ico"><i class="<?php echo $event_date_icon; ?>"></i></div>
<div class='df-dtl'> <div class='df-dtl'>
<h3><?php esc_html_e('Date and Time:', 'mage-eventpress'); ?></h3> <h3><?php esc_html_e('Date and Time:', 'mage-eventpress'); ?></h3>
<?php do_action('mep_event_date'); ?> <?php do_action('mep_event_date', $event_id); ?>
</div> </div>
</div> </div>
<?php }?> <?php }?>
@ -40,55 +42,55 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<h3> <h3>
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__("$event_label Location:", 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__("$event_label Location:", 'mage-eventpress'); ?>
</h3> </h3>
<p><?php do_action('mep_event_location',get_the_id()); ?></p> <p><?php do_action('mep_event_location',$event_id); ?></p>
</div> </div>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_share_details == 'no') { ?> <?php if ($hide_share_details == 'no') { ?>
<div class="mep-default-sidrbar-social"> <div class="mep-default-sidrbar-social">
<?php do_action('mep_event_social_share'); ?> <?php do_action('mep_event_social_share', $event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_org_by_details == 'no') { ?> <?php if ($hide_org_by_details == 'no') { ?>
<div class="mep-default-sidrbar-meta"> <div class="mep-default-sidrbar-meta">
<i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer'); ?> <i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer', $event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
<div class="bristol_center_box"> <div class="bristol_center_box">
<?php if ($hide_total_seat_details == 'no') { ?> <?php if ($hide_total_seat_details == 'no') { ?>
<div class="mep-default-sidrbar-price-seat"> <div class="mep-default-sidrbar-price-seat">
<div class="df-seat"><?php do_action('mep_event_seat'); ?></div> <div class="df-seat"><?php do_action('mep_event_seat', $event_id); ?></div>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_calendar_details == 'no') { ?> <?php if ($hide_calendar_details == 'no') { ?>
<div class="mep-default-sidrbar-calender-btn"> <div class="mep-default-sidrbar-calender-btn">
<?php do_action('mep_event_add_calender',get_the_id()); ?> <?php do_action('mep_event_add_calender',$event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
<?php <?php
if($speaker_status == 'yes'){ ?> if($speaker_status == 'yes'){ ?>
<div class="mep-default-feature-content mep_theme_franklin_sidebar_speaker_list mep-default-sidebar-speaker-list"> <div class="mep-default-feature-content mep_theme_franklin_sidebar_speaker_list mep-default-sidebar-speaker-list">
<?php do_action('mep_event_speakers_list',get_the_id()); ?> <?php do_action('mep_event_speakers_list',$event_id); ?>
</div> </div>
<?php <?php
} }
?> ?>
<div class="mep-default-feature-cart-sec"> <div class="mep-default-feature-cart-sec">
<?php do_action('mep_add_to_cart',get_the_id()) ?> <?php do_action('mep_add_to_cart',$event_id) ?>
</div> </div>
<div class="mep-default-feature-content"> <div class="mep-default-feature-content">
<h4 class="mep-cart-table-title"><?php esc_html_e("About The ", 'mage-eventpress'); echo esc_html($event_label); ?></h4> <h4 class="mep-cart-table-title"><?php esc_html_e("About The ", 'mage-eventpress'); echo esc_html($event_label); ?></h4>
<?php do_action('mep_event_details'); ?> <?php do_action('mep_event_details', $event_id); ?>
</div> </div>
<div class="mep-default-sidrbar-map"> <div class="mep-default-sidrbar-map">
<h4 class="mep-cart-table-title"> <h4 class="mep-cart-table-title">
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__("$event_label Location:", 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__("$event_label Location:", 'mage-eventpress'); ?>
</h4> </h4>
<?php do_action('mep_event_map',get_the_id()); ?> <?php do_action('mep_event_map',$event_id); ?>
</div> </div>
</div> </div>

View File

@ -1,6 +1,8 @@
<?php <?php
// Template Name: Vanilla // Template Name: Vanilla
// Settings Value :::::::::::::::::::::::::::::::::::::::; // Settings Value :::::::::::::::::::::::::::::::::::::::;
$hide_date_details = mep_get_option('mep_event_hide_date_from_details', 'single_event_setting_sec', 'no'); $hide_date_details = mep_get_option('mep_event_hide_date_from_details', 'single_event_setting_sec', 'no');
$hide_time_details = mep_get_option('mep_event_hide_time_from_details', 'single_event_setting_sec', 'no'); $hide_time_details = mep_get_option('mep_event_hide_time_from_details', 'single_event_setting_sec', 'no');
@ -20,10 +22,10 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<div class="mep-default-theme vanilla_theme"> <div class="mep-default-theme vanilla_theme">
<div class="mep-default-content"> <div class="mep-default-content">
<div class="mep-default-feature-image"> <div class="mep-default-feature-image">
<?php do_action('mep_event_thumbnail'); ?> <?php do_action('mep_event_thumbnail', $event_id ); ?>
</div> </div>
<div class="mep-default-title"> <div class="mep-default-title">
<?php do_action('mep_event_title'); ?> <?php do_action('mep_event_title', $event_id); ?>
</div> </div>
<div class="mep-default-feature-date-location"> <div class="mep-default-feature-date-location">
<?php if ($hide_date_details == 'no') { ?> <?php if ($hide_date_details == 'no') { ?>
@ -33,7 +35,7 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<h3> <h3>
<?php echo mep_get_option('mep_event_date_text', 'label_setting_sec') ? mep_get_option('mep_event_date_text', 'label_setting_sec') : esc_html__('Event Date:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_date_text', 'label_setting_sec') ? mep_get_option('mep_event_date_text', 'label_setting_sec') : esc_html__('Event Date:', 'mage-eventpress'); ?>
</h3> </h3>
<?php do_action('mep_event_date_only', get_the_id()); ?> <?php do_action('mep_event_date_only', $event_id); ?>
</div> </div>
</div> </div>
<?php } <?php }
@ -44,7 +46,7 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<h3> <h3>
<?php echo mep_get_option('mep_event_time_text', 'label_setting_sec') ? mep_get_option('mep_event_time_text', 'label_setting_sec') : esc_html__('Event Time:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_time_text', 'label_setting_sec') ? mep_get_option('mep_event_time_text', 'label_setting_sec') : esc_html__('Event Time:', 'mage-eventpress'); ?>
</h3> </h3>
<?php do_action('mep_event_time_only', get_the_id()); ?> <?php do_action('mep_event_time_only', $event_id); ?>
</div> </div>
</div> </div>
<?php } <?php }
@ -56,11 +58,11 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Event Location:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Event Location:', 'mage-eventpress'); ?>
</h3> </h3>
<p> <p>
<span><?php do_action('mep_event_location_venue'); ?></span> <span><?php do_action('mep_event_location_venue', $event_id); ?></span>
<?php do_action('mep_event_location_street'); ?> <?php do_action('mep_event_location_street', $event_id); ?>
<?php do_action('mep_event_location_city'); ?> <?php do_action('mep_event_location_city', $event_id); ?>
<?php do_action('mep_event_location_state'); ?> <?php do_action('mep_event_location_state', $event_id); ?>
<?php do_action('mep_event_location_country'); ?> <?php do_action('mep_event_location_country', $event_id); ?>
</p> </p>
</div> </div>
@ -74,12 +76,12 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<h3> <h3>
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Find Location On Google Map:', 'mage-eventpress'); ?> <?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : esc_html__('Find Location On Google Map:', 'mage-eventpress'); ?>
</h3> </h3>
<?php do_action('mep_event_map', get_the_id()); ?> <?php do_action('mep_event_map', $event_id); ?>
</div> </div>
<?php if ($hide_calendar_details == 'no') { ?> <?php if ($hide_calendar_details == 'no') { ?>
<div class="mep-default-sidrbar-calender-btn"> <div class="mep-default-sidrbar-calender-btn">
<?php do_action('mep_event_add_calender', get_the_id()); ?> <?php do_action('mep_event_add_calender', $event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
@ -87,36 +89,36 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
<div class="mep-default-col-2"> <div class="mep-default-col-2">
<?php if ($hide_org_by_details == 'no') { ?> <?php if ($hide_org_by_details == 'no') { ?>
<div class="mep-default-sidrbar-meta"> <div class="mep-default-sidrbar-meta">
<i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer'); ?> <i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer', $event_id); ?>
</div> </div>
<?php } <?php }
if ($hide_schedule_details == 'no') { ?> if ($hide_schedule_details == 'no') { ?>
<div class="mep-default-sidrbar-events-schedule"> <div class="mep-default-sidrbar-events-schedule">
<?php do_action('mep_event_date_default_theme', get_the_id()); ?> <?php do_action('mep_event_date_default_theme', $event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_total_seat_details == 'no') { ?> <?php if ($hide_total_seat_details == 'no') { ?>
<div class="mep-default-sidrbar-price-seat"> <div class="mep-default-sidrbar-price-seat">
<div class="df-seat"><?php do_action('mep_event_seat'); ?></div> <div class="df-seat"><?php do_action('mep_event_seat', $event_id); ?></div>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
</div> </div>
<div class="mep-default-feature-content"> <div class="mep-default-feature-content">
<?php do_action('mep_event_details'); ?> <?php do_action('mep_event_details', $event_id); ?>
</div> </div>
<div class="mep-default-feature-cart-sec"> <div class="mep-default-feature-cart-sec">
<?php do_action('mep_add_to_cart', get_the_id()) ?> <?php do_action('mep_add_to_cart', $event_id) ?>
</div> </div>
<?php if ($hide_share_details == 'no') { ?> <?php if ($hide_share_details == 'no') { ?>
<div class="mep-default-sidrbar-social"> <div class="mep-default-sidrbar-social">
<?php do_action('mep_event_social_share'); ?> <?php do_action('mep_event_social_share', $event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
<div class="mep-default-feature-faq-sec"> <div class="mep-default-feature-faq-sec">
<?php do_action('mep_event_faq', get_the_id()); ?> <?php do_action('mep_event_faq', $event_id); ?>
</div> </div>
</div> </div>
</div> </div>

View File

@ -16,51 +16,51 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'single_
<div class="mep-default-theme mep_flex default_theme"> <div class="mep-default-theme mep_flex default_theme">
<div class="mep-default-content"> <div class="mep-default-content">
<div class="mep-default-title"> <div class="mep-default-title">
<?php do_action('mep_event_title'); ?> <?php do_action('mep_event_title', $event_id); ?>
</div> </div>
<div class="mep-default-feature-image"> <div class="mep-default-feature-image">
<?php do_action('mep_event_thumbnail'); ?> <?php do_action('mep_event_thumbnail', $event_id); ?>
</div> </div>
<div class="mep-default-feature-content"> <div class="mep-default-feature-content">
<?php do_action('mep_event_details'); ?> <?php do_action('mep_event_details', $event_id); ?>
</div> </div>
<div class="mep-default-feature-cart-sec"> <div class="mep-default-feature-cart-sec">
<?php do_action('mep_add_to_cart',get_the_id()) ?> <?php do_action('mep_add_to_cart',$event_id) ?>
</div> </div>
<div class="mep-default-feature-faq-sec"> <div class="mep-default-feature-faq-sec">
<?php do_action('mep_event_faq',get_the_id()); ?> <?php do_action('mep_event_faq',$event_id); ?>
</div> </div>
</div> </div>
<div class="mep-default-sidebar"> <div class="mep-default-sidebar">
<div class="df-sidebar-part"> <div class="df-sidebar-part">
<?php if ($hide_total_seat_details == 'no') { ?> <?php if ($hide_total_seat_details == 'no') { ?>
<div class="mep-default-sidrbar-price-seat"> <div class="mep-default-sidrbar-price-seat">
<div class="df-seat"><?php do_action('mep_event_seat'); ?></div> <div class="df-seat"><?php do_action('mep_event_seat', $event_id); ?></div>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($hide_org_by_details == 'no') { ?> <?php if ($hide_org_by_details == 'no') { ?>
<div class="mep-default-sidrbar-meta"> <div class="mep-default-sidrbar-meta">
<i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer'); ?> <i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer', $event_id); ?>
</div> </div>
<?php } if($speaker_status == 'yes'){ ?> <?php } if($speaker_status == 'yes'){ ?>
<div class="mep-default-sidebar-speaker-list"> <div class="mep-default-sidebar-speaker-list">
<?php do_action('mep_event_speakers_list',get_the_id()); ?> <?php do_action('mep_event_speakers_list',$event_id); ?>
</div> </div>
<?php <?php
} }
if ($hide_schedule_details == 'no') { ?> if ($hide_schedule_details == 'no') { ?>
<div class="mep-default-sidrbar-events-schedule"> <div class="mep-default-sidrbar-events-schedule">
<?php do_action('mep_event_date_default_theme',get_the_id()); ?> <?php do_action('mep_event_date_default_theme',$event_id); ?>
</div> </div>
<?php } <?php }
if ($hide_share_details == 'no') { ?> if ($hide_share_details == 'no') { ?>
<div class="mep-default-sidrbar-social"> <div class="mep-default-sidrbar-social">
<?php do_action('mep_event_social_share'); ?> <?php do_action('mep_event_social_share', $event_id); ?>
</div> </div>
<?php } <?php }
if ($hide_calendar_details == 'no') { ?> if ($hide_calendar_details == 'no') { ?>
<div class="mep-default-sidrbar-calender-btn"> <div class="mep-default-sidrbar-calender-btn">
<?php do_action('mep_event_add_calender',get_the_id()); ?> <?php do_action('mep_event_add_calender',$event_id); ?>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>

View File

@ -3,7 +3,7 @@
* Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce * Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce
* Plugin URI: http://mage-people.com * Plugin URI: http://mage-people.com
* Description: A Complete Event Solution for WordPress by MagePeople.. * Description: A Complete Event Solution for WordPress by MagePeople..
* Version: 3.9.7 * Version: 3.9.8
* Author: MagePeople Team * Author: MagePeople Team
* Author URI: http://www.mage-people.com/ * Author URI: http://www.mage-people.com/
* Text Domain: mage-eventpress * Text Domain: mage-eventpress