Selectively disable custom template OR filter content
-
Is it possible to selectively disable Advanced Excerpt for a custom template?
The problem is that I needed to limit excerpt length, while also parsing video oEmbed links (actually Lyte plugin httpv links). My theme – Genesis Framework – was not allowing both.
Advanced Excerpt solved the problem, but now I need a custom template where it doesn’t parse video links, so I either need to be able to disable Advanced Excerpt’s function for my custom page template (with custom Genesis loop)..
OR else stop Lyte’s parsing with a filter. The Lyte developer said:
remove_filter(‘the_content’, ‘lyte_parse’);
But it didn’t work, which made me wonder if the_content was correct with Advanced Excerpt active.
The topic ‘Selectively disable custom template OR filter content’ is closed to new replies.