• Resolved linkus100

    (@linkus100)


    Hello.

    I am trying to add some html in the section “Add HTML before event content”. So i add it when press save button, the page is being updated and there isn’t any content which i added.
    The same with section “Add HTML after event content”.

    Please help.

    https://ww.wp.xz.cn/plugins/the-events-calendar/

Viewing 1 replies (of 1 total)
  • Geoff Graham

    (@geoffgraham)

    Hi @linkus100,

    Are you using the default events template in Events > Settings > Display? If not, please switch to that and see if it makes a difference.

    Worst case, you should be able to hook into the template and place custom content before the event content using a snippet like this:

    add_filter('tribe_events_before_html', 'tribe_custom_events_before_html');
    
    function tribe_custom_events_before_html() {
    
    	 return '<p>Your custom content here!</p>';
    }
Viewing 1 replies (of 1 total)

The topic ‘Add HTML before event content’ is closed to new replies.