• Resolved geekazoid

    (@geekazoid)


    Hello,

    I tried following the guidance found on my original post but I don’t have the same folder path to do it, as suggested. Any ideas?

    The main issue is when I put custom text (found under settings) then the custom text not only goes on top of the main calendar page, but also on each and every single individual event page. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @geekazoid ,

    Thank you for reaching out.

    The custom snippet below should stop the text that you placed in the Add HTML before event content field (Events -> Settings -> Display tab -> Additional Content section) from being displayed on every single event page.

    add_filter( 'tribe_events_before_html', 'no_html_before_single', 10, 2 );

    function no_html_before_single( $before, $view = null ) {
    // If we're on single event, then bail.
    if ( tribe_context()->get( 'single' ) === true ) {
    return "";
    }

    return $before;
    }
    Plugin Support Darian

    (@d0153)

    Hi there,

    It seems like it has been some time since we received a response from you, therefore, I will consider this matter as resolved. If you require any further assistance, please do not hesitate to start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.