Home › Forums › Ticket Products › Eventbrite Tickets › Moving the Eventbrite Tickets box
- This topic has 8 replies, 2 voices, and was last updated 6 years, 6 months ago by Jonathon Alsop.
-
AuthorPosts
-
September 13, 2017 at 2:44 pm #1348895Jonathon AlsopParticipant
I added the snippet per the directions and the tickets box is still showing up at the bottom of the page.
Any idea what I am doing wrong?
https://bostonwineschool.com/event/
Thank you! Jonathon
September 13, 2017 at 11:57 pm #1349008JenniferKeymasterHi Jonathan,
Thanks for reaching out!
Can you please send me a copy of the snippet you are using or a link to where you got it from? If you could share your system information with me, that would be helpful as well.
Thanks,
Jennifer
September 14, 2017 at 9:57 am #1349353Jonathon AlsopParticipantThank you! Just automatically shared system info with you.
Here is where I got this snippet: https://theeventscalendar.com/knowledgebase/moving-the-eventbrite-tickets-box/
add_action( ‘init’, ‘move_eb_ticket_form’ );
function move_eb_ticket_form() {
$display_tickets = array( tribe( ‘eventbrite.main’ ), ‘print_ticket_form’ );
remove_action( ‘tribe_events_single_event_after_the_meta’, $display_tickets, 9 );
add_action( ‘tribe_events_single_event_before_the_meta’, $display_tickets );
}I copied it into the top of the functions.php file but ticket box is still at the bottom of the page.
Thanks again! Jonathon
September 15, 2017 at 3:51 am #1349629JenniferKeymasterHi Jonathon,
Thanks for sending the link and snippet! Unfortunately your system information didn’t come through – could you try copying/pasting it into a private reply?
I did some testing, and the snippet is working on my end (see screenshot). It moves the Eventbrite ticket box above the event details box (by default it sits right below that box). If you would like it to be closer to the top (above the description), try replacing
add_action( ‘tribe_events_single_event_before_the_meta’, $display_tickets );
with
add_action( 'tribe_events_single_event_before_the_content', $display_tickets );
If that still isn’t working for you, could you please send me a screenshot/link to an event on your site with Eventbrite tickets?
Thanks,
Jennifer
September 16, 2017 at 9:33 am #1350143Jonathon AlsopParticipantThank you, FYI I also installed Eventbrite Tickets Extension: Additional Options.
When I import with The Events Calendar, the ticket box moves to the top of the page.
When I import with WP Event Aggregator, the ticket box stays at the bottom of the page.
https://bostonwineschool.com/event/ on September 20 I imported twice: top listing with Calendar and bottom listing with Aggregator.
Thanks again!
September 16, 2017 at 9:44 am #1350229Jonathon AlsopParticipantHere is my system information:
HOME URL
SITE URL
SITE LANGUAGE
English
CHARACTER SET
UTF-8
NAME
bostonwineschool
EMAIL
[email protected]
INSTALL KEYS
tribe-eventbrite = ae90################################2e08
WORDPRESS VERSION
4.8.1
PHP VERSION
5.6.31
PHP
max_execution_time = 30
memory_limit = 256M
upload_max_filesize = 4M
post_max_size = 8M
display_errors =
log_errors =
SERVER
Apache
SAPI
apache2handler
PLUGINS
Contact Form 7 version 4.9 by Takayuki Miyoshi(https://ideasilo.wordpress.com/)
Disable Comments version 1.7 by Samir Shah(http://www.rayofsolaris.net/)
FareHarbor Reservation Calendars version 3.4 by FareHarbor(https://fareharbor.com)
Google Analytics for WordPress by MonsterInsights version 6.2.3 by MonsterInsights(https://www.monsterinsights.com/)
Insert Headers and Footers version 1.4.2 by WPBeginner(http://www.wpbeginner.com/)
Shortcode Widget version 1.5.1 by Gagan Deep Singh(https://gagan0123.com)
Simple Page Sidebars version 1.2.0 by Cedaro(http://www.cedaro.com/?utm_source=wordpress-plugin&utm_medium=link&utm_content=simple-page-sidebars-author-uri&utm_campaign=plugins)
The Events Calendar: Eventbrite Tickets version 4.4.7.1 by Modern Tribe, Inc.(http://m.tri.be/27)
The Events Calendar version 4.5.12.2 by Modern Tribe, Inc.(http://m.tri.be/1x)
Eventbrite Tickets Extension: Additional Options version 1.0.0 by Modern Tribe, Inc.(http://m.tri.be/1971)
WP Event Aggregator Pro version 1.3.0 by Xylus Themes(http://xylusthemes.com)
WP Super Cache version 1.5.5 by Automattic(https://automattic.com/)
NETWORK PLUGINS
–
MU PLUGINS
–
THEME
Twenty Seventeen
MULTISITE
–
SETTINGS
schema-version = 4.5.12.2
recurring_events_are_hidden = hidden
previous_ecp_versions =
Array
(
[0] => 0
[1] => 4.5.11
[2] => 4.5.12.1
)
latest_ecp_version = 4.5.12.2
last-update-message-the-events-calendar = 4.5.12.2
earliest_date = 2017-09-20 18:30:00
earliest_date_markers =
Array
(
[0] => 8449
[1] => 8570
[2] => 8624
[3] => 8688
[4] => 8780
[5] => 8871
[6] => 8940
[7] => 8944
[8] => 8948
[9] => 8952
[10] => 9026
[11] => 9093
[12] => 9161
[13] => 9168
[14] => 9175
)
latest_date = 2017-09-20 20:30:00
latest_date_markers =
Array
(
[0] => 8449
[1] => 8570
[2] => 8624
[3] => 8688
[4] => 8780
[5] => 8871
[6] => 8940
[7] => 8944
[8] => 8948
[9] => 8952
[10] => 9026
[11] => 9093
[12] => 9161
[13] => 9168
[14] => 9175
)
donate-link =
postsPerPage = 10
liveFiltersUpdate = 1
showComments =
showEventsInMainLoop =
eventsSlug = event
singleEventSlug = event
multiDayCutoff = 00:00
defaultCurrencySymbol = $
reverseCurrencyPosition =
embedGoogleMaps = 1
embedGoogleMapsZoom = 10
debugEvents =
tribe_events_timezone_mode = event
tribe_events_timezones_show_zone =
stylesheetOption = tribe
tribeEventsTemplate = default
tribeEnableViews =
Array
(
[0] => list
[1] => month
)
viewOption = month
tribeDisableTribeBar =
monthEventAmount = 3
enable_month_view_cache = 1
dateWithYearFormat = F j, Y
dateWithoutYearFormat = F j
monthAndYearFormat = F Y
dateTimeSeparator = @
timeRangeSeparator = –
datepickerFormat = 0
tribeEventsBeforeHTML =
tribeEventsAfterHTML =
google_maps_js_api_key = AIzaSyB184FrNF5V2kZ0_cZHXEGmbJzyagWoL2Q
eventbrite-app_key = GTEWILRU32BS7YV6FH
eventbrite-client_secret = BH6MOJMR5HZDQDCKY27U3CKTASOC2FQY7GZAUGPJI2S4FARFII
eventbrite-auth_code = 7BP5K4YL2PSKOPBMXZCJ
eventbrite-token = UPXYVMYFSSQ53NIJT2QW
eventbrite-user_id = 5186280603
tribe_ext_eventbrite_opts_content_before =
tribe_ext_eventbrite_opts_content_after =
tribe_ext_eventbrite_opts_iframe_px = 500
tribe_ext_eventbrite_opts_locale = en_US
tribe_ext_eventbrite_opts_ticket_single_location = tribe_events_single_event_before_the_content
tribe_ext_eventbrite_opts_show_tickets_private_events =
tribe_aggregator_default_update_authority = overwrite
tribe_aggregator_default_csv_post_status =
tribe_aggregator_default_csv_category =
tribe_aggregator_disable =
WP TIMEZONE
Unknown or not set
WP GMT OFFSET
-4
SERVER TIMEZONE
UTC
WP DATE FORMAT
F j, Y
WP TIME FORMAT
g:i a
WEEK STARTS ON
–
COMMON LIBRARY DIR
/usr/www/users/jalsop/bws/wp-content/plugins/the-events-calendar/common/src/Tribe
COMMON LIBRARY VERSION
4.5.12September 20, 2017 at 12:47 am #1351711JenniferKeymasterHi Jonathon,
Thanks for sending the link and system info! It sounds like you’ve got it working except when importing with WP Event Aggregator? I do want to note that WP Event Aggregator is a third-party plugin, so we are limited in the amount of support that we can provide for issues related to that plugin. However, from what I can tell, this plugin creates events normally within our calendar, so they should function the same way as your other events.
I see you are using WP Super Cache…can you try clearing the cache from within the plugin and see if that makes a difference?
Thanks,
Jennifer
October 12, 2017 at 9:35 am #1362656Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Moving the Eventbrite Tickets box’ is closed to new replies.