Sarah Lewis-Hammond

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Complete event ticket and Events Calendar failure! #1612315
    Sarah Lewis-Hammond
    Participant

    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 ?

    Sarah Lewis-Hammond
    Participant

    Hi Jennifer. Just to confirm this is still failing my subs. Thanks.

    Sarah Lewis-Hammond
    Participant

    Thanks. I’ve updated and will have to wait a couple of days to see if the problem continues.

    in reply to: Add day to single event page #1355205
    Sarah Lewis-Hammond
    Participant

    Oh 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>
    in reply to: Checkbox list always open for filter bar #1354818
    Sarah Lewis-Hammond
    Participant

    Thanks 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;
    }
    in reply to: Adding a book now button to photo view #1354507
    Sarah Lewis-Hammond
    Participant

    Ok, 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>

    in reply to: Adding a book now button to photo view #1354497
    Sarah Lewis-Hammond
    Participant

    Hiya

    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; ?>
Viewing 7 posts - 1 through 7 (of 7 total)