How to embed posts using Instagram and not external plugins or tools.
Note that does not support embedding a feed - only a single post.
When on a post, at least in the web view, click the three dot menu and then the “Embed” option.
You’ll get the choice to include the caption.
Here is a sample generated by Instagram from https://www.instagram.com/p/B1YVS80D9W_/.
It’s very long so not shown here as code.
Copy the URL for an IG post and append /embed
.
Then add it as the "src"
for an iframe.
I recommend setting width and height as well to avoid getting a box that is cut off unnaturally.
Code sample:
<iframe
src="https://www.instagram.com/p/POST_ID/embed"
width="XXX"
height="YYY">
</iframe>
Like and comment areas disappear.
View profile button becomes prominent and name gets cut off.