• Hi. Great plugin. Much needed. Heaven knows why WP core dev team has not yet integrated reuse blocks/patterns into gutenberg block editor for the sidebar widget. Anywho, using this plugin specifically for that purpose.

    Seems like there is a conflict with the ad inserter plugin when adding reusable block to sidebar widget. The content we use ad insert plugin to dynamically add to end of pages also appears at the end of the sidebar widget where reusable blocks are displayed.

    Is that because the reusable blocks/patterns are being treated as pages or posts rather than a custom post type by wordpress?

    Just a heads up since ad inserter is a very popular plugin.

    https://www.ads-software.com/plugins/ad-inserter/

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve been having this problem with various other plugins or code that auto-insert elements into the_content.

    The problem is line 410 in reusable-blocks-extended.php:

    echo apply_filters( 'the_content', reblex_get_block( $block_id ) );

    Should be:

    echo do_blocks( reblex_get_block( $block_id ) );

    If you edit the plugin directly, and at your own risk, your change will obviously be overwritten unless the developer makes this change in a new release. Which I hope will be the case!

    Thread Starter wordmax

    (@wordmax)

    Hi @ryantown thanks for the heads up. Will give it a try. You think we could use code snippets plugin to run the code so it wouldn’t be over-written with plugin update? Hopefully the plugin dev will see this topic and fix it on future plugin update.

    Hi @wordmax, I’m sure it’s possible, but I haven’t explored that yet.

    I decided to just write my own plugin that is more simplified, but still achieves the main things this plugin is doing.

    Thread Starter wordmax

    (@wordmax)

    Hi @ryantown thanks let us know if you decide to share the plugin with the wp community. Appreciate the help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conflict with Ad Inserter plugin on sidebar widget’ is closed to new replies.