Multiple content blocks
[resolved] Multiple content block dissapeared after update (32 posts)

  1. Trendwerk
    Plugin Author

    Posted 3 years ago #

    I'd like not to have an admin page for this, because that will cause alot of maintenance OR the functionality will be alot less flexible (now each page/post can have their own blocks).

    However, I agree that the current plugin uses quite a dangerous scenario for the blocks. I think having an 'inactive blocks' widget where you can see the old content is a great idea (like inactive widgets). First thing on my list for this plugin, so I'll let you know.

    I would also like to build in caches for the different templates so you will see the right blocks even though they can't be retrieved automatically at that specific moment (http://wordpress.org/support/topic/multiple-content-block-dissapeared-after-update?replies=30#post-3963813).

    Thanks alot for your ideas and work on this!


  2. Trendwerk
    Plugin Author

    Posted 2 years ago #

    Hi Everyone,

    I've just released an update of the plugin.

    The above fallback method was impossible, since there's not function that determines what template will be used. It just happens in wp-includes/post-template.php, without any function being called. Too bad.

    HTTP Requests are simply not possible in some situations and there's not other reliable way of determining what blocks have to be used (and keep the plugin simple to use for cases when it DOES work). However, I have incorporated a new admin page where you can switch off HTTP Requests and refresh the blocks manually. Hope this helps.

    You can also visit this admin page to show 'inactive blocks'. So when blocks are lost or not shown in some situations, you can see these inactive blocks and retrieve your lost content. Next thing on the list are revisions, so content won't be lost.

    Thanks for your help and I'd love to hear ideas on how to make this plugin even simpler and make it work in any situation.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multiple content blocks
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.