George

Forum Replies Created

Viewing 15 posts - 256 through 270 (of 10,499 total)
  • Author
    Posts
  • in reply to: Creating custom WP queries #1251350
    George
    Participant

    Now, 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!
    George

    in reply to: Creating custom WP queries #1251343
    George
    Participant

    Hi 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

    in reply to: from wordpress.com to wordpress.org #1251339
    George
    Participant

    Hey 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

    in reply to: Import/Populate Events From External Ticketing API #1251334
    George
    Participant

    Hey @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.php

    I hope this information helps! Please let me know if there are any other issues or questions I can try to help with.

    — George

    George
    Participant

    Hey 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

    in reply to: Plugin for giving away tickets #1251329
    George
    Participant

    Hi 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,
    George

    in reply to: Limit on events being imported? #1251223
    George
    Participant

    Hi 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!
    George

    George
    Participant

    Hi Kelly,

    I asked three specific questions in my reply above. What are your three answers to those three questions?

    — George

    in reply to: Ticket Design Error Print #1251214
    George
    Participant

    This reply is private.

    in reply to: Community Event – create event hook / add field #1251163
    George
    Participant

    This reply is private.

    in reply to: Plugin for giving away tickets #1251041
    George
    Participant

    Hey 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

    in reply to: Ticket amount not counting down after tickets sold #1250883
    George
    Participant

    This reply is private.

    in reply to: Adding Sidebar to Calendar & Single Events Pages #1250872
    George
    Participant

    Thanks Jon, I am working on the two subsequent issues you mentioned here and should have a more substantive response for you soon.

    Stay tuned!
    George

    George
    Participant

    I 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,
    George

    in reply to: When the Community Cannot Post Their Events… #1250865
    George
    Participant

    Hi 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

Viewing 15 posts - 256 through 270 (of 10,499 total)