• Resolved Damian P.

    (@damian-p)


    Hi! I would like to create a rule that shows a block only if the post has any content. What condition should I set?

    Thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi @damian-p,

    Thanks for reaching out. Unforutnately, this condition does not currently exist in Block Visibility, but I have noted this feature request for future versions.

    Best,
    Nick

    +1 for this feature request.

    I use GeneratePress with GenerateBlocks, and their “Elements” feature allows you to use the block editor to create templates that apply to all single pages. It would be awesome to be able to only display a heading+content, only if the_content() isn’t empty.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.