This file contains hidden or 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 | |
| /* | |
| * ----------------------------------------------------------------------------- | |
| * Advanced Custom Fields Modifications | |
| * ----------------------------------------------------------------------------- | |
| */ | |
| function PREFIX_apply_acf_modifications() { | |
| ?> | |
| <style> | 
  
    
      This file contains hidden or 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 | |
| /** | |
| * Events Calendar PRO: Remove Post Tags from the related posts logic and, | |
| * therefore, only use Event Categories. | |
| * | |
| * @see tribe_get_related_posts() | |
| * | |
| * @link https://gist.github.com/cliffordp/6a66affeab8ac57d7ceea942f8c417ff | |
| * | 
  
    
      This file contains hidden or 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 Events Calendar: Remove the Organizers post type from Events. | |
| * | |
| * Replace instances of ORGANIZER_POST_TYPE with VENUE_POST_TYPE if you | |
| * want to do so for Venues instead. | |
| * | |
| * @link https://theeventscalendar.com/knowledgebase/linked-post-types/ | |
| * @link https://gist.github.com/a521d02facbc64ce3891c9341384cc07 | 
  
    
      This file contains hidden or 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
    
  
  
    
  | .acf-fc-popup .preview { | |
| position: absolute; | |
| right: 100%; | |
| margin-right: 0px; | |
| top: 0; | |
| background: #383c44; | |
| min-height: 100%; | |
| border-radius: 5px; | |
| align-content: center; | |
| display: grid; | 
  
    
      This file contains hidden or 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 Events Calendar: Turn the "All Events" link into a true "Back" button. | |
| * | |
| * Generally not advisable but provided at customer's request: | |
| * https://theeventscalendar.com/support/forums/topic/upcoming-events-8/ | |
| * | |
| * @link https://gist.github.com/cliffordp/60b5acf003fa68ad7803313d662c08e7 | |
| * @link https://css-tricks.com/snippets/javascript/go-back-button/ | |
| * @link https://api.jquery.com/replacewith/ | 
  
    
      This file contains hidden or 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 Events Calendar: Redirect all site searches to be Tribe Bar Keyword searches. | |
| * | |
| * Should only be used if you want only Event posts to appear in general search | |
| * queries. Again, Posts, Pages, and custom post types allowed to appear in | |
| * search results will no longer be included--ONLY Events will appear. | |
| * Example redirect: | |
| * From: http://example.dev/?s=Weekly+Screening | |
| * To: http://example.dev/events/?tribe-bar-search=Weekly%20Screening | 
  
    
      This file contains hidden or 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 Events Calendar - Filter Bar: Redirect all Post Tags to their Event view. | |
| * | |
| * Does not work if Filter Bar is not active. Should only be used if you use | |
| * Post Tags *solely* for Events and not for Posts. Example redirect: | |
| * From: http://example.dev/tag/around-the-house/ | |
| * To: http://example.dev/events/?tribe_tags[]=53 | |
| * | 
  
    
      This file contains hidden or 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 | |
| /** | |
| * Filter Bar plugin | |
| * Always show open filters in mobile views | |
| * Author: Barry Hughes | |
| */ | |
| add_action( 'wp_footer', function() { | |
| if ( | |
| ! class_exists( 'Tribe__Events__Filterbar__View' ) | 
  
    
      This file contains hidden or 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 hck_filter_taxonomy_archives( $query_args, $sfid ) { | |
| if( $sfid == 509 ) { | |
| $query_args['post_type'] = 'articles'; | |
| } | |
| return $query_args; | |
| } | 
  
    
      This file contains hidden or 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 Events Calendar - Get the next upcoming Featured Event | |
| * | |
| * Notes: | |
| * 1) Ignores all-day events. | |
| * 2) For the date comparison, this code assumes each event is in | |
| * the same timezone as your WordPress General Settings timezone. | |
| * |