{"id":1125048,"date":"2016-06-10T07:25:06","date_gmt":"2016-06-10T14:25:06","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/"},"modified":"2016-06-10T07:25:06","modified_gmt":"2016-06-10T14:25:06","slug":"moving-a-particular-additional-field","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/","title":{"rendered":"Moving a particular additional field"},"content":{"rendered":"<p>Hello!<\/p>\n<p>I&#8217;m fairly sure there isn&#8217;t a simple &#8220;paste this snippet&#8221; way to do this, but I&#8217;m wondering if you might have a suggestion for the best approach for me to take on my own. <\/p>\n<p>I have a particular additional field I&#8217;d like to appear under &#8220;Cost&#8221; in the single-event view. The field is &#8220;Cost details,&#8221; a grab-bag field for any cost info beyond the general admission fee (donations, variable pricing for members, seniors, kids, military, etc.). <\/p>\n<p>As you can see in this test event post, the cost details appear in a separate area from the cost: http:\/\/calendar.hudsonvalleyone.com\/event\/event-with-no-location-or-punctuation\/<\/p>\n<p>I&#8217;m thinking the right way to do this would involve inserting some php to display the specific field (ecp_custom_2) into the flow under cost, and some other php in the additional fields section to not show that specific field under &#8220;Other&#8221; (and also for good measure, not show &#8220;Other&#8221; if there isn&#8217;t anything to be displayed beneath it,)  <\/p>\n<p>Another less correct (but easier for me to figure out) way might be to use javascript to move the element from one place to another. In that case if Javascript isn&#8217;t turned on the event would still appear in the &#8220;Other&#8221; column, which isn&#8217;t the end of the world.<\/p>\n<p>Just wanted to get your take. Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-1125048","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>Moving a particular additional field -<\/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\/moving-a-particular-additional-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Moving a particular additional field -\" \/>\n<meta property=\"og:description\" content=\"Hello! I&#8217;m fairly sure there isn&#8217;t a simple &#8220;paste this snippet&#8221; way to do this, but I&#8217;m wondering if you might have a suggestion for the best approach for me to take on my own. I have a particular additional field I&#8217;d like to appear under &#8220;Cost&#8221; in the single-event view. The field is &#8220;Cost [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/\" \/>\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\/moving-a-particular-additional-field\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/\",\"name\":\"Moving a particular additional field -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-06-10T14:25:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/#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\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Moving a particular additional field\"}]},{\"@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":"Moving a particular additional field -","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\/moving-a-particular-additional-field\/","og_locale":"en_US","og_type":"article","og_title":"Moving a particular additional field -","og_description":"Hello! I&#8217;m fairly sure there isn&#8217;t a simple &#8220;paste this snippet&#8221; way to do this, but I&#8217;m wondering if you might have a suggestion for the best approach for me to take on my own. I have a particular additional field I&#8217;d like to appear under &#8220;Cost&#8221; in the single-event view. The field is &#8220;Cost [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/","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\/moving-a-particular-additional-field\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/","name":"Moving a particular additional field -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-06-10T14:25:06+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/moving-a-particular-additional-field\/#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":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Moving a particular additional field"}]},{"@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\/1125048","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1125048\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1125048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}