Support » Plugin: SportsPress - Sports Club & League Manager » Custom html code on Event page

  • Is there a way to add your own html code to an Event page? For example, to add an Eventbrite event checkout for each event.

    • This topic was modified 3 months, 1 week ago by jimmyhorizon.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Savvas


    Hi @jimmyhorizon ,

    You can use the action hooks of SportsPress as described here.

    In your example you can use the sportspress_after_single_event action hook.


    Would this require editing the theme files?

    Plugin Support Roch



    Ideally, you’d do that using filters in a child theme. But yes, this requires custom code.




    Just add the hook to your child as @rochesterj suggested – like this :

    function my_custom_eventbrite() { ?>
    <div class=”my-custom-class”>Please register for my event! At</div>
    <?php }
    add_action( ‘sportspress_after_single_event’, ‘my_custom_eventbrite’, 999 );

    Plugin Support Roch


    Yep, that’s the way to do it 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.