Skip Navigation

Toolset Grid Block brakes if displayed in a Content Template rendered with render_view_template() after the loop

Resolved

Reported for: Toolset Blocks 1.1.0

Symptoms

Toolset Blocks version 1.1 introduced a new Toolset Grid block.

There is an issue which causes this block to brake and it happens in the following case:

  • You insert the Toolset Grid block into a Content Template.
  • You insert that Content Template (or assign it) into a post.
  • You then render that same Content Template again using the render_view_template() function, somewhere after the native the_content() call.

As a result, the second Toolset Grid will result in a “broken” layout  where grid cells are stacked in rows instead of columns.

You can see an example and comparison of this in the following two screenshots.

Workaround

Currently, there is no solution for this issue.

Comments are closed