Home › Forums › Ticket Products › Event Tickets Plus › Is it possible to move Who's Attending
- This topic has 7 replies, 2 voices, and was last updated 10 years ago by
George.
-
AuthorPosts
-
May 11, 2016 at 7:06 am #1113160
Dan Feeley
ParticipantIs there a way to move the “Who’s Attending?” section on the single event page to below the content?
May 11, 2016 at 12:31 pm #1113377George
ParticipantHey @Danfeeley,
Thanks for reaching out!
Just to be totally clear so I can best help out here, when you say “below the content”, do you mean right below the content as in above the tickets purchasing form? Or is your ticketing section as a whole currently above the content?
Thanks,
GeorgeMay 11, 2016 at 1:17 pm #1113425Dan Feeley
ParticipantAh yes, good catch. Our ticket section is currently above the content.
So I would like to move this between the content and event details.May 12, 2016 at 9:41 am #1113864George
ParticipantThanks for clarifying!
Sorry to pose another question here, but can you share a link to where this is visible on your site? I’m just curious to take a look to see how it’s rendering.
By default, the tickets render below content. So I’m curious:
1. Do you happen to know why they’re above the content? Have you made any code customizations to make this happen?
2. If you do nothing else on your site but activate a default theme like Twenty Twelve, where does the ticketing content show up?
Thank you!
GeorgeMay 12, 2016 at 11:43 am #1113973Dan Feeley
ParticipantThis reply is private.
May 16, 2016 at 8:54 am #1114965George
ParticipantThank you for your patience with the delayed response over the weekend!
In addition to the code from that knowledgebase article, I would recommend adding code like this to your theme’s functions.php file:
add_action( 'init', 'tribe_relocate_attendees_list' );function tribe_relocate_attendees_list() {
$attendees_list = Tribe__Tickets_Plus__Attendees_List::instance();
remove_action( 'tribe_events_single_event_after_the_meta', array( $attendees_list, 'render' ), 4 );
add_action( 'tribe_events_single_event_before_the_meta', array( $attendees_list, 'render' ), 4 );
}I tinkered a bit and it’s this code that finally let me achieve what you describe:
So I would like to move this between the content and event details.
Try it out and let me know if it helps!
— George
May 16, 2016 at 12:54 pm #1115097Dan Feeley
ParticipantNo problem George, thank you very much.
That worked perfectly.May 17, 2016 at 8:23 am #1115362George
Participant😀
-
AuthorPosts
- The topic ‘Is it possible to move Who's Attending’ is closed to new replies.
