{"id":1896649,"date":"2019-10-18T13:19:45","date_gmt":"2019-10-18T17:19:45","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/accessing-and-linking-to-community-events-pages\/"},"modified":"2024-08-20T11:17:17","modified_gmt":"2024-08-20T15:17:17","slug":"accessing-and-linking-to-community-events-pages","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/accessing-and-linking-to-community-events-pages\/","title":{"rendered":"Locating Links to Your Community Events Pages"},"content":{"rendered":"\n<p>Once you&#8217;ve installed and activated the Community Events plugin on your site, it&#8217;s time to add some links to your event submission forms for your users. First, you&#8217;ll need to locate the Community Events pages for your specific site configuration. How you access these pages will differ depending on whether or not you have permalinks enabled. While <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/permalinks-best-practices\/\">most users do enable a pretty permalink structure<\/a> on the site, it isn&#8217;t for everybody, so we&#8217;ve tried to accommodate both options when linking to the Community Events pages.<\/p>\n\n<p>In the following sections, we&#8217;ll cover finding the Community form and viewing your events list on a permalinks-enabled site first, then move into the shortcode-based approach for sites with pretty permalinks off.<\/p>\n\n<h3 class=\"wp-block-heading\" id=\"pretty\">Using pretty permalinks<\/h3>\n\n<p>To view and update the Community Page URLs, go to <strong>Events &gt; Settings &gt; Community<\/strong> and take notice of the&nbsp;<strong>Community rewrite slug<\/strong> options. &nbsp;You can update the slugs there, as well as view the URLs to your Event Submission and Event List pages.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"\/knowledgebase\/wp-content\/uploads\/2019\/10\/community-events-slugs.png\" alt=\"\" class=\"wp-image-1943801\"\/><\/figure><\/div>\n<p>By default, with pretty permalinks enabled, the front-end Community Pages&nbsp;are accessible at the following URLs:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong><strong>Add a new event:<\/strong><\/strong>&nbsp;\/events\/community\/add\/<\/li>\n\n<li><strong>Events list:<\/strong> \/events\/community\/list\/<\/li>\n\n<li><strong>Specific page in events list:<\/strong> \/events\/community\/list\/page\/[num]<\/li>\n\n<li><strong>Edit an already-submitted event:<\/strong> \/events\/community\/edit\/[id] ( redirects to \/events\/community\/list\/[post-type]\/id )<\/li>\n\n<li><strong>Delete an already-submitted event:<\/strong> \/events\/community\/delete\/[id]<\/li>\n<\/ul>\n\n<p>In these examples,<em> \/events\/<\/em> is the The Events Calendar slug as defined on the&nbsp;<em>Events &#8211;&gt; Settings &#8211;&gt; General<\/em>&nbsp;tab, and<em> \/community<\/em>\/ is the Community Events slug as defined on the <em>Community<\/em> tab. In other words, you can tweak the first 2 parts of the URL as you see fit.<\/p>\n\n<p>You can add these custom URLs to your WordPress menus as you see fit by going to <em>Appearance &#8211;&gt; Menus<\/em> (if your particular theme supports Menus). If you&#8217;re unfamiliar with the WordPress Menu Builder, we recommend you read over the <a href=\"http:\/\/codex.wordpress.org\/WordPress_Menu_User_Guide\" target=\"_blank\" rel=\"noopener noreferrer\">relevant Codex article<\/a>.<\/p>\n\n<h3 class=\"wp-block-heading\" id=\"default\">Using default permalinks<\/h3>\n\n<p>No permalinks? No problem, we&#8217;ve got shortcodes. Keep in mind that shortcodes are only available for users who have permalinks turned off; <strong>this method will NOT work if you&#8217;re running with a pretty permalinks structure<\/strong>. These will also only work on pages, so don&#8217;t try them in posts\/events\/widgets\/etc.<\/p>\n\n<p>Create a page and use the following:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>[tribe_community_events_title]<\/strong> as title<\/li>\n\n<li><strong>[tribe_community_events]<\/strong> in content<\/li>\n<\/ul>\n\n<p>You can add now add this newly-created&nbsp;page to your WordPress menus&nbsp;as you see fit.<\/p>\n\n<h3 class=\"wp-block-heading\" id=\"adding_links\">Adding Community Events links to your site<\/h3>\n\n<p>Once you&#8217;ve obtained your pretty permalink URLs or shortcodes for linking to your Community Events page, you&#8217;ll want to add those links to your site so your users can begin submitting events.&nbsp;Having these links placed prominently on your site will make it easy for new users to discover this functionality and for returning users to manage their existing events and quickly create new ones.<\/p>\n\n<h4 class=\"wp-block-heading\" id=\"links_in_menu\">Custom Links in a&nbsp;WordPress Menu<\/h4>\n\n<p>The <a href=\"https:\/\/codex.wordpress.org\/WordPress_Menu_User_Guide\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress menu system<\/a> is easy and quick to use once you get the hang of it.<\/p>\n\n<p>You can create a new menu (just give it a descriptive name, like &#8220;Main Menu&#8221;) and then add a variety of links to it.<\/p>\n\n<p>It has drag-and-drop functionality so you can rearrange your navigation however you choose, but it&#8217;s up to your theme to know how to display WordPress menus.<\/p>\n\n<p>For example, some themes do not support displaying multi-level&nbsp;menus (i.e. menus with top-level and sub-level items); they only display top-level menu items.<\/p>\n\n<p>Menus can be created and edited in the <em>Appearance \u2192 Menus<\/em> page of your wp-admin or in the <em>Menus<\/em> section of the WordPress Customizer.<\/p>\n\n<p>If you don&#8217;t see the Custom Links box in your menu editor, here&#8217;s a GIF showing how to enable Custom Links in WordPress menu system:<\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2016\/11\/Enabling-Custom-Links-in-WordPress-Menus.gif\" alt=\"Enabling Custom Links in WordPress Menus\"\/><\/figure>\n\n<p>Once you are able to add Custom Links, add each of your desired Community Events links to your menu and arrange them as you desire.<\/p>\n\n<p>Here&#8217;s an example menu for <em>example.com<\/em> that might inspire you:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>Home<\/strong> (http:\/\/example.com\/)<\/li>\n\n<li><strong>Blog<\/strong> (http:\/\/example.com\/blog\/)<\/li>\n\n<li><strong>Events<\/strong> (http:\/\/example.com\/events\/)<\/li>\n\n<li><strong>Add Your Own Event<\/strong> (http:\/\/example.com\/events\/community\/add\/)\n<ul class=\"wp-block-list\">\n<li><strong>Your Existing Events<\/strong> (http:\/\/example.com\/events\/community\/list\/)<\/li>\n\n<li><strong>Your Events&#8217; Ticket Payment Options<\/strong> (http:\/\/example.com\/events\/community\/payment-options) <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n<p>Of course, you can create any menu items you want. Hopefully this information&nbsp;gets you well on your way toward a navigation menu that serves your users perfectly!<\/p>\n\n<h4 class=\"wp-block-heading\" id=\"links_above_calendar\">Above Your Events Calendar<\/h4>\n\n<p>Another place you could add a link to your Community Events form is above your Events Calendar.<\/p>\n\n<p>You can add enter this text under Events &gt; Settings &gt; Display &gt; Additional Content Settings.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/11\/Screen-Shot-2022-11-30-at-11.52.22-AM.png\" alt=\"\" class=\"wp-image-1954635\"\/><\/figure>\n\n<p>If you have a theme or plugin that adds shortcodes to create links that are buttons instead of plain text, those could work well here, too.<\/p>\n\n<h4 class=\"wp-block-heading\" id=\"shortcodes\">Shortcodes<\/h4>\n\n<p>You can use a wide variety of <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/community-events-shortcodes\/\">shortcodes<\/a> to add Community Events and related pages to any page or post on your website.&nbsp; Find which shortcodes will help you in <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/community-events-shortcodes\/\">Community Events Shortcodes<\/a>.<\/p>\n\n<h4 class=\"wp-block-heading\" id=\"alternatives\">Programmatic&nbsp;Alternatives<\/h4>\n\n<p>If you&#8217;re comfortable with PHP, there are many other ways to implement Community Events links around your site.<\/p>\n\n<p>You could use one of these actions:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>tribe_events_before_template<\/strong> (like the &#8220;Add HTML before event content&#8221; option demonstrated&nbsp;above)<\/li>\n\n<li><strong>tribe_events_after_template<\/strong> (below the calendar)<\/li>\n\n<li><strong>tribe_events_before_view<\/strong> (above the calendar and single events)<\/li>\n\n<li><strong>tribe_events_after_view<\/strong> (below the calendar and single events)<\/li>\n<\/ul>\n\n<p>Actions allow you to inject anything you want in a specific location. Please reference our&nbsp;<a href=\"https:\/\/theeventscalendar.com\/tips-working-wordpress-actions-filters\/\">Tips for Working With WordPress Actions and Filters<\/a>&nbsp;blog post for more details.<\/p>\n\n<p>Using our<a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/themers-guide\/\"> <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/customizing-template-files-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">Customizing Template Files Guide<\/a><\/a>\u00a0to override one of The Events Calendar&#8217;s templates is another programmatic way to display your Community Events links wherever you desire throughout your site&#8217;s Events views.<\/p>\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n<p>We hope this article has provided you with all the information you need to set up your Community Events links properly and start gathering submissions from your users! Please don&#8217;t hesitate to stop by <a href=\"https:\/\/support.theeventscalendar.com\/submit_ticket\">our help desk<\/a> if you should have any other questions&#8211;we&#8217;re here to help!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once you&#8217;ve installed and activated the Community Events plugin on your site, it&#8217;s time to add some links to your event submission forms for your users. First, you&#8217;ll need to locate the Community Events pages for your specific site configuration. How you access these pages will differ depending on whether or not you have permalinks&#8230;<\/p>\n","protected":false},"author":3,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[120],"tags":[],"stellar-product-taxonomy":[152],"class_list":["post-1896649","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-community-events","stellar-product-taxonomy-community-events"],"acf":[],"taxonomy_info":{"category":[{"value":120,"label":"Event Submissions"}],"stellar-product-taxonomy":[{"value":152,"label":"Community"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jaime Marchwinski","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":120,"name":"Event Submissions","slug":"community-events","term_group":0,"term_taxonomy_id":120,"taxonomy":"category","description":"","parent":61,"count":18,"filter":"raw","term_order":"0","cat_ID":120,"category_count":18,"category_description":"","cat_name":"Event Submissions","category_nicename":"community-events","category_parent":61}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1896649"}],"version-history":[{"count":8,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896649\/revisions"}],"predecessor-version":[{"id":1962593,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896649\/revisions\/1962593"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1896649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1896649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1896649"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1896649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}