{"id":272,"date":"2018-09-13T07:58:10","date_gmt":"2018-09-13T07:58:10","guid":{"rendered":"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/events\/"},"modified":"2020-04-07T02:58:54","modified_gmt":"2020-04-07T02:58:54","slug":"events","status":"publish","type":"docs","link":"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/events\/","title":{"rendered":"Events"},"content":{"rendered":"<p><span class='bookmark-index'><br \/>\n<a href=\"#intro\">Introduction<\/a><br \/>\n<a href=\"#install\">Installation<\/a><br \/>\n<a href=\"#settings\">Settings<\/a><br \/>\n<a href=\"#cpt-events\">CPT Events<\/a><br \/>\n<a href=\"#design\">Design<\/a><br \/>\n<a href=\"#support\">Support<\/a><br \/>\n<\/span><\/p>\n<h3><a name=\"intro\" href=\"#intro\">Introduction<\/a><\/h3>\n<p>Allow your site users to create events with start and end dates. With the Events addon and Custom Post Types addon together any new Custom Post Type can be turned into an event. Get the <a href=\"https:\/\/wpgeodirectory.com\/downloads\/events\/\" rel=\"noopener noreferrer\" target=\"_blank\">Events add-on for GeoDirectory<\/a> and get started.<\/p>\n<p>See more here: <a href=\"https:\/\/wpgeodirectory.com\/downloads\/events\/\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/wpgeodirectory.com\/downloads\/events\/<\/a><\/p>\n<h3><a name=\"install\" href=\"#install\">Installation<\/a><\/h3>\n<h4><a name=\"prep\" href=\"#prep\">Preparation<\/a><\/h4>\n<p>Check to be sure you have the following plugins installed before you get started.<\/p>\n<ul>\n<li><a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/status\/\" rel=\"noopener noreferrer\" target=\"_blank\">GeoDirectory V2<\/a><\/li>\n<\/ul>\n<h4><a name=\"install\" href=\"#install\">Installation<\/a><\/h4>\n<ol>\n<li><a href=\"https:\/\/wpgeodirectory.com\/your-account\/\" rel=\"noopener noreferrer\" target=\"_blank\">Download the Addon from your account<\/a>.<\/li>\n<li><a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/installing-addons\/\" rel=\"noopener noreferrer\" target=\"_blank\">Install the Addon<\/a>.<\/li>\n<\/ol>\n<h3><a name=\"settings\" href=\"#settings\">Settings<\/a><\/h3>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/08\/GDV2-Settings-Menu.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/08\/GDV2-Settings-Menu.png\" alt=\"\" width=\"140\" height=\"143\" class=\"alignnone size-full wp-image-194\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Settings.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Settings.png\" alt=\"\" width=\"686\" height=\"737\" class=\"alignnone size-full wp-image-275\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Settings.png 686w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Settings-279x300.png 279w\" sizes=\"(max-width: 686px) 100vw, 686px\" \/><\/a><\/p>\n<p>Time <\/p>\n<h3><a name=\"cpt-events\" href=\"#cpt-events\">Custom Post Types Events<\/a><\/h3>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-CPT-Integration.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-CPT-Integration.png\" alt=\"\" width=\"694\" height=\"75\" class=\"alignnone size-full wp-image-276\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-CPT-Integration.png 694w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-CPT-Integration-300x32.png 300w\" sizes=\"(max-width: 694px) 100vw, 694px\" \/><\/a><\/p>\n<h3><a name=\"custom-fields\" href=\"#custom-fields\">Custom Fields<\/a><\/h3>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Custom-Fields-Events.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Custom-Fields-Events.png\" alt=\"\" width=\"614\" height=\"79\" class=\"alignnone size-full wp-image-284\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Custom-Fields-Events.png 614w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Custom-Fields-Events-300x39.png 300w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-RecurringEvent-Field.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-RecurringEvent-Field.png\" alt=\"\" width=\"607\" height=\"841\" class=\"alignnone size-full wp-image-282\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-RecurringEvent-Field.png 607w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-RecurringEvent-Field-217x300.png 217w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2Event-Dates-Field.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2Event-Dates-Field.png\" alt=\"\" width=\"611\" height=\"836\" class=\"alignnone size-full wp-image-283\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2Event-Dates-Field.png 611w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2Event-Dates-Field-219x300.png 219w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><\/a><\/p>\n<h3><a name=\"sorting\" href=\"#sorting\">Sorting<\/a><\/h3>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Sorting.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Sorting.png\" alt=\"\" width=\"615\" height=\"301\" class=\"alignnone size-full wp-image-281\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Sorting.png 615w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Sorting-300x147.png 300w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/a><\/p>\n<p>Events v2 it is now possible to set sorting by &#8220;Event Date Ascending&#8221; &amp; &#8220;Event Date Descending&#8221;.<\/p>\n<p>So it can be achieved to sort nearest past events with selecting event type to &#8220;Past Events&#8221; &amp; event date sorting to &#8220;Descending&#8221;.<\/p>\n<p>Once Event Dates has been added to the sorting options, a new set of sorting options will appear on Archive pages using the gd_loop_actions element with several types of specific event sorts.<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/event-sort.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/event-sort.jpg\" alt=\"\" width=\"178\" height=\"271\" class=\"alignnone size-full wp-image-897\" \/><\/a><\/p>\n<h3><a name=\"tabs\" href=\"#tabs\">Tabs<\/a><\/h3>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-Events2-TabsFIelds.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-Events2-TabsFIelds.png\" alt=\"\" width=\"656\" height=\"160\" class=\"alignnone size-full wp-image-279\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-Events2-TabsFIelds.png 656w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-Events2-TabsFIelds-300x73.png 300w\" sizes=\"(max-width: 656px) 100vw, 656px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Tab-Output.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Tab-Output.png\" alt=\"\" width=\"436\" height=\"162\" class=\"alignnone size-full wp-image-278\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Tab-Output.png 436w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Tab-Output-300x111.png 300w\" sizes=\"(max-width: 436px) 100vw, 436px\" \/><\/a><\/p>\n<h3><a name=\"search\" href=\"#search\">Search<\/a><\/h3>\n<p>The search tab will, by default, be configured with search by Add Date. You will want to change this by<\/p>\n<p>Removing Add Date<br \/>\nClicking on Event Dates<br \/>\nAdjust options to add to search bar if desired<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Search.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Search.png\" alt=\"\" width=\"613\" height=\"313\" class=\"alignnone size-full wp-image-280\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Search.png 613w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Search-300x153.png 300w\" sizes=\"(max-width: 613px) 100vw, 613px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Search-Bar.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Search-Bar.png\" alt=\"\" width=\"593\" height=\"84\" class=\"alignnone size-full wp-image-277\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Search-Bar.png 593w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Search-Bar-300x42.png 300w\" sizes=\"(max-width: 593px) 100vw, 593px\" \/><\/a><\/p>\n<h3><a name=\"design\" href=\"#design\">Design<\/a><\/h3>\n<h4><a href=\"#gd_events_calendar\" name=\"gd_events_calendar\"> GD > Events Calendar<\/a><\/h4>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Widget-Events-Calendar-Settings.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Widget-Events-Calendar-Settings.png\" alt=\"\" width=\"330\" height=\"456\" class=\"alignnone size-full wp-image-286\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Widget-Events-Calendar-Settings.png 330w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Widget-Events-Calendar-Settings-217x300.png 217w\" sizes=\"(max-width: 330px) 100vw, 330px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Widget-Events-Calendar-Display.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Widget-Events-Calendar-Display.png\" alt=\"\" width=\"296\" height=\"334\" class=\"alignnone size-full wp-image-285\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Widget-Events-Calendar-Display.png 296w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Widget-Events-Calendar-Display-266x300.png 266w\" sizes=\"(max-width: 296px) 100vw, 296px\" \/><\/a><\/p>\n<p><a name=\"geodir_event_calendar\" href=\"#geodir_event_calendar\">geodir_event_calendar<\/a> :<\/p>\n<pre><code>[geodir_event_calendar title=\"GD Events Calendar\" post_type=\"gd_event\" week_start_day=\"1\" week_day_format=\"0\"]<\/code><\/pre>\n<p>Shortcode builder options:<br \/>\n<a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Shortcode-Events-Calendar.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Shortcode-Events-Calendar.png\" alt=\"\" width=\"420\" height=\"469\" class=\"alignnone size-full wp-image-287\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Shortcode-Events-Calendar.png 420w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-EventsV2-Shortcode-Events-Calendar-269x300.png 269w\" sizes=\"(max-width: 420px) 100vw, 420px\" \/><\/a><\/p>\n<h4><a href=\"#gd_output_location\" name=\"gd_output_location\">GD > Output Location<\/a><\/h4>\n<p>Show your event information in Listings on the Archive page and in the Details page sidebar with GD Output Location<\/p>\n<ul>\n<li>Edit the archive item template<\/li>\n<li>Make sure there is a GD Output Location element -> Listing or Details Page Sidebar<\/li>\n<li>Visit <strong>Events CPT -> Custom Fields -> Event Date -> Show in what locations -> Listings<\/strong><\/li>\n<li>Save both and view your CPT Archive for the results<\/li>\n<\/ul>\n<h4><a href=\"#gd_linked_posts\" name=\"gd_linked_posts\">GD > Linked Posts<\/a><\/h4>\n<p>The Custom Post Types addon allows you to design custom templates for each post type.<\/p>\n<p>The following shortcodes can be used to display data in templates:<\/p>\n<pre><code>[gd_post_meta key=\"recurring\"]\r\n[gd_post_meta key=\"event_dates\"]<\/code><\/pre>\n<p>To add events to the Location page you can start with this GD Listings shortcode. If you want to personalize it, use a block for GD Listings and adjust the values. Be sure to check the advanced options. To add this shortcode, edit the location page and add an HTML block and paste the shortcode into the block.<\/p>\n<pre><code>[gd_listings title=\"Places\" post_type=\"gd_event\" event_type=\"upcoming\" single_event=\"1\" sort_by=\"event_dates_asc\" title_tag=\"h3\" layout=\"gridview_onefifth\" post_limit=\"200\" add_location_filter=\"1\" view_all_link=\"1\" with_pagination=\"1\"]<\/code><\/pre>\n<h4><a href=\"#gd_listings\" name=\"gd_listings\">GD > Listings<\/a><\/h4>\n<p>GD Listings is the most powerful element for querying and displaying listings, and it has special options for listings that are also events.<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-gd-listings.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-gd-listings.jpg\" alt=\"\" width=\"1519\" height=\"1021\" class=\"alignnone size-full wp-image-693\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-gd-listings.jpg 1519w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-gd-listings-300x202.jpg 300w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-gd-listings-768x516.jpg 768w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-gd-listings-1024x688.jpg 1024w\" sizes=\"(max-width: 1519px) 100vw, 1519px\" \/><\/a><\/p>\n<h4><a href=\"#show-events\" id=\"show-events\">GD Listings to Show Events in a Timeframe<\/a><\/h4>\n<blockquote class=\"gd-faq\">\n<p>GD Listings for event CPTS gives you some choices about displaying events. You can show events just for tomorrow, just today, or just the weekend, for example.<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-tom.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-tom.jpg\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-1017\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-tom.jpg 770w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-tom-256x300.jpg 256w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-tom-768x902.jpg 768w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-show.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-show.jpg\" alt=\"\" width=\"450\" class=\"alignnone size-full wp-image-1018\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-show.jpg 434w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/events-show-263x300.jpg 263w\" sizes=\"(max-width: 434px) 100vw, 434px\" \/><\/a><\/p>\n<\/blockquote>\n<h4><a href=\"#link-to-search-results\" name=\"link-to-search-results\">Link to Events by Month<\/a><\/h4>\n<p>Requires Advanced Search addon<\/p>\n<p>You can link to any events period by linking to the search results for the events period. So, to do that, do a search for the events period, grab the URL, and make a link where your visitors can find it.<\/p>\n<p><strong>Step by Step<\/strong><\/p>\n<ol>\n<li>Add event dates to your search bar &#8211; Visit the Advanced search tab for the events CPT and add event dates. Set the options to include start and end dates.<\/li>\n<li>Do a search &#8211; Visit one of your site pages with a search bar and make a search. For example, start date May 1, end date May 31. Click search.<\/li>\n<li>Copy the URL &#8211; When the search results return, copy the URL from your browser bar. <\/li>\n<li>Make a link (as a menu item) &#8211; Add a new menu item. Choose &#8220;Custom Link&#8221; and paste in the URL, then titls the link as &#8220;May Events&#8221;.<\/li>\n<li>Save the menu and test &#8211; Save the menu, then visit your site and find the item. Click to verify you got it right.<\/li>\n<\/ol>\n<h3><a href=\"#customizing\" name=\"customizing\">Customizing<\/a><\/h3>\n<p>For more information about using code snippets please see our doc about <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/faq\/customizing\/\">customizing<\/a>.<\/p>\n<h4><a href=\"#gd_linked_posts-upcoming-only\" id=\"gd_linked_posts-upcoming-only\">Make GD Linked Posts show Only Upcoming Events<\/a><\/h4>\n<blockquote class=\"gd-faq\">\n<p>This requires a snippet that can be found here:<\/p>\n<p><a href=\"https:\/\/wpgeodirectory.com\/support\/topic\/show-all-events-of-a-location-on-location-site\/#post-466575\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/wpgeodirectory.com\/support\/topic\/show-all-events-of-a-location-on-location-site\/#post-466575<\/a><\/p>\n<\/blockquote>\n<h4>Event Search results by soonest<\/h4>\n<blockquote class=\"gd-faq\">\n<p> See the <a href=\"https:\/\/wpgeodirectory.com\/support\/topic\/upcoming-events-recurring-listings-showing-last-recurring-event-not-latest\/\" rel=\"noopener noreferrer\" target=\"_blank\">original topic<\/a><\/p>\n<\/blockquote>\n<h4><a href=\"#custom-input-format\" id=\"custom-input-format\">Custom Input Format<\/a><\/h4>\n<blockquote class=\"gd-faq\">\n<p>GeoDirectory events provides several input formatts to choose from. If you need to add another it can be done with a customization with a filter:<\/p>\n<pre><code>geodir_event_input_date_formats<\/code><\/pre>\n<p>Example:<\/p>\n<pre><code class='php'>\r\nfunction gd_snippet_event_input_date_formats( $formats ) {\r\n    \/\/ $formats[] = 'Y-m-d'\r\n    return $formats;\r\n}\r\nadd_filter( 'geodir_event_input_date_formats', 'gd_snippet_event_input_date_formats', 10, 1 );\r\n<\/code><\/pre>\n<\/blockquote>\n<h4><a href=\"#recurring\" id=\"recurring\">Recurring date display<\/a><\/h4>\n<blockquote class=\"gd-faq\">\n<p>Alter the display of recurring dates with CSS or a PHP snippet.<\/p>\n<p>Hi Jorge,<\/p>\n<p>We have already task in todo to enhance displaying event schedules. It will in future as we have important tasks with higher priority.<\/p>\n<pre><code class='css'>\r\n\/*GDV2 Events &#8211; Add scroll bar to limit height of recurring dates*\/\r\n.geodir-company_info .geodir-field-event_dates .geodir-schedules {\r\n    max-height: 192px;\r\n    overflow-x: hidden;\r\n    overflow-y: auto;\r\n}\r\n<\/code><\/pre>\n<p>Use a PHP Snippet to show only the current and upcoming recurrences.<\/p>\n<pre><code class='php'>\r\n#sidebar .geodir-field-event_dates .geodir-schedules .geodir-schedule {\r\n    display: none;\r\n}\r\n#sidebar .geodir-field-event_dates .geodir-schedules .geodir-schedule:first-child,\r\n#sidebar .geodir-field-event_dates .geodir-schedules .geodir-schedule.geodir-schedule-current {\r\n    display: block;\r\n}\r\n<\/code><\/pre>\n<\/blockquote>\n<h3><a name=\"support\" href=\"#support\">Get Support<\/a><\/h3>\n<p>Get support on our forum, fnd out more here: <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/v2\/support\/\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/wpgeodirectory.com\/docs-v2\/v2\/support\/<\/a><\/p>\n<h4><a href=\"#increment\" name=\"increment\">Set event time interval<\/a><\/h4>\n<blockquote class=\"gd-faq\"><p>\nBy default event time is set in 15 minute increments. Use the snippet below to set the increment to your needs.<\/p>\n<pre><code class='php'>\r\n\/**\r\n * Set event fields time interval.\r\n *\/\r\nfunction gd_snippet_190307_event_time_increment( $interval ) {\r\n\t$interval = 30; \/\/ In minutes\r\n\t\r\n\treturn $interval;\r\n}\r\nadd_filter( 'geodir_event_time_increment', 'gd_snippet_190307_event_time_increment', 10, 1 );\r\n<\/code><\/pre>\n<\/blockquote>\n<h4><a href=\"#gd_categories\" name=\"gd_categories\">GD Categories with Events<\/a><\/h4>\n<blockquote class=\"gd-faq\"><p>\nBy default the CPT listing page will show only listings that pass the default events filter. For example, if the filter is set to upcoming, then only upcoming events will be shown.<\/p>\n<p>GD Categories does not use the events filter and will show all events.\n<\/p><\/blockquote>\n<h4><a href=\"#urls\" name=\"urls\">URL Event Filters<\/a><\/h4>\n<blockquote class=\"gd-faq\">\n<p>In some cases you may want to provide a link to all, past, or only upcoming events. The following can be added to any event CPT URL to filter the listings, including category or category+location URLs.<br \/>\nThe examples are for a CPT with the URL slug \/events\/ <\/p>\n<pre><code>\r\nevents\/?etype=all\r\nevents\/?etype=upcoming\r\nevents\/?etype=past\r\n<\/code><\/pre>\n<\/blockquote>\n","protected":false},"featured_media":0,"parent":167,"menu_order":8,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/272"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/272\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/167"}],"next":[{"title":"Franchise Manager","link":"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/franchise\/","href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/655"}],"prev":[{"title":"Custom Post Types","link":"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/custom-post-types\/","href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/189"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/doc_tag?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}