{"id":1064723,"date":"2016-01-29T15:50:48","date_gmt":"2016-01-29T23:50:48","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/"},"modified":"2016-02-21T08:35:07","modified_gmt":"2016-02-21T16:35:07","slug":"add-event-submission-form-into-a-page-template","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/","title":{"rendered":"Add &#039;Event Submission Form&#039; into a page template."},"content":{"rendered":"<p>We&#8217;re using this plugin with Simple Membership plugin.   Bc the submit event form isn&#8217;t on a particular page we cannot restrict its content to membership levels. <\/p>\n<p>Simple Membership gave us a link to a page with code to try to put in the submit-an-event-form template if there is one to see if this works.<\/p>\n<p>Code is:<br \/>\nShow specific content to a particular member:<br \/>\n`$member_id = SwpmMemberUtils::get_logged_in_members_id();<br \/>\nif ($member_id == &#8220;2&#8221;){<br \/>\n    echo &#8220;Hi, your member ID is 2&#8221;;<br \/>\n}&#8217;<\/p>\n<p>My question is where can I put this code to test it in the backend?  Is there a template page or a file someone in the Community Events backend that draws up the form or a file that IS the form entirely?<br \/>\nOr can you advise me how to add the submit-an-event URL to this code somehow so it reads the restriction on the URL to restrict it.<\/p>\n<p>Any advice would be greatly appreciated.<br \/>\nRecommendations?<\/p>\n","protected":false},"template":"","class_list":["post-1064723","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add &#039;Event Submission Form&#039; into a page template. -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add &#039;Event Submission Form&#039; into a page template. -\" \/>\n<meta property=\"og:description\" content=\"We&#8217;re using this plugin with Simple Membership plugin. Bc the submit event form isn&#8217;t on a particular page we cannot restrict its content to membership levels. Simple Membership gave us a link to a page with code to try to put in the submit-an-event-form template if there is one to see if this works. Code [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-21T16:35:07+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/\",\"name\":\"Add &#039;Event Submission Form&#039; into a page template. -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-01-29T23:50:48+00:00\",\"dateModified\":\"2016-02-21T16:35:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Welcome!\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pre-Sales Questions\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Add &#039;Event Submission Form&#039; into a page template.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add &#039;Event Submission Form&#039; into a page template. -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/","og_locale":"en_US","og_type":"article","og_title":"Add &#039;Event Submission Form&#039; into a page template. -","og_description":"We&#8217;re using this plugin with Simple Membership plugin. Bc the submit event form isn&#8217;t on a particular page we cannot restrict its content to membership levels. Simple Membership gave us a link to a page with code to try to put in the submit-an-event-form template if there is one to see if this works. Code [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/","article_modified_time":"2016-02-21T16:35:07+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/","name":"Add &#039;Event Submission Form&#039; into a page template. -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-01-29T23:50:48+00:00","dateModified":"2016-02-21T16:35:07+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-event-submission-form-into-a-page-template\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Welcome!","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/"},{"@type":"ListItem","position":4,"name":"Pre-Sales Questions","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/"},{"@type":"ListItem","position":5,"name":"Add &#039;Event Submission Form&#039; into a page template."}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1064723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1064723\/revisions"}],"predecessor-version":[{"id":1064725,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1064723\/revisions\/1064725"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1064723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}