Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Inspector controls inside dynamic block #46032
    forge-web
    Participant

    Thanks for your response- what I’m having trouble with is the rendering anything on the front-end. my PHP is based directly on the 13-dynamic-alt example (with a index.php file added in the block directory), but is not outputting anything, appears that jsforwpblocks_dynamic_block_render() is not being called at all.

    in reply to: Inspector controls inside dynamic block #45992
    forge-web
    Participant

    Hi! I’m working on something very similar, using inspector controls to toggle a dynamic block rendering between two custom post types. The example via ‘v1/jsforwp-blocks/blocks/examples/13-dynamic-alt’ has been really helpful but I’m having trouble with front-end rendering. Does the WP API approach still allow for the same rendering in PHP (using save: props => { // fetch in php return null; }?

Viewing 2 posts - 1 through 2 (of 2 total)