• Hey there,

    I have a CPT I’m building that has an area for accordions to hold custom meta. What is the best approach to leverage the kadence accordion block in this context? It’s not something a user will be placing themselves btw.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,
    Just to clarify will the accordion need to be visible, editable in the editor or is it something that won’t show until the actual page you just want to use our engine to run it?

    Ben

    Thread Starter digisavvy

    (@digisavvy)

    Hey Ben,
    Thanks for the speedy reply. We don’t require that the accordion is editable, no. We just wanted to use your accordion for display purposes on a specific CPT template to display specific information.

    ok, if you copy the output html you can past that into your template, then change the content part with a call for your information. Lastly, you will just need to make sure load the scripts:

    wp_enqueue_style( 'kadence-blocks-accordion' );
    wp_enqueue_script( 'kadence-blocks-accordion-js' );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using a Block in a Dynamic Layout’ is closed to new replies.