{"id":357,"date":"2020-12-12T10:34:50","date_gmt":"2020-12-12T10:34:50","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/?p=357"},"modified":"2026-02-16T15:20:21","modified_gmt":"2026-02-16T15:20:21","slug":"pdf","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/2020\/12\/12\/pdf\/","title":{"rendered":"PDF"},"content":{"rendered":"\n<p>Update 30 Aug 2023, the embed of pdf seems to have stopped working in the classic editor. We have <a href=\"#workarounds\" data-type=\"internal\" data-id=\"#workarounds\">a couple of workarounds<\/a>, below the classic section. In general we are now recommending the block editor.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Classic<\/h3>\n\n\n<p>In the classic editor you can paste a link to a PDF into your blog and it will be linked:<\/p>\n<p><p><a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/embeds\/uploads\/sites\/9301\/2020\/12\/12104900\/PDF-embed.pdf\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Click to access PDF-embed.pdf<\/a><\/p><\/p>\n<p>If you upload a pdf using the Add Media it will insert a link like this:<a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/embeds\/uploads\/sites\/9301\/2020\/12\/12104900\/PDF-embed.pdf\">PDF Embed<\/a><\/p>\n<p>\u00a0<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"workarounds\">Workarounds<\/h3>\n\n\n\n<p>The embed from Google docs still works so you could use that, <a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/portfolio\/pdf-embed-via-google-docs\/\">details on the main help blog<\/a>.<\/p>\n\n\n\n<p>Use the Dear Flip plugin, it creates a flipbook from an uploaded PDF, We have <a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/dflipex\/\">some examples<\/a>.<\/p>\n\n\n\n<p>Use the <strong>block editor<\/strong>, the pdf below is embed via the block editor. You need to enable this editor in settings. You can set allow users to switch. Details of how to <a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/how-to\/the-block-editor\/\">enable the block editor<\/a> on the help blog. You then add a Files Block to the post and choose your pdf.<\/p>\n\n\n\n<p>We have <a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/blocks\/file-block\/\">more info<\/a> on the File Block and there is documentation on WordPress.org: <a href=\"https:\/\/wordpress.org\/documentation\/article\/file-block\/\" data-type=\"URL\" data-id=\"https:\/\/wordpress.org\/documentation\/article\/file-block\/\">File Block<\/a>.<\/p>\n\n\n\n<div data-wp-interactive=\"core\/file\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!state.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/embeds\/uploads\/sites\/9301\/2023\/08\/30174647\/test.pdf\" type=\"application\/pdf\" style=\"width:100%;height:600px\" aria-label=\"Embed of test.\"><\/object><a id=\"wp-block-file--media-6c4859c7-c265-47f8-ba79-f94a92c4a4f7\" href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/embeds\/uploads\/sites\/9301\/2023\/08\/30174647\/test.pdf\">test<\/a><a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/embeds\/uploads\/sites\/9301\/2023\/08\/30174647\/test.pdf\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-6c4859c7-c265-47f8-ba79-f94a92c4a4f7\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>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. In general we are now recommending the block editor. Classic In the classic editor you can paste a link to a PDF into your blog and it will &hellip; <a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/2020\/12\/12\/pdf\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">PDF<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[5],"class_list":["post-357","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-jetpack"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/posts\/357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/comments?post=357"}],"version-history":[{"count":11,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/posts\/357\/revisions"}],"predecessor-version":[{"id":736,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/posts\/357\/revisions\/736"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/media?parent=357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/categories?post=357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/tags?post=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}