{"id":1214317,"date":"2017-01-06T07:29:48","date_gmt":"2017-01-06T15:29:48","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/"},"modified":"2017-01-06T07:32:49","modified_gmt":"2017-01-06T15:32:49","slug":"help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/","title":{"rendered":"Help with coding: multiple organizers, show all phone &amp; emails on single-event"},"content":{"rendered":"<p>I&#8217;d like to have multiple organizers show their phone and emails without visitors having to click on the organizer (see the attached photo). I&#8217;m not an expert in .php and i&#8217;d like to see if anyone can help me out. When I tried it myself it showed only the first organizer info under both names.<br \/>\nHere is me current Single Event Code<\/p>\n<pre><code>&lt;?php\n\/**\n * Single Event Template\n * A single event. This displays the event title, description, meta, and\n * optionally, the Google map for the event.\n *\n * Override this template in your own theme by creating a file at [your-theme]\/tribe-events\/single-event.php\n *\n * @package TribeEventsCalendar\n * @version  4.3\n *\n *\/\n\nif ( ! defined( &#039;ABSPATH&#039; ) ) {\n\tdie( &#039;-1&#039; );\n}\n\n$events_label_singular = tribe_get_event_label_singular();\n$events_label_plural = tribe_get_event_label_plural();\n\n$event_id = get_the_ID();\n\n\/\/ Setup an array of venue details for use later in the template\n$venue_details = tribe_get_venue_details();\n\n\/\/ Venue\n$has_venue_address = ( ! empty( $venue_details[&#039;address&#039;] ) ) ? &#039; location&#039; : &#039;&#039;;\n\n\/\/ Organizer\n$organizer = tribe_get_organizer();\n\n$organizer_ids = tribe_get_organizer_ids();\n$multiple = count( $organizer_ids ) &gt; 1;\n\n$phone = tribe_get_organizer_phone();\n$email = tribe_get_organizer_email();\n$website = tribe_get_organizer_website_link();\n\n?&gt;\n\n&lt;div id=&quot;tribe-events-content&quot; class=&quot;tribe-events-single&quot;&gt;\n\n\t&lt;p class=&quot;tribe-events-back&quot;&gt;\n\t\t&lt;a href=&quot;&lt;?php echo esc_url( tribe_get_events_link() ); ?&gt;&quot;&gt; &lt;?php printf( &#039;&amp;laquo; &#039; . esc_html_x( &#039;All %s&#039;, &#039;%s Events plural label&#039;, &#039;the-events-calendar&#039; ), $events_label_plural ); ?&gt;&lt;\/a&gt;\n\t&lt;\/p&gt;\n\n\t&lt;!-- Notices --&gt;\n\t&lt;?php tribe_the_notices() ?&gt;\n\n\t&lt;?php the_title( &#039;&lt;h1 class=&quot;tribe-events-single-event-title&quot;&gt;&#039;, &#039;&lt;\/h1&gt;&#039; ); ?&gt;\n\n\t&lt;div class=&quot;tribe-events-schedule tribe-clearfix&quot;&gt;\n\t\t&lt;?php echo tribe_events_event_schedule_details( $event_id, &#039;&lt;h2&gt;&#039;, &#039;&lt;\/h2&gt;&#039; ); ?&gt;\n\t\t&lt;?php if ( tribe_get_cost() ) : ?&gt;\n\t\t\t&lt;span class=&quot;tribe-events-cost&quot;&gt;&lt;?php echo tribe_get_cost( null, true ) ?&gt;&lt;\/span&gt;\n\t\t&lt;?php endif; ?&gt;\n\t&lt;\/div&gt;\n\t&lt;!-- Event header --&gt;\n\t&lt;div id=&quot;tribe-events-header&quot; &lt;?php tribe_events_the_header_attributes() ?&gt;&gt;\n\t&lt;\/div&gt;\n\t&lt;!-- #tribe-events-header --&gt;\n\t&lt;?php if ( $venue_details ) : ?&gt;\n\t\t\t&lt;!-- Venue Display Info --&gt;\n\t\t\t&lt;div style=&quot;width:40%;padding:0 10px 0 0;float:left;&quot; class=&quot;tribe-events-venue-details&quot;&gt;\n\t\t\t&lt;dt&gt; &lt;?php esc_html_e( &#039;Auction will be held at:&#039;, &#039;the-events-calendar&#039; ) ?&gt; &lt;\/dt&gt;\n\t\t\t\t&lt;?php echo implode( &#039;, &#039;, $venue_details ); ?&gt;\n\t\t\t\t&lt;?php\n\t\t\t\tif ( tribe_get_map_link() ) {\n\t\t\t\t\techo tribe_get_map_link_html();\n\t\t\t\t}\n\t\t\t\t?&gt;\n\t\t\t&lt;\/div&gt; &lt;!-- .tribe-events-venue-details --&gt;\n\t&lt;?php endif; ?&gt;\n&lt;!-- Organizer Display --&gt;\n\n&lt;div style=&quot;width:60%;padding:0 10px 0 0;float:right;&quot; class=&quot;tribe-events-meta-group tribe-events-meta-group-organizer&quot;&gt;\n\t&lt;dt class=&quot;tribe-events-venue-details&quot;&gt;&lt;?php esc_html_e( &#039;Auction Contact:&#039;, &#039;the-events-calendar&#039; ) ?&gt; &lt;\/dt&gt;\n\t&lt;dl&gt;\n\t\t&lt;?php\n\t\tdo_action( &#039;tribe_events_single_meta_organizer_section_start&#039; );\n\n\t\tforeach ( $organizer_ids as $organizer ) {\n\t\t\tif ( ! $organizer ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t?&gt;\n\t\t\t&lt;dt style=&quot;display:none;&quot;&gt;&lt;?php \/\/ This element is just to make sure we have a valid HTML ?&gt;&lt;\/dt&gt;\n\t\t\t&lt;dd class=&quot;tribe-organizer&quot;&gt;\n\t\t\t\t&lt;?php echo tribe_get_organizer_link( $organizer ) ?&gt;\n\t\t\t&lt;\/dd&gt;\n\t\t\t&lt;?php\n\t\t}\n\t\tif ( ! $multiple ) { \/\/ only show organizer details if there is one\n\t\t\tif ( ! empty( $phone ) ) {\n\t\t\t\t?&gt;\n\t\t\t\t&lt;?php esc_html_e( &#039;Phone:&#039;, &#039;the-events-calendar&#039; ) ?&gt;\n\t\t\t\t&lt;?php echo esc_html( $phone ); ?&gt;\n\t\t\t\t&lt;?php\n\t\t\t}\/\/end if\n\t\t\tif ( ! empty( $email ) ) {\n\t\t\t\t?&gt;\n\t\t\t\t&lt;?php esc_html_e( &#039;, Email:&#039;, &#039;the-events-calendar&#039; ) ?&gt;\n\t\t\t\t\t&lt;?php echo esc_html( $email ); ?&gt;\n\t\t\t\t&lt;?php\n\t\t\t}\/\/end if\n\t\t}\/\/end if\n\n\t\tdo_action( &#039;tribe_events_single_meta_organizer_section_end&#039; );\n\t\t?&gt;\n\t&lt;\/dl&gt;\n&lt;\/div&gt;\n&lt;div style=&quot;clear:both;&quot;&gt;&lt;\/div&gt;\n&lt;!-- End Organizer Display --&gt;\n\t&lt;?php while ( have_posts() ) :  the_post(); ?&gt;\n\t\t&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;\n\t\t\t&lt;!-- Event content --&gt;\n\t\t\t&lt;?php do_action( &#039;tribe_events_single_event_before_the_content&#039; ) ?&gt;\n\t\t\t&lt;div class=&quot;tribe-events-single-event-description tribe-events-content&quot;&gt;\n\t\t\t\t&lt;?php the_content(); ?&gt;\n\t\t\t&lt;\/div&gt;\n\t\t\t&lt;!-- .tribe-events-single-event-description --&gt;\n\t\t\t&lt;?php do_action( &#039;tribe_events_single_event_after_the_content&#039; ) ?&gt;\n\n\t\t\t&lt;!-- Event meta --&gt;\n\t\t\t&lt;?php do_action( &#039;tribe_events_single_event_before_the_meta&#039; ) ?&gt;\n\t\t\t&lt;?php tribe_get_template_part( &#039;modules\/meta&#039; ); ?&gt;\n\t\t\t&lt;?php do_action( &#039;tribe_events_single_event_after_the_meta&#039; ) ?&gt;\n\t\t&lt;\/div&gt; &lt;!-- #post-x --&gt;\n\t\t&lt;?php if ( get_post_type() == Tribe__Events__Main::POSTTYPE &amp;&amp; tribe_get_option( &#039;showComments&#039;, false ) ) comments_template() ?&gt;\n\t&lt;?php endwhile; ?&gt;\n\n\t&lt;!-- Event footer --&gt;\n\t&lt;div id=&quot;tribe-events-footer&quot;&gt;\n\t\t&lt;!-- Navigation --&gt;\n\t\t&lt;h3 class=&quot;tribe-events-visuallyhidden&quot;&gt;&lt;?php printf( esc_html__( &#039;%s Navigation&#039;, &#039;the-events-calendar&#039; ), $events_label_singular ); ?&gt;&lt;\/h3&gt;\n\t\t&lt;ul class=&quot;tribe-events-sub-nav&quot;&gt;\n\t\t\t&lt;li class=&quot;tribe-events-nav-previous&quot;&gt;&lt;?php tribe_the_prev_event_link( &#039;&lt;span&gt;&amp;laquo;&lt;\/span&gt; %title%&#039; ) ?&gt;&lt;\/li&gt;\n\t\t\t&lt;li class=&quot;tribe-events-nav-next&quot;&gt;&lt;?php tribe_the_next_event_link( &#039;%title% &lt;span&gt;&amp;raquo;&lt;\/span&gt;&#039; ) ?&gt;&lt;\/li&gt;\n\t\t&lt;\/ul&gt;\n\t\t&lt;!-- .tribe-events-sub-nav --&gt;\n\t&lt;\/div&gt;\n\t&lt;!-- #tribe-events-footer --&gt;\n\n&lt;\/div&gt;&lt;!-- #tribe-events-content --&gt;<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-1214317","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>Help with coding: multiple organizers, show all phone &amp; emails on single-event -<\/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\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Help with coding: multiple organizers, show all phone &amp; emails on single-event -\" \/>\n<meta property=\"og:description\" content=\"I&#8217;d like to have multiple organizers show their phone and emails without visitors having to click on the organizer (see the attached photo). I&#8217;m not an expert in .php and i&#8217;d like to see if anyone can help me out. When I tried it myself it showed only the first organizer info under both names. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-01-06T15:32:49+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=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/\",\"name\":\"Help with coding: multiple organizers, show all phone &amp; emails on single-event -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-01-06T15:29:48+00:00\",\"dateModified\":\"2017-01-06T15:32:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/#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\":\"Help with coding: multiple organizers, show all phone &amp; emails on single-event\"}]},{\"@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":"Help with coding: multiple organizers, show all phone &amp; emails on single-event -","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\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/","og_locale":"en_US","og_type":"article","og_title":"Help with coding: multiple organizers, show all phone &amp; emails on single-event -","og_description":"I&#8217;d like to have multiple organizers show their phone and emails without visitors having to click on the organizer (see the attached photo). I&#8217;m not an expert in .php and i&#8217;d like to see if anyone can help me out. When I tried it myself it showed only the first organizer info under both names. [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/","article_modified_time":"2017-01-06T15:32:49+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/","name":"Help with coding: multiple organizers, show all phone &amp; emails on single-event -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-01-06T15:29:48+00:00","dateModified":"2017-01-06T15:32:49+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/help-with-coding-multiple-organizers-show-all-phone-emails-on-single-event\/#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":"Help with coding: multiple organizers, show all phone &amp; emails on single-event"}]},{"@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\/1214317","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\/1214317\/revisions"}],"predecessor-version":[{"id":1214319,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1214317\/revisions\/1214319"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1214317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}