• Resolved Adrian Toll

    (@adriantoll)


    Currently story content can have paragraphs in the TinyMCE field of timeline stories, but those aren’t displayed on the front end because the the_content filter isn’t applied to it. Could you either apply that filter so TinyMCE styles are applied when it’s output, by changing line 217 of cool-timeline-shortcode.php to:

    $post_content = apply_filters( 'the_content', get_the_content() );

    Or the other alternative would be to allow developers to hook into the plugin at that point and apply their own filters to the content, like this:

    $post_content = apply_filters( 'cool_timeline_post_content', get_the_content() );

    Would either of those be feasible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I would like to see this filter added in, too. Captions do not render properly for images added to a timeline story.

    Hi @adriantoll,

    Thanks for the suggestion. We will surely add this filter in our plugin’s upcoming update.

    Thanks

    Plugin Author CoolHappy

    (@narinder-singh)

    Hi there,
    I have integrated these filters and released updates. Please update your plugin. You can also find more Filters from the FAQ section.
    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Applying filters to content output’ is closed to new replies.