Home › Forums › Calendar Products › Events Calendar PRO › events feed showing past events
- This topic has 14 replies, 4 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
October 1, 2013 at 4:43 am #68507
creativebridge
ParticipantHi 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
October 1, 2013 at 5:38 pm #68691Kelly
ParticipantHi, 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!
October 2, 2013 at 1:09 am #68730creativebridge
ParticipantHi 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?
October 2, 2013 at 8:37 am #68782Kelly
ParticipantHi, 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.
October 14, 2013 at 8:13 am #70870creativebridge
ParticipantHi 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/October 14, 2013 at 8:13 am #70871creativebridge
ParticipantAny ideas on how to display upcoming events please?
October 14, 2013 at 8:55 am #70875Chris
ParticipantHi there,
WordPress automatically shows all events in the feed.
Unfortunately, there’s no way to filter how WordPress shows those events in the feed.October 14, 2013 at 9:02 am #70876creativebridge
ParticipantHi
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?October 14, 2013 at 9:28 am #70877Chris
ParticipantIts 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
October 16, 2013 at 3:52 am #71228creativebridge
ParticipantHi 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
October 16, 2013 at 8:42 am #71273Chris
ParticipantYou 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
October 17, 2013 at 3:06 am #71456creativebridge
ParticipantThanks 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 dateThanks
October 21, 2013 at 8:51 am #71973Chris
ParticipantHi 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,
-ChrisOctober 31, 2013 at 5:07 am #73965Chris
ParticipantHi 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
July 7, 2015 at 6:29 am #981701Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘events feed showing past events’ is closed to new replies.
