Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Only show a specific block when a certain meta qualification is met

  • Hi there,

    I am trying to create a custom “authority” block like the one shown here.

    I want this block to appear beneath the featured image on certain blog posts. I ONLY want this block to appear when a specific author or reviewer (a new meta field I created) is chosen. Basically, I only want the block to show when one of our veterinarians has written or reviewed the article.

    I have ACF as well, which is where the reviewed_by field was created.

    How can I set this up?

  • Hi there,

    In the block element, select the parent container of this section, and you can set up the remove container condition to no post meta > review_by.

    Here’s a screenshot for your reference:
    https://app.screencast.com/LJj6DehePMuSO

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