If you don’t like the video or need more instructions, then continue reading.
First thing you need to do is install and activate the Global Content Blocks plugin. Once activated, go to plugin’s settings page under Settings » Global Content Blocks.
Click on Add a New Content Block button. This will take you to add a new content block page.
Provide a name for your content block and then choose what kind of content block it is. Optionally provide a description for the content block. Finally paste the code the in the content box, or type it in. The content box editor is very similar to WordPress post editor.
You can add images to your content block. There is also a button to add an existing content block inside a new content block. In most cases you would probably just want to paste some code here. This could be an Adsense code, a pricing table, an iframe embed, custom optin form etc. Switch to text editor and paste your code. Save your changes and your content block is ready to be used.
To add a content box to a post or page. Edit the post where you want to add the content block. Click on the global content block icon among your visual editor buttons. Clicking on it will open a pop-up where you can choose which content block you want to add.
In case you have disabled visual post editor on your site. Then you can add a global content block to your posts by using the shortcode. These shortcodes are listed on Global Content Blocks settings page next to the content blocks you have created.
Global content blocks does not just allow you to use executable code inside posts, there are many other ways to do just that. What’s great here is that it allows you to save your code snippets in blocks so that you can reuse, modify, and delete them from one convenient interface.