Created
October 30, 2015 17:55
-
-
Save cliffordp/ce791df9a7c74d7846e2 to your computer and use it in GitHub Desktop.
for http://theeventscalendar.com/support/forums/topic/add-button-to-single-events-in-event-list-view/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_action( 'tribe_events_single_event_after_the_content', 'forum_1020203_custom_content' ); | |
| /* | |
| could use different actions to output to different places on event single page | |
| -- see /wp-content/plugins/the-events-calendar/src/views/single-event.php for more actions | |
| -- also listed below: | |
| tribe_events_single_event_before_the_content | |
| tribe_events_single_event_after_the_content | |
| tribe_events_single_event_before_the_meta | |
| tribe_events_single_event_after_the_meta | |
| */ | |
| function forum_1020203_custom_content() { | |
| $output = '<button><a href="#"></a></button>' . PHP_EOL; | |
| echo $output; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment