Documentation

Reusable Content & Text Blocks WordPress Plugin

Content Block Chains and Circular References 2017-11-24T10:41:23+00:00

Content Block Chains and Circular References

As content blocks are themselves custom post types, they can contain shortcodes for embedding other content blocks. As such, the plugin allows you to have a chain of content blocks. For instance, you might have:

Post or Page contains Content Block A, which contains Content Block B, which contains Content Block C, etc.

The plugin is designed to protect against circular references that would cause an infinite loop. For example, you might have:

Post or Page contains Content Block A, which contains Content Block B, which contains Content Block A

Or more complex scenarios:

Post or Page contains Content Block A, which contains Content Block B, which contains Content Block C, which contains Content Block A

In each case, the plugin is designed to drop the second loop.