{"id":1269893,"date":"2017-04-14T00:52:05","date_gmt":"2017-04-14T07:52:05","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/"},"modified":"2017-04-17T06:33:17","modified_gmt":"2017-04-17T13:33:17","slug":"default-value-number-of-tickets-1-and-attendee-information-display","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/","title":{"rendered":"Default value number of tickets = 1 and attendee information display"},"content":{"rendered":"<p>Hi I would like to recreate this thread.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"8688HwG6IZ\"><p><a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-number-for-rsvp\/\">Default number for RSVP<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Default number for RSVP&#8221; &#8212; \" src=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-number-for-rsvp\/embed\/#?secret=2mm9qnGkQC#?secret=8688HwG6IZ\" data-secret=\"8688HwG6IZ\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>I managed to change default value to 1 by adding this function to function.php<\/p>\n<pre><code>add_action( 'wp_footer', 'tribe_994934_custom_js', 100 );\r\n \r\nfunction tribe_994934_custom_js() {\r\n?&gt;\r\n    &lt;script&gt;\r\n        jQuery(document).ready(function($){\r\n            if ( $('.tribe-events-tickets').length ) {\r\n                $('.tribe-events-tickets .quantity input.qty').val( '1' );\r\n            }\r\n        });\r\n    &lt;\/script&gt;\r\n&lt;?php\r\n}<\/code><\/pre>\n<p>I also added the snippet with !important to show attendees information. But it doesn&#8217;t work.<\/p>\n<pre><code>.tribe-tickets-meta-row {\r\ndisplay: table-row !important;\r\n}<\/code><\/pre>\n<p>Here is an example page of my event<br \/>\nhttp:\/\/www.be3dartist.co.uk\/course\/character-modeling<\/p>\n","protected":false},"template":"","class_list":["post-1269893","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>Default value number of tickets = 1 and attendee information display -<\/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\/default-value-number-of-tickets-1-and-attendee-information-display\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Default value number of tickets = 1 and attendee information display -\" \/>\n<meta property=\"og:description\" content=\"Hi I would like to recreate this thread. Default number for RSVP I managed to change default value to 1 by adding this function to function.php add_action( &#039;wp_footer&#039;, &#039;tribe_994934_custom_js&#039;, 100 ); function tribe_994934_custom_js() { ?&gt; &lt;script&gt; jQuery(document).ready(function($){ if ( $(&#039;.tribe-events-tickets&#039;).length ) { $(&#039;.tribe-events-tickets .quantity input.qty&#039;).val( &#039;1&#039; ); } }); &lt;\/script&gt; &lt;?php } I also added [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-17T13:33:17+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\/default-value-number-of-tickets-1-and-attendee-information-display\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/\",\"name\":\"Default value number of tickets = 1 and attendee information display -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-04-14T07:52:05+00:00\",\"dateModified\":\"2017-04-17T13:33:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/#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\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Default value number of tickets = 1 and attendee information display\"}]},{\"@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":"Default value number of tickets = 1 and attendee information display -","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\/default-value-number-of-tickets-1-and-attendee-information-display\/","og_locale":"en_US","og_type":"article","og_title":"Default value number of tickets = 1 and attendee information display -","og_description":"Hi I would like to recreate this thread. Default number for RSVP I managed to change default value to 1 by adding this function to function.php add_action( 'wp_footer', 'tribe_994934_custom_js', 100 ); function tribe_994934_custom_js() { ?&gt; &lt;script&gt; jQuery(document).ready(function($){ if ( $('.tribe-events-tickets').length ) { $('.tribe-events-tickets .quantity input.qty').val( '1' ); } }); &lt;\/script&gt; &lt;?php } I also added [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/","article_modified_time":"2017-04-17T13:33:17+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\/default-value-number-of-tickets-1-and-attendee-information-display\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/","name":"Default value number of tickets = 1 and attendee information display -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-04-14T07:52:05+00:00","dateModified":"2017-04-17T13:33:17+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-value-number-of-tickets-1-and-attendee-information-display\/#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":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"Default value number of tickets = 1 and attendee information display"}]},{"@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\/1269893","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\/1269893\/revisions"}],"predecessor-version":[{"id":1269965,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1269893\/revisions\/1269965"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1269893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}