{"id":892350,"date":"2014-11-20T10:29:10","date_gmt":"2014-11-20T18:29:10","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/"},"modified":"2014-11-24T07:09:48","modified_gmt":"2014-11-24T15:09:48","slug":"integrating-events-calender-rss-with-main-rss-ordering-by-publish-date","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/","title":{"rendered":"Integrating Events Calender RSS with Main RSS &amp; Ordering by Publish Date ?"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I am having an issue with integrating the Events Calendar Pro feed with my site&#8217;s main feed. I was able to follow the instructions on integrating the feed here:<br \/>\nhttps:\/\/theeventscalendar.com\/how-to-add-events-to-your-rss-feed\/<\/p>\n<p>I would like the events to show in my feed by the actual WordPress publish date not the actual event date (Events Calendar seems to use the event date as the WordPress publish date or something like that).<\/p>\n<p>I searched the forum and found someone with the same issue. <\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"U9UDfPfH52\"><p><a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-events-in-rss-feed-ordered-by-date-posted\/\">Display events in RSS feed ordered by date posted<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Display events in RSS feed ordered by date posted&#8221; &#8212; \" src=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-events-in-rss-feed-ordered-by-date-posted\/embed\/#?secret=2zESUaFgo4#?secret=U9UDfPfH52\" data-secret=\"U9UDfPfH52\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>I followed the instructions and used the following code in my themes functions.php file<\/p>\n<p>&#8212;<\/p>\n<p>\/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*\/<br \/>\n\/* Add Events to RSS Feed<br \/>\n\/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*\/<br \/>\nfunction add_events_to_rss_feed( $args ) {<br \/>\n  if ( isset( $args[&#8216;feed&#8217;] ) &amp;&amp; !isset( $args[&#8216;post_type&#8217;] ) )<br \/>\n    $args[&#8216;post_type&#8217;] = array(&#8216;post&#8217;, &#8216;tribe_events&#8217;);<br \/>\n  return $args;<br \/>\n}<br \/>\nadd_filter( &#8216;request&#8217;, &#8216;add_events_to_rss_feed&#8217; );<br \/>\n\/*<br \/>\n*\tThe Events Calender Remove PudDate Filter in RSS that changes to Event Start Date<br \/>\n*\t@3.8<br \/>\n*\/<br \/>\nadd_action( &#8216;pre_get_posts&#8217;, &#8216;remove_events_pubdate_filter&#8217;, 60 );<br \/>\nfunction remove_events_pubdate_filter() {<br \/>\n\tif ( is_feed() ) {<br \/>\n\t\tremove_filter( &#8216;get_post_time&#8217;, array( &#8216;TribeEventsTemplates&#8217;, &#8216;event_date_to_pubDate&#8217; ), 10);<br \/>\n\t}<br \/>\n}<\/p>\n<p>&#8212;<\/p>\n<p>The strange thing is in Feedly the feed turns out the way I want it to ordered by the actual WordPress Publish date not the actual event date.<\/p>\n<p>But when I look at my feed (it&#8217;s set up as feedburner feed) the RSS feed is ordered by the event date not the wordpress publish date.<\/p>\n<p>I have made sure to resync my feedburner feed without any success.<\/p>\n<p>Any ideas what is happening and if this can be fixed?<\/p>\n<p>Thank you<br \/>\nEric<\/p>\n","protected":false},"template":"","class_list":["post-892350","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Integrating Events Calender RSS with Main RSS &amp; Ordering by Publish Date ? -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Integrating Events Calender RSS with Main RSS &amp; Ordering by Publish Date ? -\" \/>\n<meta property=\"og:description\" content=\"Hello, I am having an issue with integrating the Events Calendar Pro feed with my site&#8217;s main feed. I was able to follow the instructions on integrating the feed here: https:\/\/theeventscalendar.com\/how-to-add-events-to-your-rss-feed\/ I would like the events to show in my feed by the actual WordPress publish date not the actual event date (Events Calendar seems [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-11-24T15:09:48+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/\",\"name\":\"Integrating Events Calender RSS with Main RSS &amp; Ordering by Publish Date ? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-11-20T18:29:10+00:00\",\"dateModified\":\"2014-11-24T15:09:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Integrating Events Calender RSS with Main RSS &amp; Ordering by Publish Date ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Integrating Events Calender RSS with Main RSS &amp; Ordering by Publish Date ? -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/","og_locale":"en_US","og_type":"article","og_title":"Integrating Events Calender RSS with Main RSS &amp; Ordering by Publish Date ? -","og_description":"Hello, I am having an issue with integrating the Events Calendar Pro feed with my site&#8217;s main feed. I was able to follow the instructions on integrating the feed here: https:\/\/theeventscalendar.com\/how-to-add-events-to-your-rss-feed\/ I would like the events to show in my feed by the actual WordPress publish date not the actual event date (Events Calendar seems [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/","article_modified_time":"2014-11-24T15:09:48+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/","name":"Integrating Events Calender RSS with Main RSS &amp; Ordering by Publish Date ? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-11-20T18:29:10+00:00","dateModified":"2014-11-24T15:09:48+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/integrating-events-calender-rss-with-main-rss-ordering-by-publish-date\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Integrating Events Calender RSS with Main RSS &amp; Ordering by Publish Date ?"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/892350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/892350\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=892350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}