Forum Replies Created
-
AuthorPosts
-
MIKEParticipant
Omg, I really should pay better attention. Thanks guys!
MIKEParticipantWell, for being outside the scope, you guys nailed it! The empty string did the trick and now I have a solution for putting the ticket form anywhere I want. Thanks guys for all the help and have a great week!
MIKEParticipantBrilliant! Almost there. The form is displaying, but with an error. Here’s my function:
function include_tickets($atts){ Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance()->front_end_tickets_form(); } add_shortcode( 'tickets', 'include_tickets' );
Returns the follow error message above the ticket form. The ticket form works perfectly.
Missing argument 1 for Tribe__Tickets_Plus__Commerce__WooCommerce__Main::front_end_tickets_form() in my functions.php on line ### defined in /home/adgeahos/public_html/events/wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php on line 937
MIKEParticipantYes, that I’m familiar with. If there’s any chance of inserting the form somewhere in the_content(), that’s really what I’m after.
MIKEParticipantNever mind, after reading the solution posts over a couple more times it finally dawned on me that I had to manually update 4.0.5. All good. Thanks!
September 24, 2015 at 7:57 am in reply to: Functions aren't changing labels or words in the List Widget #1008319MIKEParticipantThanks George! While you’re at it, let them know it exists in the event calendar as well in src/Tribe/Admin/Organizer_Chooser_Meta_Box.php, line 142
/** * Renders the "Add Another Organizer" button * * @return void */ protected function render_add_organizer_button() { printf( '<tfoot><tr><td colspan="2"><a class="tribe-add-organizer" href="#">%s</a></td></tr></tfoot>', __( 'Add another organizer', 'the-events-calendar' ) ); }
Keep up the good work!
September 23, 2015 at 9:49 am in reply to: Functions aren't changing labels or words in the List Widget #1007916MIKEParticipantOh, here’s why.
In pro/widgets/modules/single-event.php it’s hard coded:<?php if ( isset( $organizer ) && $organizer && tribe_get_organizer() != '' ): ?> <span class="tribe-organizer"> <?php esc_html_e( 'Organizer:', 'tribe-events-calendar-pro' ); ?> <?php echo tribe_get_organizer_link(); ?> </span> <?php endif ?>
[sad face]
September 23, 2015 at 8:49 am in reply to: Functions aren't changing labels or words in the List Widget #1007895MIKEParticipantOk, now I’ve edited it to
https://gist.github.com/anonymous/ab396513824b1f9b8b33
and it’s still not changing.
September 22, 2015 at 6:48 pm in reply to: Functions aren't changing labels or words in the List Widget #1007689September 21, 2015 at 6:16 pm in reply to: Functions aren't changing labels or words in the List Widget #1007320MIKEParticipantThis reply is private.
September 21, 2015 at 9:20 am in reply to: Javascript error when no featured image is set on hover preview #1007085MIKEParticipantI’ve since made the corrections to the featured images. This site had been copied to a new directory, which is probably why the post still thought it had a featured image, but the references to that image were gone. Not an issue now, more of an alert for you guys that the value of imageTooltipSrc can be null in obscure situations and that will cause the tooltip to not show. I know from reading other posts that people had issues with this and the fix was different. Thanks guys!
September 19, 2015 at 11:33 am in reply to: Javascript error when no featured image is set on hover preview #1006802MIKEParticipantActually, perhaps now that I’m editing my events, it seems that the Featured Image is set, but to an image that no longer exists. Either the attachment meta is gone, or the image is gone. Maybe both, but the event meta still retains the association. Hope that helps further.
MIKEParticipantBrilliant! Thanks!
-
AuthorPosts