Custom Fields
Re-Envisioned
Support MB Blocks Clone and Gutenberg issues - please help

  • Creator
    Topic
  • #18217
    Resolved Duncan
    Participant

    Hi,

    How would I render this type of example out in a Gutenberg block, https://metabox.io/clone-group-custom-fields-using-meta-box-group/

    I have tried a number of different ways and am totally stumped. I can render the fields out in the right sidebar and can add more fields etc, but when I try and populate the fields I get a loader in the Gutenberg block and no content.

    I have also tried the code from https://metabox.io/support/topic/block-doesnt-render-on-frontend/ . I know that the template file to display the content works in that it outputs the first line -> echo 'test output';, but it throws an error for any data that I enter into the clonable fields saying that the JSON is incorrect.

    If anyone could help using this example with the cars https://metabox.io/clone-group-custom-fields-using-meta-box-group/ to output the content from the fields in the actual Gutenberg block I would be massively appreciative.

    Many thanks in advance,

    Duncan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #18243
    Anh Tran
    Keymaster

    Hi Duncan,

    When you see a forever-loader icon, it might be caused by a PHP error in your template file or template render callback. Please turn on the debug mode and see if there's any error in the log.

    #24056
    Duncan
    Participant

    Hi Ahn,

    Sorry for the late reply. But I'd thought I'd respond to keep your forums tidy. I managed to get this working a while ago. Ultimately it is very straightforward and following the help pages and effectively doing this all from scratch gave me a better understanding of how to use the plugin properly.

    I think the plugin the awesome and thanks. Keep up the good work.

    All the best,

    Duncan

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