Unable to get Organizer Name, Schedule Details, etc.

Home Forums Calendar Products Events Calendar PRO Unable to get Organizer Name, Schedule Details, etc.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #720489
    bpleslie
    Participant

    I’m attempting to edit the month/single-event template to add the organizer and a few other pieces of info. The beginner documentation says to use echo tribe_get_organizer() (and in some places tribe_get_organizer($post->ID)), but this does not work. I have tried using echo, not using echo, using the ID, without the ID, with no success.

    I know that this used to work in previous versions and clearly it’s in documentation on this site so it *should* work, but something’s not quite right. Any help getting more than the event time and title would be greatly appreciated.

    #721952
    Brian
    Member

    Hello, I understand you are having some issues with ‘tribe_get_organizer()’ and I can help you out with that.

    I went in and edited the month/single-event.php that I moved to my theme and I as was able to see the Organizer when i did this:

    <div id="tribe-events-event-<?php echo $event_id ?>" class="<?php tribe_events_event_classes() ?>" data-tribejson='<?php echo tribe_events_template_data( $post ); ?>'>
    <h3 class="tribe-events-month-event-title entry-title summary">" class="url"><?php the_title() ?></h3>
    <?php
    $ID = get_the_ID();
    echo tribe_get_organizer($ID);
    ?>
    </div><!-- #tribe-events-event-# -->

    Can you try to replace that coding in your custom template at the bottom and see if it shows up.

    If nothing is showing could you try placing a word before the <h3> tag and see if that shows up.

    Please let me know if that word does not show up and then can you provide the directory structure to where your custom templates are so we can rule that out as an issue.

    Let me know what you find out and we can go from there.

    Thanks

    #781617
    Brian
    Member

    Since I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Unable to get Organizer Name, Schedule Details, etc.’ is closed to new replies.