{"id":70320,"date":"2017-06-30T14:07:42","date_gmt":"2017-06-30T14:07:42","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/event-codes-shortcodes-that-work-with-other-event-plugins\/"},"modified":"2020-02-03T08:26:44","modified_gmt":"2020-02-03T08:26:44","slug":"event-codes","status":"publish","type":"plugin","link":"https:\/\/uk.wordpress.org\/plugins\/event-codes\/","author":15364339,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.8","stable_tag":"1.0.8","tested":"5.2.24","requires":"4.1","requires_php":"","requires_plugins":"","header_name":"Event Codes - Shortcodes that work with other event plugins","header_author":"WPdwarves","header_description":"Most events plugins don't offer short codes (free) for displaying events. Event Codes can be used with The Events Calendar & other plugins.","assets_banners_color":"c7bc71","last_updated":"2020-02-03 08:26:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wpdwarves.com\/event-codes-shortcodes-that-work-with-other-event-plugins","header_author_uri":"http:\/\/wpdwarves.com","rating":5,"author_block_rating":0,"active_installs":30,"downloads":2398,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1688337","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1688337","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1688337","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1688337","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1688337","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1688337","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1688337","resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Once the plugin is installed and activated, add the shortcode option to the page where you want to display the events.","2":"To display events in a tabular view.","3":"List of options for shortcodes can be viewed from the Event Codes page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2431,143263,143262,1486,357],"plugin_category":[40,43],"plugin_contributors":[143264],"plugin_business_model":[],"class_list":["post-70320","plugin","type-plugin","status-publish","hentry","plugin_tags-event","plugin_tags-event-calendar-shortcode","plugin_tags-event-shortcode","plugin_tags-events","plugin_tags-shortcodes","plugin_category-calendar-and-events","plugin_category-customization","plugin_contributors-wpdwarves","plugin_committers-ajency"],"banners":{"banner":"https:\/\/ps.w.org\/event-codes\/assets\/banner-772x250.png?rev=1688337","banner_2x":"https:\/\/ps.w.org\/event-codes\/assets\/banner-1544x500.png?rev=1688337","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/event-codes\/assets\/icon-128x128.png?rev=1688337","icon_2x":"https:\/\/ps.w.org\/event-codes\/assets\/icon-256x256.png?rev=1688337","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/event-codes\/assets\/screenshot-1.png?rev=1688337","caption":"Once the plugin is installed and activated, add the shortcode option to the page where you want to display the events."},{"src":"https:\/\/ps.w.org\/event-codes\/assets\/screenshot-2.png?rev=1688337","caption":"To display events in a tabular view."},{"src":"https:\/\/ps.w.org\/event-codes\/assets\/screenshot-3.png?rev=1688337","caption":"List of options for shortcodes can be viewed from the Event Codes page."}],"raw_content":"<!--section=description-->\n<p><a href=\"http:\/\/wpdwarves.com\/event-codes-shortcodes-that-work-with-other-event-plugins\">EventCodes plugin<\/a> provides a shortcode that can be used to display a list of events on home page, sidebar or any other part of the site.<\/p>\n\n<p>With this plugin you can choose from a set of 4 templates for displaying list of events. Currently the EventCodes plugin works with Event Calendar plugin by Modern Tribe. We will be adding support for other event plugins soon.<\/p>\n\n<p>The default code will be [event_codes] which will display the list of 5 most recent Upcoming Events. The short code supports multiple options.<\/p>\n\n<p>For e.g: If you want to display 3 upcoming events belonging to \u201cmusic\u201d category.<\/p>\n\n<pre><code>[event_codes cat=\u2019music\u2019 count=\u20193\u2019]\n<\/code><\/pre>\n\n<h4>Shortcode Options:<\/h4>\n\n<ul>\n<li><p>View Type &amp; Style (view, style)\nThis is used to select the type of view and style to display the event. The default view is list with basic style.\n  [event_codes view= \u2018list\u2019 style= \u2018basic\u2019]<\/p>\n\n<p>Different types of views:<\/p>\n\n<p>1)List\nList view has 3 styles: basic, big date and card overlay\n            [event_codes view=\u2018list\u2019 style=\u2018basic\u2019]\n            [event_codes view=\u2018list\u2019 style=\u2018big-date\u2019]\n            [event_codes view=\u2018list\u2019 style=\u2018card-overlay\u2019]<\/p>\n\n<p>2)Tabular\nTabular view has 2 styles: basic and shadow\n             [event_codes view=\u2018tabular\u2019 style=\u2018basic\u2019]\n             [event_codes view=\u2018tabular\u2019 style=\u2018shadow\u2019]\nrow value displays alternate gray shade for rows. This can be applied for both styles.\n             [event_codes view=\u2018tabular\u2019 style=\u2018shadow\u2019 row=\u2018alternate-gray\u2019]<\/p><\/li>\n<li><p>Show Time (showtime)\nThis is used to display the time of the event. Option used is showtime and can have value true\/false. Default is false.\n    [event_codes showtime=\u2019true\u2019]<\/p><\/li>\n<li><p>Description (description)\nThis controls whether the description of the event is to be shown or not. The option is description with value true\/false. Default is true.\n  [event_codes description=\u2019false\u2019]<\/p><\/li>\n<li><p>Number of events (count)\nSpecifies the total number of events that are to be shown. Default is 5. Option value is count.\n  [event_codes count=\u20194\u2019]<\/p><\/li>\n<li><p>Offset (offset)\nOption offset is to skip a given number of events while listing. A good use case is when you want to split your event list into columns with multiple shortcodes. Default is  0.\n  [event_codes offset=\u20193\u2019]<\/p><\/li>\n<li><p>Category (cat)\nDisplays the events based on the category. Can be used to display events belonging to different categories separated by comma. Option is cat.\n [event_codes cat=\u2019music,sports\u2019]<\/p><\/li>\n<li><p>Exclude Category (skip-cat)\nSkips displaying the events of a particular category. Option is skip-cat.\n [event_codes skip-cat=\u2019music\u2019]<\/p><\/li>\n<li><p>Tags (tag)\nFilters events based on tags. For multiple tags use commas. Option is tag\n [event_codes tag=\u2019music,sports\u2019]<\/p><\/li>\n<li><p>Past Events (past)\nThis will display the list of all the past events. Option value is past &amp; default is false.\n [event_codes past=\u2019true\u2019]<\/p><\/li>\n<li><p>Featured Events (featured)\nThis will display the list of all the featured events. Default is false &amp; option is featured.\n  [event_codes featured=\u2019true\u2019]<\/p><\/li>\n<li><p>Show View All (show-view-all)\nThis will decide if the the \u201cView All\u201d action should be displayed or no. Default is true &amp; option is show-view-all.\n [event_codes show-view-all=\u2019false\u2019]<\/p><\/li>\n<li><p>Show Load More (show-load-more)\nThis will decide if the the \u201cLoad More\u201d action should be displayed or no. Default is true &amp; option is show-load-more.\n [event_codes show-load-more=\u2019false\u2019]<\/p><\/li>\n<li><p>Title (title)\nThis will allow to set a heading to the events displayed. If title is not entered as the shortcode option, then default value for future events will be \u201cUpcoming Events\u201d and in case of past and featured events the heading will be \u201cPast Events\u201d and \u201cUpcoming Featured Events\u201d respectively.\n  [event_codes title =\u2019Events this Week\u2019]<\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li><p>Install the \u201cEvent Codes - Shortcodes that work with other event plugins\u201d plugin from the WordPress.org repository. The other way is to upload event-codes folder to the \/wp-content\/plugins directory. Please note, you must  install The Event Calendar Plugin by Modern Tribe and add your events to the calendar.<\/p><\/li>\n<li><p>Activate the plugin through the Plugins menu in WordPress<\/p><\/li>\n<li><p>If The Event Calendar Plugin by Modern Tribe is not installed, you will be prompted to install it.<\/p><\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>How do I install the plugin?<\/dt>\n<dd><ul>\n<li><p>Install the \u201cEvent Codes - Shortcodes that work with other event plugins\u201d plugin from the WordPress.org repository. The other way is to upload event-codes folder to the \/wp-content\/plugins directory. Please note, you must  install The Event Calendar Plugin by Modern Tribe and add your events to the calendar.<\/p><\/li>\n<li><p>Activate the plugin through the Plugins menu in WordPress<\/p><\/li>\n<li><p>If The Event Calendar Plugin by Modern Tribe is not installed, you will be prompted to install it.<\/p><\/li>\n<\/ul><\/dd>\n<dt>What are the shortcode options?<\/dt>\n<dd><ul>\n<li><p>View Type &amp; Style (view, style)\nThis is used to select the type of view and style to display the event. The default view is list with basic style.\n  [event_codes view= \u2018list\u2019 style= \u2018basic\u2019]<\/p>\n\n<p>Different types of views:<\/p>\n\n<p>1)List\nList view has 3 styles: basic, big date and card overlay\n            [event_codes view=\u2018list\u2019 style=\u2018basic\u2019]\n            [event_codes view=\u2018list\u2019 style=\u2018big-date\u2019]\n            [event_codes view=\u2018list\u2019 style=\u2018card-overlay\u2019]<\/p>\n\n<p>2)Tabular\nTabular view has 2 styles: basic and shadow\n             [event_codes view=\u2018tabular\u2019 style=\u2018basic\u2019]\n             [event_codes view=\u2018tabular\u2019 style=\u2018shadow\u2019]\nrow value displays alternate gray shade for rows. This can be applied for both styles.\n             [event_codes view=\u2018tabular\u2019 style=\u2018shadow\u2019 row=\u2018alternate-gray\u2019]<\/p><\/li>\n<li><p>Show Time (showtime)\nThis is used to display the time of the event. Option used is showtime and can have value true\/false. Default is false.\n    [event_codes showtime=\u2019true\u2019]<\/p><\/li>\n<li><p>Description (description)\nThis controls whether the description of the event is to be shown or not. The option is description with value true\/false. Default is true.\n  [event_codes description=\u2019false\u2019]<\/p><\/li>\n<li><p>Number of events (count)\nSpecifies the total number of events that are to be shown. Default is 5. Option value is count.\n  [event_codes count=\u20194\u2019]<\/p><\/li>\n<li><p>Offset (offset)\nOption offset is to skip a given number of events while listing. A good use case is when you want to split your event list into columns with multiple shortcodes. Default is  0.\n  [event_codes offset=\u20193\u2019]<\/p><\/li>\n<li><p>Category (cat)\nDisplays the events based on the category. Can be used to display events belonging to different categories separated by comma. Option is cat.\n [event_codes cat=\u2019music,sports\u2019]<\/p><\/li>\n<li><p>Tags (tag)\nFilters events based on tags. For multiple tags use commas. Option is tag\n [event_codes tag=\u2019music,sports\u2019]<\/p><\/li>\n<li><p>Past Events (past)\nThis will display the list of all the past events. Option value is past &amp; default is false.\n [event_codes past=\u2019true\u2019]<\/p><\/li>\n<li><p>Featured Events (featured)\nThis will display the list of all the featured events. Default is false &amp; option is featured.\n  [event_codes featured=\u2019true\u2019]<\/p><\/li>\n<li><p>Show View All (show-view-all)\nThis will decide if the the \u201cView All\u201d action should be displayed or no. Default is true &amp; option is show-view-all.\n [event_codes show-view-all=\u2019false\u2019]<\/p><\/li>\n<li><p>Show Load More (show-load-more)\nThis will decide if the the \u201cLoad More\u201d action should be displayed or no. Default is true &amp; option is show-load-more.\n [event_codes show-load-more=\u2019false\u2019]<\/p><\/li>\n<li><p>Title (title)\nThis will allow to set a heading to the events displayed. If title is not entered as the shortcode option, then default value for future events will be \u201cUpcoming Events\u201d and in case of past and featured events the heading will be \u201cPast Events\u201d and \u201cUpcoming Featured Events\u201d respectively.\n  [event_codes title =\u2019Events this Week\u2019]<\/p><\/li>\n<\/ul><\/dd>\n<dt>Do you have some problems with plugin installation?<\/dt>\n<dd><p>You can visit our plugin page(http:\/\/wpdwarves.com\/event-codes-shortcodes-that-work-with-other-event-plugins) and contact us.\nWe are always ready to help everyone.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Feature - added fix for address empty fields<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Feature - added fix for event date, time and venue<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Feature - fixes<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Feature - bug fixes<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Feature - added custom template support<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Feature - New shortcode option \"skip-cat\" added<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Feature - New shortcode option \"title\" added<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Event Codes plugin can be used with The Events Calendar to display events list or events summary using shortcodes. This is especially useful since Eve &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/70320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=70320"}],"author":[{"embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ajency"}],"wp:attachment":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=70320"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=70320"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=70320"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=70320"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=70320"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=70320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}