Filter? & Visual Subtitle Modern Tribe "The Events Calendar" displays code
-
Using Visual Subtitle with Modern Tribe’s “The Events Calendar” posts code to the screen in this format:
SUBTITTLE” rel=”bookmark”> TITLE SUBTITLEYou can see what’s happening in the code:
<a class="url" href="pageurl" title="TITLE <small class=" subtitle"="">SUBTITLE" rel="bookmark"> TITLE <small class="subtitle">SUBTITLE</small> </a>
I was trying to remove it to avoid the problem and I see there is a filter setup:
return apply_filters( 'visual_subtitle_supported_types', $supported_types );
https://github.com/GaryJones/visual-subtitle/issues/6
but I can’t figure out how to use it in my functions file so that the subtitle is disable on tribe_events post types, anyone familiar with filters could show what code to use?
- The topic ‘Filter? & Visual Subtitle Modern Tribe "The Events Calendar" displays code’ is closed to new replies.