• Resolved Daniel Mejta

    (@mejta)


    Hi Trinity team!

    Thank you for your plugin that can make the content more chewable for visitors. I’m trying to use your plugin on the client’s website, but it is not working because the website uses dynamic Gutenberg blocks. But your plugin does not recognise the post content inside dynamic blocks. The reason is that the function trinity_get_clean_text doesn’t call the do_blocks function on the content.

    My question is: can you implement that, please? It could be similar to what you do with shortcodes.

    Another solution would be to add a filter to the raw content so that I can resolve the blocks in my plugin, and you don’t need to deal with that. All that is needed is to add the following code after line 336 in file inc/common.php:

    $article_text = apply_filters( 'trinity_audio_clean_text_raw', $article_text, $post_id, $with_title, $with_excerpt );

    Can you do that for me, please? Thank you very much!

    Dan

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor trinityaudio

    (@trinityaudio)

    Hello Daniel,

    Thank you for reaching out.

    The input you have provided is really valuable and we will look into it and determine the possibility of adding it to the plugin.

    In the meantime, I encourage you to sign up using https://www.trinityaudio.ai/pricing-trinity-audio as our JS integration support any type of page.

    Best regards,

    Oren, Trinity Audio

    Thread Starter Daniel Mejta

    (@mejta)

    Thank you, Oren, for your answer.

    I definitely will use a paid subscription, but I would like to use the plugin because it would work exactly as needed with the proposed filter, as I mentioned. Is it something you can deliver to production soon, please? Thank you very much.

    Dan

    Plugin Contributor trinityaudio

    (@trinityaudio)

    Hi Dan,

    The ETA for the team to look into it is 2 weeks. I will keep you posted.

    Best regards,
    Oren, Trinity Audio

    Plugin Contributor trinityaudio

    (@trinityaudio)

    Hi Dan,

    I wanted to update you that new version of the plugin now supports blocks.

    Please let us know if that is working for you.

    Best regards,
    Oren, Trinity Audio

    Thread Starter Daniel Mejta

    (@mejta)

    Hi,

    thank you for the new version, it works as expected!

    Dan

    Thread Starter Daniel Mejta

    (@mejta)

    Resolving the issue

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Support for dynamic blocks/filter for the content’ is closed to new replies.