Forum Replies Created
-
AuthorPosts
-
November 30, 2017 at 5:27 am in reply to: Broken quantity picker & how to hide no. places available #1395660barn2mediaParticipant
This reply is private.
barn2mediaParticipantHi Hunter, thanks for the link to https://theeventscalendar.com/knowledgebase/wordpress-post-meta-data/ – that’s exactly what I was looking for in the first place and I didn’t need to be messing around in the database!
Thanks very much
barn2mediaParticipantHi Hunter, thanks for your reply.
I can’t see any information about organizers, venues etc. in wp_posts or details of phone, start or end time in wp_postmeta. A screenshot of an event in wp_posts is attached so you can see that it’s not there.
I have found the other fields in wp_postmeta such as start date, but not these ones.
Many thanks
barn2mediaParticipantThanks very much, that gives me the names of the ones in postmeta. Where can I find the names of other pieces of data – i.e.:
– Start time
– End time
– Venue name (and all the venue-related fields e.g. Address)
– Organizer name (and all the venue-related fields e.g. Address)
– Phone
– Ticket priceMany thanks
barn2mediaParticipantThanks for the update.
Annoyingly, my client paid us to develop their website shortly before
Events Tickets Plus was released and there’s no budget to replace the
plugin. How much work is involved in migrating to Events Tickets Plus –
does this happen automatically?I look forward to hearing from you about the license keys.
barn2mediaParticipantThat worked, thank you very much
barn2mediaParticipantThis reply is private.
barn2mediaParticipantHi, thanks for your reply.
I added the code to style.css in my child theme and ‘EVENTS LIST NAVIGATION’ is still appearing on https://drclaudiawelch.com/events/.
Thanks
Katie
barn2mediaParticipantHi Nico, thanks for your reply. The plugins are not network activated one on of my multisites as they are only used on 1 site. They are network activated on the other site as they are used on both sub-sites. My updates person is only happy to do automatic updates and won’t do manual updates.
Many thanks
Katiebarn2mediaParticipantHello,
Thanks for your reply. On further diagnosis I’ve found out that this issue is happening when the following code is added to the function file of the theme. This snippet was provided by tribe as a way to disable past events from showing on the front end.
This is needed on our website but it seems to be breaking the Start and End date display:
add_filter(‘tribe_events_pre_get_posts’, ‘filter_tribe_all_occurences’, 100);
function filter_tribe_all_occurences ($wp_query) {
if ( !is_admin() ) {
$new_meta = array();
$today = new DateTime();
// Join with existing meta_query
if(is_array($wp_query->meta_query))
$new_meta = $wp_query->meta_query;
// Add new meta_query, select events ending from now forward
$new_meta[] = array(
‘key’ => ‘_EventEndDate’,
‘type’ => ‘DATETIME’,
‘compare’ => ‘>=’,
‘value’ => $today->format(‘Y-m-d H:i:s’)
);
$wp_query->set( ‘meta_query’, $new_meta );
}
return $wp_query;
}barn2mediaParticipantThis reply is private.
barn2mediaParticipantThis reply is private.
barn2mediaParticipantHi Barry,
Excellent and thanks very much, this is now sorted and I’ve removed the “s_” from the class.
Regards,
Stevenbarn2mediaParticipantHi Barry,
Ah I see, the widget is being registered with a before_widget parameter but it wasn’t making use of the default ID and classes. So I think this is why the calendar ID and classes were not being automatically applied.
I updated the register widget function and the correct calendar ID and classes are being called now but the same problem still remains.
These changes can be seen on the site, do you know of any other possible cause for this. It’s difficult to track without any console errors.
Many thanks,
Stevenbarn2mediaParticipantHi Bary,
Sorry, you should be able to use the password in in the previous post now. I think the holding page was being temperamental as the password was reset but it’s been put back now.
Regards,
Steven -
AuthorPosts