Hannah

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: How to get WooTickets to show in main blog loop #1001118
    Hannah
    Participant

    Alrighty then, thanks for the link solution, works like a peach.

    Hannah

    in reply to: How to get WooTickets to show in main blog loop #1000890
    Hannah
    Participant

    How tricky are we talking? Linking through to the ticketing page is a workable solution, but if getting the tickets on the homepage is possible I wouldn’t mind having a whack at it.

    Thanks for all your help insofar.

    in reply to: How to get WooTickets to show in main blog loop #1000775
    Hannah
    Participant

    Hey Geoff,

    I tried putting to code in the loop’s template file but it still doesn’t show up. I just stuck it after the main content (see below), did I do it wrong? Or can it not tell that the post was an event post. The page still functions so I don’t think I broke anything.

    	<div class="entry-content">
    		<?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
    			the_post_thumbnail();} 
    		?>
    		<?php
    			the_content( sprintf(
    				/* translators: %s: Name of current post. */
    				wp_kses( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'piggyback' ), array( 'span' => array( 'class' => array() ) ) ),
    				the_title( '<span class="screen-reader-text">"', '"</span>', false )
    			) );
    		?>
    		<?php if ( tribe_is_event && tribe_events_has_tickets ) {
    			echo tribe_get_ticket_form();
    		} ?>
    	</div><!-- .entry-content -->
Viewing 3 posts - 1 through 3 (of 3 total)