Forum Replies Created
Viewing 5 posts - 1 through 5 (of 5 total)
-
AuthorPosts
-
Honey Shelton
Participantthere’s a way to insert custom javascript so I was thinking maybe a slice.
var eventstart = document.getElementById("slide-7308-layer-4"); eventstart.innerHTML.slice(0,-4);I realize it’s beyond the scope of your support though. I’ll continue playing with it.
Honey Shelton
ParticipantThanks I will investigate that route!
Honey Shelton
ParticipantAutoptimize plugin caused the conflict.
Honey Shelton
ParticipantYes, that will definitely help but my php knowledge is limited to editing some woocommerce account page files to make them look differently. Do I add this to WP’s functions.php or to one of The Event Calendar .php files?
Can I add this to a php file in our child theme that would get loaded in addition to the core files?This is what I think I need to add.
add_action( 'pre_get_posts', 'full_ical_export' ); function full_ical_export( WP_Query $query ) { if ( ! isset( $_GET['ical'] ) || ! isset( $_GET['full-export'] ) ) return; if ( ! isset( $query->tribe_is_event_query ) || ! $query->tribe_is_event_query ) return; $query->set( 'eventDisplay', 'custom' ); $query->set( 'start_date', 'now′ ); $query->set( 'end_date', '3000-01-01′ ); $query->set( 'posts_per_page', '-1′ ); }Honey Shelton
ParticipantThis solution worked!
Thanks -
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
