First, create a custom block for Instagram
Next, Go to your Instagram page, and copy the link of your Instagram post that you want to embed on your OJS site.
Then, go to iframegeneratorfree.com website, paste the link that was copied before and added -> /embed/ in the last position.
If it’s done. Select “Generate” and copy the generated code.
Paste the generated code into the custom block manager that we created earlier.
Below is an example of the code and the image inserting the code into the “Source code”.
<h1>Instagram Page</h1>
<p><iframe style="border: 0px #ffffff none;" src="https://www.instagram.com/p/CG3oAWhhnf_/embed" name="myiFrame" width="100%" height="600%" frameborder="1" marginwidth="0px" marginheight="0px" scrolling="no" allowfullscreen=""></iframe></p>