{"id":3253,"date":"2018-08-23T08:36:56","date_gmt":"2018-08-23T08:36:56","guid":{"rendered":"https:\/\/docs.contentviewspro.com\/?p=3253"},"modified":"2023-12-27T09:42:19","modified_gmt":"2023-12-27T09:42:19","password":"","slug":"show-recurring-events-events-manager-plugin","status":"publish","type":"docs","link":"https:\/\/contentviewspro.com\/documentation\/article\/show-recurring-events-events-manager-plugin\/","title":{"rendered":"Show recurring events of Events Manager plugin"},"content":{"rendered":"<p>The Events Manager plugin considers normal events and recurring events are 2 different post types.<br \/>\nContent Views Pro can help you to show events of the Events Manager plugin easily (<a href=\"https:\/\/contentviewspro.com\/documentation\/article\/show-events-events-manager-plugin\/\" rel=\"noopener noreferrer\" target=\"_blank\">read more<\/a>).<br \/>\nThe recurring events are not publicly queryable by default. So you won&#8217;t see the &#8220;Recurring Events&#8221; as an option of the &#8220;Content Type&#8221; setting when creating a View. <\/p>\n<p>To make recurring events publicly queryable, please add this code to file <strong>functions.php<\/strong> in the theme&#8217;s folder (or install this plugin <a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\" rel=\"nofollow\">Code Snippets<\/a> then add this code to <a href=\"https:\/\/ps.w.org\/code-snippets\/assets\/screenshot-2.png\" rel=\"nofollow\">the &#8220;Code&#8221; textarea<\/a>):<\/p>\n<pre style=\"font-size:13px\">\nadd_filter( 'em_cp_event_recurring_public', '__return_true' );\nadd_filter( 'em_cp_event_recurring_publicly_queryable', '__return_true' );\n<\/pre>\n<p>Then in a View, you can select &#8220;Recurring Events&#8221; as option of &#8220;Content Type&#8221; to show recurring events.<\/p>\n<p>Best regards,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Events Manager plugin considers normal events and recurring events are 2 different post types. Content Views Pro can help you to show events of the Events Manager plugin easily (read more). The recurring events are not publicly queryable by default. So you won&#8217;t see the &#8220;Recurring Events&#8221; as an option of the &#8220;Content Type&#8221; &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/contentviewspro.com\/documentation\/article\/show-recurring-events-events-manager-plugin\/\"> <span class=\"screen-reader-text\">Show recurring events of Events Manager plugin<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"doc_category":[51],"doc_tag":[21],"class_list":["post-3253","docs","type-docs","status-publish","hentry","doc_category-event-plugins","doc_tag-custom-code"],"year_month":"2026-09","word_count":132,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin1","author_nicename":"admin1","author_url":"https:\/\/contentviewspro.com\/documentation\/author\/admin1\/"},"doc_category_info":[{"term_name":"Event Plugins","term_url":"https:\/\/contentviewspro.com\/documentation\/cats\/event-plugins\/"}],"doc_tag_info":[{"term_name":"custom PHP code","term_url":"https:\/\/contentviewspro.com\/documentation\/tags\/custom-code\/"}],"_links":{"self":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/3253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/comments?post=3253"}],"version-history":[{"count":1,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/3253\/revisions"}],"predecessor-version":[{"id":5362,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/3253\/revisions\/5362"}],"wp:attachment":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/media?parent=3253"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=3253"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=3253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}