How to display Image Advanced MB field in a FSE theme template/template part?

Support General How to display Image Advanced MB field in a FSE theme template/template part?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34283
    hartsook@gmail.com[email protected]
    Participant

    I'm trying to see if I can build sites using Twenty Twenty Two (or other FSE theme) without using the Beaver Builder Themer tools I've used over the last several years.

    MB easily lets me create custom post types that I can place on a page using the Kadence Blocks Pro Post Grid/Carousel (the WP Query Loop currently doesn't support custom post types). So that's great.

    But I want to create a FSE page template for the custom post type that will display custom fields for that post type. I can use MB to create the custom fields, e.g. text field, and Image Advanced field. In the template layout I can use the Dynamic Content feature of Kadence Blocks Pro Advanced Text Block to display the MB custom text field. But no image block including Kadence Advanced image uses the Dynamic Content feature. The Kadence Row Layout Block looks like it is supposed to enable you to select a background image for the row using the Dynamic Content and shows the MB Image Advanced field. But it doesn't get applied.

    I will contact Kadence to see if they are aware to the bug in the Row Block and the missing Dynamic Content for image blocks.

    TLDR;
    But is there an alternative way I can display MB custom field content in a FSE theme Template or Template Part?

    #34300
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Kadence Block is not compatible with Meta Box yet so it will not work to show the image_advanced field. You can try to use the field single_image instead.

    Or you can create your own block to show in the FSE theme template.
    https://docs.metabox.io/extensions/mb-blocks/

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