{"id":2559,"date":"2015-04-17T21:15:09","date_gmt":"2015-04-17T21:15:09","guid":{"rendered":"https:\/\/docs.wpgeodirectory.com\/?p=2559"},"modified":"2017-10-03T23:21:31","modified_gmt":"2017-10-03T23:21:31","slug":"event-manager-shortcodes","status":"publish","type":"post","link":"https:\/\/wpgeodirectory.com\/docs\/event-manager-shortcodes\/","title":{"rendered":"Event Manager Shortcodes"},"content":{"rendered":"<h4>On this page:<\/h4>\n<p><a href=\"#listings\">Event Listings<\/a> &#8211; <a href=\"#calendar\">Event Calendar<\/a> &#8211; <a href=\"#related\">Related Events<\/a><\/p>\n<h3><a id=\"listings\"><\/a>Event Listings<\/h3>\n<h4>Shortcode:\u00a0<span style=\"color: #ff0000;\">[gd_event_listing]<\/span><\/h4>\n<p>Parameters:<\/p>\n<ul>\n<li><strong>category<\/strong> &#8211; ID number of the category to show (default = 0 for all)<\/li>\n<li><strong>post_number<\/strong> &#8211; Number of posts to show (default = 5)<\/li>\n<li><strong>layout<\/strong> &#8211; Number of columns to show (default = 2)<\/li>\n<li><strong>add_location_filter<\/strong> &#8211; True or False (default = false)<\/li>\n<li><strong>listing_width<\/strong> &#8211; A percent between 20 and 100 (default = \u2018\u2019)<\/li>\n<li><strong>list_sort<\/strong> &#8211; One of az, upcoming,\u00a0latest, featured, high_review, high_rating, random (default = latest)<\/li>\n<li><strong>list_filter<\/strong> &#8211; One of all, today, upcoming, past (default = all)<\/li>\n<li><strong>character_count<\/strong> &#8211; Number of characters to show from the Excerpt (Min\/default = 20)<\/li>\n<li><strong>title<\/strong> &#8211; title<\/li>\n<\/ul>\n<p>This example shows a widget with 5 listings in a row of 5 (5 grid), showing upcoming events ordered by earliest first, and the widget will have a tile <em><strong>Featured Events<\/strong><\/em>:<\/p>\n<p><code>[gd_event_listing layout=5 post_number=5 list_sort=upcoming list_filter=upcoming title=\u201dFeatured Events\u201d]<\/code><\/p>\n<h3><a id=\"calendar\"><\/a>Event Calendar<\/h3>\n<h4>Shortcode: <span style=\"color: #ff0000;\">[gd_event_calendar]<\/span><\/h4>\n<h5>Parameters:<\/h5>\n<ul>\n<li><strong>title<\/strong> &#8211; title<\/li>\n<\/ul>\n<ul>\n<li><strong>day<\/strong> &#8211; One of sunday or monday<\/li>\n<\/ul>\n<h3><a id=\"related\"><\/a>Related Events<\/h3>\n<h4>Shortcode:\u00a0<span style=\"color: #ff0000;\">[gd_related_events]<\/span><\/h4>\n<p>Parameters:<\/p>\n<ul>\n<li>post_number &#8211; Number of posts to show (default = 5)<\/li>\n<\/ul>\n<ul>\n<li>layout &#8211; Number of columns to show (default = 2)<\/li>\n<li>event_type &#8211; One of all, today, upcoming, past (default = all)<\/li>\n<li>add_location_filter &#8211; True or False (default = false)<\/li>\n<li>listing_width &#8211; A percent between 20 and 100 (default = \u2018\u2019)<\/li>\n<li>list_sort &#8211; One of az, latest, featured, high_review, high_rating, random (default = latest)<\/li>\n<li>character_count &#8211; Number of characters to show from the Excerpt (Min\/default = 20)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>On this page: Event Listings &#8211; Event Calendar &#8211; Related Events Event Listings Shortcode:\u00a0[gd_event_listing] Parameters: category &#8211; ID number of the category to show (default = 0 for all) post_number &#8211; Number of posts to show (default = 5) layout &#8211; Number of columns to show (default = 2) add_location_filter &#8211; True or False (default &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/wpgeodirectory.com\/docs\/event-manager-shortcodes\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Event Manager Shortcodes&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1670,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[33],"tags":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/2559"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/users\/1670"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/comments?post=2559"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/2559\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/media?parent=2559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/categories?post=2559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/tags?post=2559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}