Created
January 29, 2015 13:02
-
-
Save bordoni/20c50131390384b308b3 to your computer and use it in GitHub Desktop.
Moving The Google Calendar and iCalendar links to organizer box
This file contains 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 | |
/* | |
* If you already have something in your functions.php, please remove these first few lines | |
*/ | |
// First solution - links below the organizer section | |
add_action( 'tribe_events_single_meta_organizer_section_end', array( 'TribeiCal', 'single_event_links' ) ); | |
remove_action( 'tribe_events_single_event_after_the_content', array( 'TribeiCal', 'single_event_links' ) ); | |
// Second solution - links on the right of the organizer box (after) | |
add_action( 'tribe_events_single_event_meta_primary_section_end', array( 'TribeiCal', 'single_event_links' ) ); | |
remove_action( 'tribe_events_single_event_after_the_content', array( 'TribeiCal', 'single_event_links' ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment