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: */ | |
/* In Avada the ticket quantity selector is not responsive */ | |
/* This little snippet aims to fix that */ | |
/* Paste the below lines into your child theme's style.css file */ | |
/* Plugins: The Events Calendar, Event Tickets, Event Tickets Plus */ | |
/* Author: Andras Guseo */ | |
/* Last updated: 2017-05-09 */ | |
.tribe-events-style-full .woocommerce .quantity input { |
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 | |
/* Snippet for The Events Calendar by Modern Tribe | |
* Excludes the event description filed from the search | |
* Paste the below snippet into your active (child) theme's functions.php file | |
* | |
* Plugins: The Events Calendar | |
* Author: Barry Hughes | |
* Last updated: 2017-05-11 | |
*/ |
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 tribe_custom_theme_text_with_context ( $translation, $text, $context, $domain ) { | |
// Put your custom text here in a key => value pair | |
// Example: 'Text you want to change' => 'This is what it will be changed to' | |
// The text you want to change is the key, and it is case-sensitive | |
// The text you want to change it to is the value | |
// You can freely add or remove key => values, but make sure to separate them with a comma | |
// This example changes the label "Venue" to "Location", and "Related Events" to "Similar Events" |
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
class Tribe__Events__Remove__Export__Links { | |
public function __construct() { | |
add_action( 'init', array( $this, 'single_event_links' ) ); | |
add_action( 'init', array( $this, 'view_links' ) ); | |
} | |
public function single_event_links() { | |
remove_action( | |
'tribe_events_single_event_after_the_content', |
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 | |
/** | |
* Month Single Event - template override | |
* This file contains one event in the month view | |
* | |
* This file should be at [your-theme]/tribe-events/month/single-event.php | |
* | |
* @package TribeEventsCalendar | |
* | |
*/ |
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 | |
/* | |
* Change the style of the modal popup to make it readable on low res screens | |
* Paste the below snippet into your theme's functions.php file | |
* | |
* Plugins: The Events Calendar, Event Tickets | |
* Author: Andras Guseo | |
* Last updated: June 21, 2017 | |
*/ |
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 | |
/* | |
* Creates a filter for the venue ZIP code for Filter Bar | |
* Paste the below snippet into your theme's functions.php file | |
* | |
* Plugins: The Events Calendar, The Events Calendar: Filter Bar | |
* Author: Andras Guseo | |
* Last updated: June 26, 2017 | |
* | |
* Guide for creating custom filters: |
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 | |
/* Tribe, adding user meta to the attendees csv export | |
* Plugins: The Events Calendar, Event Tickets | |
* Last updated: July 14, 2017 | |
*/ | |
function tribe_export_custom_set_up ( $event_id ) { | |
//Add Handler for Community Tickets to Prevent Notices in Exports | |
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 | |
/* The below function will change the url of "All Events" and | |
* links that point back to the starting page of The Events Calendar | |
* (by default http://domain.com/events | |
* | |
* Plugins: The Events Calendar | |
* Author: Barry Hughes | |
* Last Updated: July 17, 2017 | |
*/ | |
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 | |
/* | |
* Shows the event for the first day and remove it from the rest in a multi-day event. | |
* Limited to month view only | |
* | |
* Plugins: The Events Calendar | |
* Author: Barry Hughes, Andras Guseo | |
* Last modified: July 18, 2017 | |
*/ |