View single-event.php
<?php
/**
* Modified single event template.
*
* This deviates from the default template by capturing the previous and next
* event link HTML and re-using it, preventing the same queries from running
* twice unnecessarily.
*
* @version 4.6.3
*/
View wpseo-tec-mobile-view-compat.php
<?php
/**
* Temporary workaround to try and ensure the default mobile
* view is respected and that switching between views is possible
* when TEC is running alongside WP SEO.
*
* Tested with:
*
* - The Events Calendar 4.6.6
* - WordPress SEO 5.8
View temp-fix-ecp-embedded-photo-view-avada.php
<?php
/**
* Temporary fix for an Isotope conflict between Events Calendar PRO
* and Avada, when the [tribe_events] shortcode is used to embed
* photo view.
*
* Tested with Events Calendar PRO 4.4.19
* and Avada 5.3.0.
*/
add_action( 'tribe_events_pro_tribe_events_shortcode_prepare_photo', function() {
View genesis.remove-footer-text.php
View genesis.override-footer-copyright-msg.php
View force-merge-button.tec.4.6.3.php
<?php
/**
* Force the merge duplicate venue/organizer button to appear.
*
* Written for TEC 4.6.3, may or may not work with other versions.
*
* @param mixed $value
* @param mixed $default
* @param string $key
*
View ea-event-timezone-modifier.php
<?php
class Imported_Events_Timezone_Modifier {
protected $source;
protected $target_timezone;
public function __construct( $source, $target_timezone ) {
$this->source = $source;
$this->target_timezone = $target_timezone;
}
View drop-db-tables.wp.php
<?php
/**
* Drop a bunch of tables.
*
* Update the prefix in the foreach definition then run via WP-CLI,
* ie "wp eval-file ../path/to/this-script.php".
*/
global $wpdb;
foreach ( $wpdb->get_col( "SHOW TABLES LIKE 'customer_db_%'" ) as $table ) {
View taxonomy.php
<?php
// Don't load directly
defined( 'WPINC' ) or die;
$selected_terms = array();
$taxonomy_obj = get_taxonomy( $taxonomy );
$ajax_args = array(
'taxonomy' => $taxonomy,
);
View tickets.php
<?php
/**
* Override for the standard EDD tickets form. Please create this at:
*
* [your-theme]/tribe-events/eddtickets/tickets.php
*
* @var bool $must_login
*/
global $edd_options;