• Resolved nzlgl

    (@nzlgl)


    Hello, I’m using buddyboss theme and I understand that it integrates with your plugin.

    However, I created a profile type as “organizer” in my website and I authorize only them to create events.

    I see that in your pro version you have a single event page where organizer details showing up. If I also want to add author information (who created the event), can I do that?
    I found a link explaining how to but I wasn’t able to understand: https://theeventscalendar.com/support/forums/topic/adding-author-to-single-event/

    Can you explain it further?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jaime

    (@jaimemarchwinski)

    Hi @nzlgl

    If you’d like to add the author to the single event page, you’ll want to create a template override of that page.

    This is the single event template that you’ll want to copy:

    the-events-calendar/src/views/single-event.php

    Then create your template in [your-theme]/tribe-events/single-event.php

    One thing to note: If you created the event with?block editor, the content.php file is where you want to edit:
    [your-theme]/tribe/events/single-event/content.php

    From there, you can add the following to that template:
    <?php $author = get_the_author(); ?>

    I hope that helps!

    Thanks,
    Jaime

    Plugin Support Jaime

    (@jaimemarchwinski)

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Author meta box’ is closed to new replies.