Support

Home Forums Event Espresso Premium Header for datetimes

Header for datetimes

Posted: March 19, 2018 at 12:23 pm

Viewing 4 reply threads


motio

March 19, 2018 at 12:23 pm

What’s the easiest way to add a headline/titel “datetimes” above the datetimes on the event page?
Maybe I used the wrong search terms but I couldn’t find anything in the forum.


Josh

  • Support Staff

March 19, 2018 at 3:06 pm

Hi there,

The easiest is via the action hook
AHEE_event_details_before_event_date

e.g. add this to your functions file:

add_action('AHEE_event_details_before_event_date', 'my_datetime_heading');
function my_datetime_heading() {
    echo '<h3>Datetimes</h3>';
}


motio

March 21, 2018 at 9:58 am

Thank you Josh. I started learning PHP and now beginn to realize more and more how everything works and how great event espresso is. All the hooks provide a great way to customize the system. Thank you for your support. Hopefully I get one day how to call method and properties from your classes. I can’t find a good explanation for that.


Josh

  • Support Staff

March 21, 2018 at 12:17 pm

Here’s one tutorial that shows how:

https://www.elated.com/articles/object-oriented-php-working-with-inheritance/


motio

March 22, 2018 at 5:16 am

Hey Josh, you are the best. Even though it is not my native language it is the best guide I’ve read so far. I am not quit through but what I’ve read so far helped me a lot.

Viewing 4 reply threads

The support post ‘Header for datetimes’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso