Buy me a coffee

How to add a Code Block

#1. First, you need to edit Page where you want to add Code Block

how-to-add-a-code-block-01-min
#2. Click Add a Block

how-to-add-a-code-block-02-min

 

#3. Choose Code Block from list

how-to-add-a-code-block-03-min

 

#4. Click pencil icon to edit Code Block and add your code

how-to-add-a-code-block-04-min
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.

how-to-add-a-code-block-05-min
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).