• boybawang

    (@boybawang)


    Hello –

    Could give me an example on how to use the do_blocks() function in WordPress to display the Classified List block?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,

    for the do_blocks() function you need the block code, to get it create a block in the wp-admin / Pages panel, in the top right click the options (three dots) button, select “Code Editor” and copy the block code from there.

    It might be easier to just use our [adverts_block] shortcode instead https://wpadverts.com/doc/rendering-blocks-adverts_block/

    Thread Starter boybawang

    (@boybawang)

    Thanks Greg. When I get a chance I’ll go over this (and the shortcode you mentioned in the other thread I created)

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

The topic ‘Using do_blocks() to display Classified List block’ is closed to new replies.