{"id":19050,"date":"2025-01-27T16:26:10","date_gmt":"2025-01-27T16:26:10","guid":{"rendered":"https:\/\/acora.s.nomatter.dev\/?post_type=resources&#038;p=19050"},"modified":"2025-01-27T16:49:46","modified_gmt":"2025-01-27T16:49:46","slug":"testing-the-wp-pdf","status":"publish","type":"resources","link":"https:\/\/acora.s.nomatter.dev\/nltest\/insights\/testing-the-wp-pdf\/","title":{"rendered":"Testing the WP PDF"},"content":{"rendered":"<p>Testing WP PDF using the same file<\/p>\n<p>The PDFs that are uploaded into the CDN\u00a0<b>BEFORE\u00a0<\/b>the premium plugin was installed, are working properly with the plugin. For example, the following shortcode:<\/p>\n\n\t\t<div class=\"wppdfemb-frame-container-1\" style=\"-webkit-overflow-scrolling:auto;\">\n\t\t\t<iframe class=\"pdfembed-iframe nonfullscreen wppdf-emb-iframe-1\"\n\t\t\t\tsrc=\"https:\/\/acora.s.nomatter.dev\/nltest\/?pdfemb-data=eyJ1cmwiOiJodHRwczpcL1wvc3RhdGljLmFjb3JhLmNvbVwvYXBwXC91cGxvYWRzXC8yMDI0XC8xMVwvVGVuLXRvcC10aXBzLWZvci1zdWNjZXNzZnVsLU1BLUlULWludGVncmF0aW9uLnBkZiIsImluZGV4IjoxLCJwZGZJRCI6MCwid21fdGV4dCI6IiJ9\"\n\t\t\t\tdata-pdf-id=\"0\"\n\t\t\t\tdata-pdf-index=\"1\"\n\t\t\t\tstyle=\"border:none;width:100%;max-width:100%;height:100vh;\"\n\t\t\t\tscrolling=\"yes\">\n\t\t\t<\/iframe>\n\t\t<\/div>\n\n\t\t\n<p>But any PDF that is uploaded\u00a0<b>AFTER\u00a0<\/b>the premium plugin was instaled and using the securepdfs option, is not working in the shortcode (it shows that the PDF is corrupted, even though you can manually check, the link is correct and the PDF is not corrupted).<\/p>\n\n\t\t<div class=\"wppdfemb-frame-container-2\" style=\"-webkit-overflow-scrolling:auto;\">\n\t\t\t<iframe class=\"pdfembed-iframe nonfullscreen wppdf-emb-iframe-2\"\n\t\t\t\tsrc=\"https:\/\/acora.s.nomatter.dev\/nltest\/?pdfemb-data=eyJpbmRleCI6MiwicGRmSUQiOjAsInBkZmVtYi1zZXJ2ZXVybCI6Imh0dHBzJTNBJTJGJTJGc3RhdGljLmFjb3JhLmNvbSUyRmFwcCUyRnVwbG9hZHMlMkZzZWN1cmVwZGZzJTJGMjAyNSUyRjAxJTJGVGVuLXRvcC10aXBzLWZvci1zdWNjZXNzZnVsLU1BLUlULWludGVncmF0aW9uLnBkZiIsIndtX3RleHQiOiIifQ\"\n\t\t\t\tdata-pdf-id=\"0\"\n\t\t\t\tdata-pdf-index=\"2\"\n\t\t\t\tstyle=\"border:none;width:100%;max-width:100%;height:100vh;\"\n\t\t\t\tscrolling=\"yes\">\n\t\t\t<\/iframe>\n\t\t<\/div>\n\n\t\t\n","protected":false},"author":50,"featured_media":0,"template":"single-resources-gated-content.blade.php","resources_categories":[],"service-category":[],"service-type":[],"insight-format":[],"class_list":["post-19050","resources","type-resources","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Testing the WP PDF - Acora NL Test<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Testing the WP PDF\" \/>\n<meta property=\"og:description\" content=\"Testing WP PDF using the same file The PDFs that are uploaded into the CDN\u00a0BEFORE\u00a0the premium plugin was installed, are working properly with the plugin. For example, the following shortcode: But any PDF that is uploaded\u00a0AFTER\u00a0the premium plugin was instaled...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/acora.s.nomatter.dev\/nltest\/insights\/testing-the-wp-pdf\/\" \/>\n<meta property=\"og:site_name\" content=\"Acora NL Test\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-27T16:49:46+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/acora.s.nomatter.dev\\\/nltest\\\/insights\\\/testing-the-wp-pdf\\\/\",\"url\":\"https:\\\/\\\/acora.s.nomatter.dev\\\/nltest\\\/insights\\\/testing-the-wp-pdf\\\/\",\"name\":\"Testing the WP PDF - Acora NL Test\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/acora.s.nomatter.dev\\\/nltest\\\/#website\"},\"datePublished\":\"2025-01-27T16:26:10+00:00\",\"dateModified\":\"2025-01-27T16:49:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/acora.s.nomatter.dev\\\/nltest\\\/insights\\\/testing-the-wp-pdf\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/acora.s.nomatter.dev\\\/nltest\\\/insights\\\/testing-the-wp-pdf\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/acora.s.nomatter.dev\\\/nltest\\\/insights\\\/testing-the-wp-pdf\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/acora.s.nomatter.dev\\\/nltest\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Testing the WP PDF\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/acora.s.nomatter.dev\\\/nltest\\\/#website\",\"url\":\"https:\\\/\\\/acora.s.nomatter.dev\\\/nltest\\\/\",\"name\":\"Acora NL Test\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/acora.s.nomatter.dev\\\/nltest\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Testing the WP PDF - Acora NL Test","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_GB","og_type":"article","og_title":"Testing the WP PDF","og_description":"Testing WP PDF using the same file The PDFs that are uploaded into the CDN\u00a0BEFORE\u00a0the premium plugin was installed, are working properly with the plugin. For example, the following shortcode: But any PDF that is uploaded\u00a0AFTER\u00a0the premium plugin was instaled...","og_url":"https:\/\/acora.s.nomatter.dev\/nltest\/insights\/testing-the-wp-pdf\/","og_site_name":"Acora NL Test","article_modified_time":"2025-01-27T16:49:46+00:00","twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/acora.s.nomatter.dev\/nltest\/insights\/testing-the-wp-pdf\/","url":"https:\/\/acora.s.nomatter.dev\/nltest\/insights\/testing-the-wp-pdf\/","name":"Testing the WP PDF - Acora NL Test","isPartOf":{"@id":"https:\/\/acora.s.nomatter.dev\/nltest\/#website"},"datePublished":"2025-01-27T16:26:10+00:00","dateModified":"2025-01-27T16:49:46+00:00","breadcrumb":{"@id":"https:\/\/acora.s.nomatter.dev\/nltest\/insights\/testing-the-wp-pdf\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/acora.s.nomatter.dev\/nltest\/insights\/testing-the-wp-pdf\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/acora.s.nomatter.dev\/nltest\/insights\/testing-the-wp-pdf\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/acora.s.nomatter.dev\/nltest\/"},{"@type":"ListItem","position":2,"name":"Testing the WP PDF"}]},{"@type":"WebSite","@id":"https:\/\/acora.s.nomatter.dev\/nltest\/#website","url":"https:\/\/acora.s.nomatter.dev\/nltest\/","name":"Acora NL Test","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/acora.s.nomatter.dev\/nltest\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/acora.s.nomatter.dev\/nltest\/wp-json\/wp\/v2\/resources\/19050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/acora.s.nomatter.dev\/nltest\/wp-json\/wp\/v2\/resources"}],"about":[{"href":"https:\/\/acora.s.nomatter.dev\/nltest\/wp-json\/wp\/v2\/types\/resources"}],"author":[{"embeddable":true,"href":"https:\/\/acora.s.nomatter.dev\/nltest\/wp-json\/wp\/v2\/users\/50"}],"wp:attachment":[{"href":"https:\/\/acora.s.nomatter.dev\/nltest\/wp-json\/wp\/v2\/media?parent=19050"}],"wp:term":[{"taxonomy":"resources_categories","embeddable":true,"href":"https:\/\/acora.s.nomatter.dev\/nltest\/wp-json\/wp\/v2\/resources_categories?post=19050"},{"taxonomy":"service-category","embeddable":true,"href":"https:\/\/acora.s.nomatter.dev\/nltest\/wp-json\/wp\/v2\/service-category?post=19050"},{"taxonomy":"service-type","embeddable":true,"href":"https:\/\/acora.s.nomatter.dev\/nltest\/wp-json\/wp\/v2\/service-type?post=19050"},{"taxonomy":"insight-format","embeddable":true,"href":"https:\/\/acora.s.nomatter.dev\/nltest\/wp-json\/wp\/v2\/insight-format?post=19050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}