You can add an ECM code block to a widget right from the WordPress widgets page.
In the WordPress admin menu, select “Appearance” and then go to “Widgets“. There you should see the ECM Block Widget Linker. Drag and drop this to your desired widget and then configure it to select which code block you want to apply to the widget.
You can follow similar steps to add a code block to the footer as well.