Event on author page

Home Forums Calendar Products Events Calendar PRO Event on author page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #750206
    yogavitaesalute
    Participant

    Hello,
    I’d like to put the events in the author’s page along with articles by the same author. How can i do?

    Thank you

    #751081
    Geoff
    Member

    Hey there Massimo, welcome to the forums and getting in touch!

    If I’m understanding correctly, then the author is also the author of the event, correct? That definitely requires some customization, but is certainly doable. I imagine your theme has an author.php file. You would want to include a query for the tribe_events post type and run a loop that displays that post type on the page.

    You should be able to use the default WordPress get_posts() function for that and specifically identify tribe_events as the post type. We also have our own tribe_get_events() function that might be useful as well.

    Does that make sense? Will that work for you? Please let me know.

    Cheers!
    Geoff

    #796506
    Geoff
    Member

    Hey there! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new a new thread and we’ll help you out. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Event on author page’ is closed to new replies.