Add HTML before calendar

Home Forums Calendar Products Events Calendar PRO Add HTML before calendar

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23484
    Sean
    Participant

    any way to change this text area to the wysiwyg editor?
    i see in tribe-options-templates.php you use an array to construct the html, can this be done for PHP and endup with something like

    #23485
    Sean
    Participant

    [code] [/code]

    #23486
    Sean
    Participant

    wp_editor( $spEventsBeforeHTML, ‘spEventsBeforeHTML’ );

    #23552
    moderntribe
    Participant

    Hi, Sean;
    There is a way, using a couple of the handy filters generated as part of the Tribe Settings API. I threw together a gist for you, you should just place the code in your theme’s functions.php file and it should make it work for you like a dream.
    https://gist.github.com/3326097
    Good luck, and thanks for using The Events Calendar!

    #23565
    moderntribe
    Participant

    In case you already copied the gist, I made one slight change just now, so you may want to re-copy. Otherwise, you’re good to go!

    #23886
    Casey
    Participant

    Sean,
    I just wanted to check back in and see if Paul’s solution worked for you. If so, I’ll go ahead and close this thread out. Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Add HTML before calendar’ is closed to new replies.