Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
HannahParticipant
Alrighty then, thanks for the link solution, works like a peach.
Hannah
HannahParticipantHow 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.
HannahParticipantHey 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">→</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 -->
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)