Site logo

Archived topic

Adding Widget inside a Block Container

2 replies · Started by Zarar on August 31, 2022

Viewing posts 1–3 of 3

Can I add a Widget which I have defined in functions.php inside a container block element?

Hi there,

Is this widget a function? If so, you can either use the hook element and tick theexecute PHP box or create a shortcode for the function, then you should be able to add this shortcode using a shortcode block in the block element.

This is a sufficient workaround. Thank you!

This archived topic is closed to new replies.