WordPress.org

Forums

The Events Calendar
Split Organizer and Website into separate display fields (2 posts)

  1. joshuaiz
    Member
    Posted 3 years ago #

    Hello,

    This is a great calendar but having an issue with the way the Organizer and Website are displayed on a single event page (using single.php).

    The relevant bit is here:

    <?php if ( tribe_get_organizer_link( get_the_ID(), false, false ) ) : ?>
    			<dt class="event-label event-label-organizer"><?php _e('Organizer:', 'tribe-events-calendar') ?></dt>
    			<dd class="vcard author event-meta event-meta-author"><span class="fn url"><?php echo tribe_get_organizer_link(); ?></span></dd>
          <?php elseif (tribe_get_organizer()): ?>
    			<dt class="event-label event-label-organizer"><?php _e('Organizer:', 'tribe-events-calendar') ?></dt>
    			<dd class="vcard author event-meta event-meta-author"><span class="fn url"><?php echo tribe_get_organizer(); ?></span></dd>
    		<?php endif; ?>

    I would like to be able to separate the Organizer and Website - they are not always related so this often leads to confusion for the people getting info on our events.

    Is there a way to simply display the text in the Organizer and Website fields separately as they are entered on the Event edit page?

    Thanks

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. Rob La Gatta
    Modern Tribe Support
    Plugin Author

    Posted 3 years ago #

    Hey Joshuaiz. Thanks for reaching out here. I assume you've browsed the documentation at tri.be related to this plugin, which could point you in the right direction (http://tri.be/support/documentation)? If not I'd say check that out. If you can't find what you're looking for there it's probably not doable without hacking at the core plugin.

    I will note that in the PRO release, there is the option for additional fields that could accomplish what you were going for (ie have a separate "Website" field that exists independent of the organizer data but appears up in the same general section of the page).

    That help?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic