[Plugin: Advanced Excerpt] Filtering Options – suggested code revision
-
Just a brief suggestion: It would be fantastic if the plugin could allow users to select only certain situations in which the excerpt would be modified (i.e. only for feeds), for example:
if( !$option_replace_feeds && !is_feed() )
return wp_trim_excerpt($text);
…(I specifically use it so images will remain in my feeds, but I also have a “featured posts” widget on my mainpage which uses excerpts overlayed on post thumbnails, so in this case, embedded images overlap the image I’m trying to display. I solved the issue with the above two-line hack, but I think this option could be quite handy ??
- The topic ‘[Plugin: Advanced Excerpt] Filtering Options – suggested code revision’ is closed to new replies.