This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* PDF Pass: Body - Ticket Info - Attendee Fields | |
* | |
* Place this template in your own theme by creating a file at: | |
* wp-content/themes/[your-theme]/tribe/tickets-plus/integrations/event-tickets-wallet-plus/pdf/pass/body/ticket-info/attendee-fields.php | |
* | |
* See more documentation about our views templating system. | |
* | |
* @link https://evnt.is/event-tickets-wallet-plus-tpl Help article for Wallet Plus template files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* View: Month View - Calendar Events | |
* | |
* This is an override for the following template: | |
* wp-content/plugins/the-events-calendar/src/views/v2/month/calendar-body/day/calendar-events.php | |
* | |
* Override this template in your own theme by creating a file at: | |
* wp-content/themes/[your-theme]/tribe/events/v2/month/calendar-body/day/calendar-events.php | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Description: Generate a UID for the event and add it to the iCal feed. | |
* Usage: Paste the below snippet into your active (child) theme's functions.php file | |
* or use a plugin like Code Snippets. | |
* | |
* Plugins: The Events Calendar | |
* Author: Andras Guseo | |
* Last updated: 2024-07-22 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'tribe_events_views_v2_rest_params', 'tec_redirect_search_to_list_view', 10, 2 ); | |
function tec_redirect_search_to_list_view( $params, $request ) { | |
$ref = $_SERVER['HTTP_REFERER']; | |
// Are you coming from the list view? | |
$coming_from_list = str_contains( $ref, '/list/' ); | |
if ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Description: Adds the event status column to the events admin and makes it sortable. | |
* Usage: Paste the below snippet into your active (child) theme's functions.php file | |
* or use a plugin like Code Snippets. | |
* | |
* Plugins: The Events Calendar | |
* Author: Andras Guseo, Masood Ahmed Khan, Guga Alvez | |
* Last updated: 2024-06-28 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/** | |
* Description: Inject the Eventbrite Tickets iFrame into the post content. | |
* Workaround for Elementor Pro. | |
* Usage: Paste the below snippet into your active (child) theme's functions.php file | |
* or use a plugin like Code Snippets. | |
* Important: For the ticket iframe to show the event either needs to be publicly listed, or | |
* the iframe needs to be forced with this snippet: | |
* add_filter( 'tribe_events_eventbrite_iframe_display', '__return_true' ); | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function tec_custom_filter_values_order( $values, $field ) { | |
// Bail if it's not the right field | |
if ( $field !== '_ecp_custom_2' ) { | |
return $values; | |
} | |
$order = ["New", "Beginner", "Experienced"]; | |
usort( $values, function( $a, $b ) use ( $order ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Description: Exclude QR codes from selected tickets. | |
* Usage: Paste the below snippet into your active (child) theme's functions.php file | |
* or use a plugin like Code Snippets. | |
* | |
* Plugin: Event Tickets, Event Tickets Plus | |
* Author: Andras Guseo | |
* Last updated: 2024-03-25 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Description: Add a column with attendee information to the Attendees admin page in Event Tickets | |
* Usage: Paste the below snippet into your active (child) theme's functions.php file | |
* or use a plugin like Code Snippets. | |
* | |
* Plugin: Event Tickets, Event Tickets Plus | |
* Author: Andras Guseo | |
* Last updated: 2024-04-26 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Set the default commerce provider for events | |
* | |
* Usage: Add the snippet to your functions.php file or with a plugin like Code Snippets | |
* | |
* @author: Andras Guseo | |
* | |
* Plugins required: Event Tickets Plus | |
* Created: April 10, 2024 |
NewerOlder