Skip Navigation

View block styles lost if post body included in View output, since 1.6.1

Open

Topic Tags: Toolset Blocks

Symptoms

A View displays posts in a grid and sundry styles are applied.

With Blocks 1.6.1 if the post body is included in the View output then none of the styles—including the grid layout—are applied on the front end.

If the View has caching enabled, the styles are applied on the initial page, but paginating via page reload to subsequent pages results in the styles being lost.

Workaround

The post body would ordinarily be output using the Single Field block.

Instead, use the shortcode block and add the post body using the shortcode [wpv-post-body view-template=”None”]

Leave
a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>