Add text to top of Submit an Event page

Home Forums Calendar Products Community Events Add text to top of Submit an Event page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1116158
    Deb Cavrak
    Participant

    I would like to add some guidelines/instruction text above the Submit Event page/form on our site, but I’m unable to locate where to do that in the Community settings. Am I looking in the wrong spot? Is this possible? Let me know. Thank you!

    #1116212
    Josh
    Participant

    Hey Deb,

    Thanks for reaching out to us!

    There are a couple of ways that you could approach this. The best would be to utilize the “‘tribe_events_community_form_before_template'” action and write a simple function to include your text. You could include something like the following in your theme’s functions.php file:

    
    add_action( 'tribe_events_community_form_before_template', 'my_instruction_text' );
    function my_instruction_text() {
    echo '<p>My instructions above the submission form</p>';
    }
    

    Let me know if this helps.

    Thanks!

    #1116936
    Deb Cavrak
    Participant

    OK — i can do that, but then where do i go to add that text, since the Submit an Event is not actually a page? I checked back in Events Community Settings and do not see where to do so. Am i looking in the wrong place? What am i missing?

    #1116938
    Deb Cavrak
    Participant

    Clarifying my comment: Ive added your text to functions.php. I now need to know where to go, to add my intro text to the Submit Event page.

    #1116985
    Josh
    Participant

    Hey Deb,

    Once adding that snippet, you should see the text “My instructions above the submission form” added above the form. You’ll add your text directly to the snippet and replace that particular wording with the wording that you would like to use there.

    Let me know if this helps.

    Thanks!

    #1117159
    Deb Cavrak
    Participant

    Ahhh- DURP. I dint even pay attention to the code to notice that.
    Problem solved. Thank you!

    #1118065
    Josh
    Participant

    Hey Deb,

    No problem 🙂

    I’ll go ahead and close this thread for now. If you have any further questions, please don’t hesitate to open a new one.

    Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Add text to top of Submit an Event page’ is closed to new replies.