Jeroen Schmit
Forum Replies Created
-
Forum: Plugins
In reply to: [Theater for WordPress] Show past events on archive page automaticallyYes. You can do this with the [wpt_events] shortcode.
For a yearly archive, I’d use a date range per year, for example:
[wpt_events start="2024-01" end="2025-01" order="desc"]That will list the events from 2024, and order=”desc” will sort them newest first.
For the current year, you can use now as the end date so past events appear automatically as soon as they have taken place:
[wpt_events start="2026-01" end="now" order="desc"]So the pattern would be:
- Past years: start=”YYYY-01″ end=”YYYY+1-01″ order=”desc”
- Current year: start=”YYYY-01″ end=”now” order=”desc”
That should cover both the historical archive and the running year without needing a different shortcode for each past event.
Forum: Plugins
In reply to: [Theater for WordPress] Support for Regal Cinema ShowtimesThen the only way to automatically show all showtimes of this location on a website is to integrate with the Fandango API. If you can help me to get access to it (you need to be a paying customer), then I can add support for Fandango to the Jeero plugin. Please contact me at [email protected] if you would like to examine this further.
Forum: Plugins
In reply to: [Theater for WordPress] Support for Regal Cinema ShowtimesIs Regal a ticketing solution? Or is it the name of the franchise?
Forum: Plugins
In reply to: [Theater for WordPress] Support for Regal Cinema ShowtimesYes, the plugin is perfect for cinemas with multiple showtimes per movie.
You can also check the Jeero plugin if you need to import the showtimes from their ticketing solution:
Hi Karsten,
You are right, this feature is absolutely missing right now.
My preferred way of handling this is through one of the many filters that are in place. For example: https://github.com/slimndap/wp-theatre/blob/master/functions/wpt_listing.php#L284
You can use is to inspect the value of $html and then return your fallback message if there are no events.
Untested code:
add_filter( 'wpt_listing_html', function( $html, $args ) {
if ( !empty( $html ) ) {
return $html;
}
return '<p>My fallback message</p>';
} );Forum: Plugins
In reply to: [Theater for WordPress] Data not updatingHi Ale,
Can you check if this fixed the issue:
https://ww.wp.xz.cn/support/topic/calendar-widget-showing-wrong-month/#post-9542139
Forum: Plugins
In reply to: [Theater for WordPress] Plugin throws page 404Hi Roland,
Just to be sure: your new pages (so not events) are showing a 404 error?
Can you give me an example of a URL of a page that gives a 404 error.
Can you also give me an example of a URL of an event on the website?
Jeroen
Forum: Plugins
In reply to: [Jeero] PatronBase does not connect with wordpressIs still issue still relevant? If so, then I would like to investigate further.
Forum: Plugins
In reply to: [Theater for WordPress] Choose seats option?Hi!
I’d be looking to have something similar to that website, where the user can choose their seat in a visual representation of the theatre.
Is this possible with your plugin? It’s the main thing my client wants.
No, it doesn’t. You need to use a 3rd party ticketing solution for this. Eg. Ticketmaster or Veezi. You can use the Jeero plugin to integrate the Theater for WordPress with most ticketing solutions. For a full list of supported ticketing solutions see: https://ww.wp.xz.cn/plugins/jeero/
Forum: Plugins
In reply to: [Theater for WordPress] Can’t create eventsHi!
To determine the actual cause of the error you would have to look up the accompanying error message in the PHP error log on your server. Is this possible?
If not then I would have to have a look at the server myself. Please contact me at [email protected] for this.
Forum: Plugins
In reply to: [Theater for WordPress] Tickets urlHi!
So you would like the title to link directly to the tickets page, and not to the event detail page on your website?
In this case I would use Jeero to create a new custom field during the import, eg.
title_with_tickets_url.The template for this field would be
<p><a href="{{tickets_url}}">{{title}}</a></p>.Then change the shortcode to this:
[wpt_productions limit="5"]{{title_with_tickets_url}}{{dates}}[/wpt_productions]Jeroen
Forum: Plugins
In reply to: [The Events Calendar] tribe_create_event() unable to save startdateYes, that also works.
But obviously this only works for events that have a start time. Currently, it is impossible to programmatically create an event that only has a start date.
Forum: Plugins
In reply to: [The Events Calendar] tribe_create_event() unable to save startdateThank you.
For the time being, I found a workaround:
$args = array( 'post_title' => 'My event', 'EventStartDate' => '2022-10-20', 'EventEndDate' => '2022-10-20', 'EventStartHour' => 19, 'EventStartMinute' => 15, 'EventEndHour' => 20, 'EventEndMinute' => 15, ); tribe_create_event( $args );Forum: Plugins
In reply to: [The Events Calendar] tribe_create_event() unable to save startdateI tested this with the latest version of The Events Calendar (6.0.1.1).
Forum: Plugins
In reply to: [Theater for WordPress] Showing Summary for ActiveTickets