All posts by John

I am a teacher, currently working in Banton Primary for North Lanarkshire Council. I also act as Product Owner/provide support for Glow Blogs. I like Blogs.

PDF

Update 30 Aug 2023, the embed of pdf seems to have stopped working in the classic editor. We have a couple of workarounds, below the classic section.

Classic

You can paste a link to a PDF into your blog and it will be embedded:

Click to access PDF-embed.pdf

If you upload a pdf using the Add Media it will insert a link like this:PDF Embed

You can switch to the Text Editor and copy the URL to paste in to embed the pdf.

select link screenshot
Copy link

Needs the Jetpack plugin to be activated and the shortcode module to be turned on.

Workarounds

The embed from Google docs still works so you could use that, details on the main help blog.

Use the block editor, the pdf below is embed via the block editor. You need to enable this editor in setting. You can just set allow users to switch. Details of how to enable the block editor on the help blog. You then add a Files Block to the post and choose your pdf.

We have more info on the File Block and there is documentation on WordPress.org: File Block.

Gist

github gists (code snippits) can be shown by pasting the url to the gist, works for public and secret gists. This is the css for the list of embed links on the homepage of this blog. The list of links is provided by the Display Posts plugin.


.embedlinks .listing-item {
display: block;
float: left;
margin: 4px;
padding: 4px;
background: lightgray;
border-radius: 10px;
}
.embedlinks .listing-item a {
text-decoration: none;
color: black;
font-weight: bold;
}
.embedlinks .listing-item a:visited {
text-decoration: none;
color: black;
font-weight: bold;
}
.embedlinks .listing-item a:hover {
text-decoration: none;
color: red;
font-weight: bold;
}

The list is produced with the following shortcode:

[display-posts posts_per_page="100" orderby="title" order="ASC" wrapper="div" wrapper_class="embedlinks"]

After activation the Display Posts plugin.

Giphy

Just paste in a url: https://giphy.com/gifs/animation-ryan-seslow-ryanseslow-4HmjNLWlzis3H4V0Il on a line by itself.

https://giphy.com/gifs/animation-ryan-seslow-ryanseslow-4HmjNLWlzis3H4V0Il

Giphy may be blocked on school networks.

Block Editor

The gif block which requires Jetpack to be turned on, allows you to search for a gif or paste in a url.

Flickr Embed

Scots Pine

Flickr embeds need the Jetpack plugin with the shortcode module activated.

The flickr Gallery above is embedded by pasting in the link to the page. As is the image below:

A last Rowan

Unfortunately there is no way to adjust the size.

Block Editor Embeds

The Block editor provides a Flickr embed block, which gives a slightly larger version of the image. If you paste a flickr url into the editor it will add an embed block or you can add the flickr block in the usual way.

A last Rowan