There are many variables at play when events are created. This is a list of content pieces that Tribe Events can output by default:
- Title
- Content
- Featured Image
- Event Category
- Tags
| # Local development services. | |
| # | |
| # To activate this feature, follow the instructions at the top of the | |
| # 'example.settings.local.php' file, which sits next to this file. | |
| parameters: | |
| http.response.debug_cacheability_headers: true | |
| twig.config: | |
| debug: true | |
| auto_reload: true | |
| cache: false |
| <?php | |
| /** | |
| * SAVE FILE TO: | |
| * `[PROJECT_BASE]/web/sites/default` | |
| * | |
| */ | |
| /** | |
| * Enable local development services. |
| body.is-locked { | |
| height: 100%; | |
| overflow: hidden; | |
| } | |
| .modal { | |
| display: none; | |
| } | |
| .modal--is-open { |
| <?php | |
| /** | |
| * Auto Gen Project Agency Taxonomy when an agency is created | |
| * @link https://gist.githubusercontent.com/brenna/7377802/raw/a5092e5b4bd2a094a6534d73e9f2f81f26783744/wp-autopopulate-taxonomy | |
| * | |
| */ | |
| function FS__Update_Project_Agency_Terms($post_id) { | |
| // Only update terms if it's the post type we want |
| <?php | |
| namespace Apollo\Extend\TribeEvents; | |
| // Functions to extend the Events Calendar plugin | |
| // https://theeventscalendar.com/ | |
| // Note: it's a rag tag bunch of functions, use are your own risk. | |
| /** |
| <?php | |
| /** | |
| * Custom Gravity Forms Spinner | |
| * | |
| * @since 1.0.0 | |
| */ | |
| add_filter( 'gform_ajax_spinner_url', 'spinner_url', 10, 2 ); | |
| function spinner_url( $image_src, $form ) { |
| <?php | |
| // Add ACF Options Menu | |
| if ( function_exists("acf_add_options_page") ) { | |
| acf_add_options_page(); | |
| } | |
| if ( function_exists("register_options_page") ) { | |
| register_options_page( 'Global Options' ); | |
| register_options_page( 'Page Options' ); | |
| } |
| // Move Yoast to bottom | |
| function yoasttobottom() { | |
| return 'low'; | |
| } | |
| add_filter( 'wpseo_metabox_prio', 'yoasttobottom'); |
| /** | |
| * Allow past events to be queried in ACF Post Object | |
| * Add 'custom' to query as per tribe_get_events(); | |
| * | |
| * @link https://theeventscalendar.com/knowledgebase/using-tribe_get_events/ | |
| */ | |
| function my_relationship_query( $args, $field, $post ) { | |
| $args['eventDisplay'] = 'custom'; |