Forum Replies Created
-
AuthorPosts
-
September 3, 2018 at 9:25 am in reply to: Complete event ticket and Events Calendar failure! #1612315Sarah Lewis-HammondParticipant
Ignore this. Turns out that during the last update the ‘When should attendee records be generated?’ and ‘When should tickets be emailed to customers?’ were unchecked ?
March 19, 2018 at 12:40 pm in reply to: Event Calendar Pro and WooCommerce Subscriptions conflict – ETA on fix? #1483314Sarah Lewis-HammondParticipantHi Jennifer. Just to confirm this is still failing my subs. Thanks.
March 16, 2018 at 7:14 am in reply to: Event Calendar Pro and WooCommerce Subscriptions conflict – ETA on fix? #1481151Sarah Lewis-HammondParticipantThanks. I’ve updated and will have to wait a couple of days to see if the problem continues.
Sarah Lewis-HammondParticipantOh fixed it myself. I’ve added the following into single-event.php, which includes day date month, time on a separate line, and a book now button
<div class="tribe-events-schedule tribe-clearfix"> <h2><?php echo tribe_get_start_date ( null, false, 'l j F' ) ?></h2> <h2><?php echo tribe_get_start_time(); ?> - <?php echo tribe_get_end_time(); ?></h2> <?php if ( tribe_get_cost() ) : ?> <h2><span class="tribe-events-cost"><?php echo tribe_get_cost( null, true ) ?></span></h2> <?php endif; ?> <div class="button photo-view-button"><a class="tribe-event-url" href="<?php echo esc_url( tribe_get_event_link() ); echo "?tickets_process=#buy-tickets" ?>" title="<?php the_title() ?>" rel="bookmark">book now</a></div> </div>
Sarah Lewis-HammondParticipantThanks for your reply. I did a healthy dose of, uh, code borrowing from Milkwood and general fiddling and I’ve made it work pretty well. If anyone else is interested, here’s the css I used
.tribe_events_filter_item.closed div { display: inherit !important; } .tribe-events-filters-horizontal .tribe-events-filter-group { max-width: 100%; width: 100%; background: none; border: none; -webkit-box-shadow: none; box-shadow: none; position: relative; } .tribe-events-filters-label, #tribe_events_filter_control { display:none !important; } div#tribe_events_filter_item_city { width: 73%; display: block; float: left; } #tribe_events_filters_wrapper ul li { display: inline; float: left; width: 170px; background: none; }
Sarah Lewis-HammondParticipantOk, nailed it.
The book now button on list view actually just links to the booking button on the single event, so I’ve added this and it works poifekly.
<div class="button"><a class="tribe-event-url" href="<?php echo esc_url( tribe_get_event_link() ); echo "?tickets_process=#buy-tickets" ?>" title="<?php the_title() ?>" rel="bookmark">book now</a></div>
Sarah Lewis-HammondParticipantHiya
Thanks for your reply.
I tried 1 but there doesn’t seem to be an equivalent of tribe_is_list_view for photo view.
And I’ve added this code from list view but it doesn’t nothing:
<?php if ( tribe_get_cost() ) : ?> <div class="tribe-events-event-cost"> <span class="ticket-cost"><?php echo tribe_get_cost( null, true ); ?></span> <?php /** * Runs after cost is displayed in list style views * * @since 4.5 */ do_action( 'tribe_events_inside_cost' ) ?> </div> <?php endif; ?>
-
AuthorPosts