These instructions cover embedding a Github Gist on a self hosted WordPress site, using the oEmbed plugin. Wordpress sites hosted by WordPress.com come with this feature already built in.
Take a Jupyter notebook
Open the notebook in a text editor and copy the content
Paste the content into a Github gist, and save it as a public gist
Add the public gist URL to your post, in the HTML (Text) editor