Created
February 20, 2019 23:26
-
-
Save alaasalama/f13772b92ab74920f23ba37cf7063993 to your computer and use it in GitHub Desktop.
show event's recurrence description
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
function show_recurrence_description() { | |
if (is_event()) { | |
?> | |
<script type="text/javascript"> | |
// your javscript code goes here | |
jQuery( document ).ready(function() { | |
jQuery('.tribe-events-event-body').clone().insertAfter('.recurringinfo') | |
}); | |
</script> | |
<?php | |
} | |
} | |
add_action('wp_head', 'show_recurrence_description'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment