Forum Replies Created
-
AuthorPosts
-
George
ParticipantNow, while everything I wrote above is true, and you will have to take the reins on these questions/issues, I wanted to at least try and offer some general advice. 🙂
First, you linked to the tribe_get_events() guide, but your code shows that you’re not using tribe_get_events(). You’re using WP_Query.
If you want to use tribe_get_events(), then just use tribe_get_events() — no need to try and work with WP_Query.
Next, some of your code is a bit complicated and doesn’t need to be. Take this block of code of yours, for example:
$args = array(
‘post_status’=>’publish’,
‘post_type’=> ‘tribe_events’,
‘posts_per_page’=>20,
);
$get_posts = null;
$get_posts = new WP_Query();
$get_posts->query($args);
You could just rewrite that as this:
$get_posts = new WP_Query( array(
‘post_status’ => ’publish’,
‘post_type’ => ‘tribe_events’,
‘posts_per_page’ => 20,
));
Thirdly here is a quick example of just using tribe_get_events() directly, which might work better for you. Try this:
$tribe_events = tribe_get_events( array(
'eventDisplay' => 'custom',
'post_status' => 'publish',
'posts_per_page' => 20
) );if ( ! empty( $tribe_events ) ) {
foreach ( $tribe_events as $event ) {
// This will display all of the available event data.
print_r( $event );// Echo the title of the event, for example.
echo $event->post_title;
}
}
I hope this helps!
GeorgeGeorge
ParticipantHi there,
We are unfortunately not able to provide any assistance with coding, or with modifying the appearance or behavior of our plugins.
You’ll have to take the reins on writing your queries, implementing them, troubleshooting them, etc. Hopefully our guides like the tribe_get_events() guide help but these are just meant as starting places.
⚠️ Please read more about these policies here before responding: https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/
— George
George
ParticipantHey Vasile,
The Events Calendar doesn’t exist for WordPress.com, so you will not have any “Events” on your wordpress.com site — if you want to take actual “Posts” on your WordPress.com site and convert those to “Events”, our plugins do not do this automatically.
However, you may be able to get started by using the WordPress import/export tools. We document the process here: https://theeventscalendar.com/knowledgebase/using-wordpress-export-tools-to-migrate-events-content/
For further assistance with moving that data, it’s worth contacting the WordPress.com support folks about different options for exporting the data from that site.
Please let me know if this helps and if there are any other issues or questions I can try to help with!
— George
George
ParticipantHey @cityofcharleston,
Thanks for reaching out. What you’re trying to do is possible, but would unfortunately require much custom coding to implement.
So to implement something like this, you would have to write that custom code yourself or hire a professional developer to do it for you. We have a list of great developers here → http://m.tri.be/18k1 (and have no affiliation with any of these folks—they’re simply some well-respected names in the community that we’ve compiled to share in situations like this one).
As a bit of general information that might help you get started, the Tribe Events API class in The Events Calendar may help here — it provides some functions that help with some basic CRUD operations for events, venues, and organizers.
You can read this API class to see all of its available methods by heading to this file within The Events Calendar:
the-events-calendar/src/Tribe/API.phpI hope this information helps! Please let me know if there are any other issues or questions I can try to help with.
— George
March 8, 2017 at 1:13 pm in reply to: I need to add multiple dates and locations to an event. How do I do that? #1251333George
ParticipantHey Kelly,
[ecs-list-events] is not a shortcode we make, so we are unfortunately not able to provide support for it. Please contact the makers of that shortcode for assistance with why it’s not working.
Next you say this:
Bigger question, I would like to have a means to pull in all events of the same name or slug and have a button that shows them in a drop down list. Is this available on Events calendar?
There is no way to do this out-of-the-box with our plugins. To implement these things, you would have to write extensive custom code yourself or hire a professional developer to do it for you. We have a list of great developers here → http://m.tri.be/18k1 (and have no affiliation with any of these folks—they’re simply some well-respected names in the community that we’ve compiled to share in situations like this one).
Sorry to disappoint here! Please let me know if there are any other issues or questions I can try to help with.
— George
George
ParticipantHi George,
You do not need Events Calendar Pro to use Event Tickets Plus 🙂 You just need The Events Calendar and Event Tickets, and WooCommerce — all of which are free.
Cheers,
GeorgeGeorge
ParticipantHi Stanley,
I wanted to let you know that our developers have been able to identify some behaviors in our code that might be causing this. I am really, really sorry for the pace of this investigation — as noted above, it’s a weird one and we’ve had to rope in some of our senior developers to look at this (whose schedules are quite packed, which is another factor adding to the amount of time this is taking).
Stay tuned — this issue is not forgotten!
GeorgeMarch 8, 2017 at 10:12 am in reply to: I need to add multiple dates and locations to an event. How do I do that? #1251215George
ParticipantHi Kelly,
I asked three specific questions in my reply above. What are your three answers to those three questions?
— George
George
ParticipantThis reply is private.
George
ParticipantThis reply is private.
George
ParticipantHey Chris,
Thanks for reaching out.
You can use two free plugins for this. First, use The Events Calendar for adding the events to a calendar on your site.
Then, us Event Tickets to add free RSVPs to these events—these RSVPs will let users reserve seats at the events.
If you ever need to start charging fees for the tickets, then you’ll want to add WooCommerce (which is free) and Event Tickets Plus to your site, then you can start having paid tickets on your site instead of just free RSVPs.
I hope this information helps! 😀
— George
George
ParticipantThis reply is private.
George
ParticipantThanks Jon, I am working on the two subsequent issues you mentioned here and should have a more substantive response for you soon.
Stay tuned!
GeorgeMarch 7, 2017 at 9:13 pm in reply to: Single Page Event Not Rendering Properly On Optimizepress 2.0 Page #1250867George
ParticipantI am really sorry to hear that you’re in this situation, David — a sort of “ping-pong” between support teams! 🙁
The simple fact is this, which is worth sharing with the OP team:
• There is no such issue with our plugins in default themes that adhere to WordPress Coding Standards, like Twenty Seventeen, Twenty Twelve, or any theme one might find on wordpress.org
• And so the issues are specific to and seem to be inherently caused by OptimizePress.
With this fact about the OptimizePress theme being the culprit in mind, the OptimizePress team is in the best position to investigate—and hopefully resolve—these issues.
Please let me know if this information helps you proceed at all.
Sincerely,
GeorgeGeorge
ParticipantHi Jennifer,
I totally get your frustrations here and am sorry about these issues. Since we cannot recreate any of the issues your describe, the only way we could actually help resolve these problems is to start with the steps Cliff listed in the other thread.
If you cannot do those steps, and want a refund instead, then you can seek a refund by using the form here ? https://theeventscalendar.com/knowledgebase/refund-policy/
Please let me know if there are any other issues or questions I can try to help with.
— George
-
AuthorPosts
