How to add text above "My Events: page

Home Forums Calendar Products Community Events How to add text above "My Events: page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1115846
    Joe
    Participant

    Hello! Just a quick one, how do I add some text above the “my events” page in community events?

    Thank you

    #1115852
    Geoff
    Member

    Hi Joe, welcome back!

    You can add something like this to your theme’s functions.php file to get custom content on top of the page.

    Will that do the trick for you? Please let me know. 🙂

    Cheers,
    Geoff

    #1115858
    Joe
    Participant

    This reply is private.

    #1115863
    Geoff
    Member

    This reply is private.

    #1115873
    Joe
    Participant

    Ah that’s hidden both of them. Could it be added to the page template directly perhaps?

    #1115965
    Geoff
    Member

    It’s like you read my mind. 🙂

    Yes, you can absolutely add the text directly to the template. To do that:

    • Make a copy of the event-list.php file. It’s located at /wp-content/plugins/events-community/src/views/event-list.php
    • Make a new folder in your theme directory called tribe-events
    • Make a new folder in that one called community
    • Drop the copied event-list.php in that last folder

    Now that the template is in your theme, you can modify it to suit your needs. In this case, add the text where you would like it to appear in the template.

    Will this work for you? Please let me know. 🙂

    Cheers!
    Geoff

    #1115980
    Joe
    Participant

    Beautiful – did the job nicely! Cheers Geoff!

    #1116024
    Geoff
    Member

    Heck yeah! So happy that did the trick — thanks so much for bearing with me and for following up. 🙂

    Cheers,
    Geoff

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to add text above "My Events: page’ is closed to new replies.