#1. First, you need to edit Page where you want to add Code Block
#2. Click Add a Block
#3. Choose Code Block from list
#4. Click pencil icon to edit Code Block and add your code
Note 1:
If you enable this option “Display Source Code”, It will disable the code you inserted in Code Block. Therefore, when you insert code and the code does not run, make sure this option is disabled.
Note 2:
If you insert Code Block in the Footer, it will affect all pages. If you insert Code Block in Page Content, it only affects that page (whether you insert it at the top, bottom or middle of page content, it’s all the same).