Post Content HTML tag

It would be nice to have the option to change the HTML tag for the Post Content block, rather than having to nest the default “div” inside of the tag we’re actually wanting.

?

oh you are saying this right

here this makes only one div

image

Thanks @sinanisler,

I was referring to the Post Content block inside bricks:

But, if there’s a way to request the Bricks and/or WP post content via dynamic data, that would solve the issue using the Basic Text block, where I can set the HTML tag. The problem is {the_content} only seems to apply to WP content.

EDIT: It looks like you might be able to add a 'data-source=“bricks”` attribute to the Basic Text block to distinguish which builder you’re wanting to output, but I’ll have to test it further to see for sure.

EDIT #2: The above doesn’t seem to work :unamused:

Widgets DIV => Code

DIV - set tag article

Code set setting without wrapper

and insert code

<?php
echo the_content();
?>

PROFIT!

BUT, I looked at the widget “post content” code and realized that making a custom tag is easy (1 minuts). I think the developers will add it if they deem it necessary.