events feed showing past events

Home Forums Calendar Products Events Calendar PRO events feed showing past events

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #68507
    creativebridge
    Participant

    Hi is there a way to show upcoming events on the feed?
    There is a title that says upcoming events but it displays the past events.

    Thanks

    #68691
    Kelly
    Participant

    Hi, creativebridge. The Events Calendar (even without PRO) provides its own RSS feed which can be found at http://your-url.com/your-events-slug/feed. The possibilities for customizing it are almost limitless. You can learn more about it and the customizing options in this tutorial.

    Hope that helps!

    #68730
    creativebridge
    Participant

    Hi Kelly

    Thanks for getting back to me, I cant see the link you have provided can you show me where I can learn more about customising the events feed to display upcoming events please?

    #68782
    Kelly
    Participant

    Hi, creativebridge. I apologize for the confusion. The address that you included above is the correct one.

    Please check out this tutorial for more info: https://theeventscalendar.com/how-to-add-events-to-your-rss-feed/

    Let me know if you have questions after checking that out.

    #70870
    creativebridge
    Participant

    Hi Kelly
    I have followed the tutorial added the script to my theme’s function file. It is still showing past events as seen here http://www.eblex.org.uk/events/feed/

    #70871
    creativebridge
    Participant

    Any ideas on how to display upcoming events please?

    #70875
    Chris
    Participant

    Hi there,
    WordPress automatically shows all events in the feed.
    Unfortunately, there’s no way to filter how WordPress shows those events in the feed.

    #70876
    creativebridge
    Participant

    Hi
    As of now, it only shows events from 30th May till 1st October.
    How come the rest of octobers events are not listed as well as the forthcoming events like November?

    #70877
    Chris
    Participant

    Its showing a couple newer events than that. You probably need to up the limit of “Syndication feeds show the most recent” from the default 10 in WordPress’s Settings->Reading panel

    #71228
    creativebridge
    Participant

    Hi Sorry to be a pain…
    I have set the syndication feed to 100 which has increased the amount of events shown. Is there a way to order the feed by event date?

    I also tried to view the events on the dashboard but they are not listed, however on the front end all the events are displayed. My dashboard says: The following plugins are out of date: Events Calendar PRO 3.0.5. All add-ons contain dependencies on The Events Calendar and will not function properly unless paired with the right version. Want to pair an older version?

    I am using events plugin pro Version 3.0.5
    wordpress 3.5.1
    Please advise?

    Thanks

    #71273
    Chris
    Participant

    You need to update pro. We’re on 3.1 now. After updating if you still have the error & have an active license key for Pro entered you need to deactivate then reactivate pro.

    Unfortunately, ordering the feed by event date requires customization of the RSS feeds. It’s going to require some PHP skills and it’s now out of bounds for what we can help with in support. You can get an idea of how to handle it here: https://theeventscalendar.com/support/forums/topic/recurring-events-rss-feed/

    -Chris

    #71456
    creativebridge
    Participant

    Thanks for your reply! Updating the plugin and re-entering my license key done the trick in displaying by events on the backend again.

    As for the rss feed I have created my own file called ‘feed-events-rss2.php’ which sits in my theme directory.

    I then put the following code in my theme’s functions.php as shown in the thread you linked me too.
    [code]
    remove_all_actions( ‘do_feed_rss2’ );
    add_action( ‘do_feed_rss2’, ‘event_feed_rss2’, 10, 1 );

    function event_feed_rss2( $for_comments ) {
    $rss_template = get_template_directory() . ‘/feed-events-rss2.php’;
    if( get_query_var( ‘post_type’ ) == ‘tribe_events’ and file_exists( $rss_template ) )
    load_template( $rss_template );
    else
    do_feed_rss2( $for_comments ); // Call default function
    }
    [/code]

    I have put in my feed-events-rss2.php where the event publish date currently is, the following:
    [code]
    echo mysql2date(‘D, d M Y H:i:s +0000’, tribe_get_start_date(‘Y-m-d H:i:s’, true), false);
    [/code]
    And now my date has disappeared altogether. Almost there I think just need to display the date

    Thanks

    #71973
    Chris
    Participant

    Hi there,
    Can you post your complete code of both the code you wrote for hte filter, and the RSS templates on a place like gist.github.com or paste.laravel.com and then link to us here.

    We normally don’t help with custom code, but if you’re willing to allow us to include a variant of your code in our plugin as a future feature, we’ll try to help you over the line.

    To do it, we’re going to need everything you have made to get the current feed on the site, like if you added anything to functions.php or the contents of any custom RSS templates (which I presume you have).

    Let us know,
    -Chris

    #73965
    Chris
    Participant

    Hi there,
    Since we haven’t heard from you in a while, I’m going to close this ticket. If you need further help, feel free to open a new ticket 🙂

    -Chris

    #981701
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘events feed showing past events’ is closed to new replies.