The easiest way to Disable PDF Thumbnail Previews In WordPress. You can disable the pdf thumbnail preview very easily in WordPress by adding a small code snippet in your WordPress theme files.
🔔 Subscribe to our channel: / @fixrunnercom
👉How To add a PDF viewer In WordPress ► • How To Add A PDF Viewer In WordPress
★ Get WordPress Support ► https://www.fixrunner.com/
📺 Need Immediate Help? Contact us ► https://www.fixrunner.com/pricing-tab...
★ Code Used in the Video ►
function wpb_disable_pdf_previews() {
$fallbacksizes = array();
return $fallbacksizes;
}
add_filter('fallback_intermediate_image_sizes', 'wpb_disable_pdf_previews');
0:12 - Introduction
1:00 - Navigating to the theme files
1:24 - Adding the code.
▼ More Tutorials By Fix Runner ▼
👉 How to set up Cloudflare SSL on WordPress ► • How to set up Cloudflare SSL on WordP...
👉 How To Fix WordPress Login Redirect Loop Problem ► • How To Fix WordPress Login Redirect L...
👉 How To Remove Query Strings From Static Resources in WordPress ► • How To Remove Query Strings From Stat...
▼ More Playlists By Fix Runner ▼
👉 Elementor Tutorials ► • Elementor Tutorials
👉 Woocommerce Tutorials ► • WooCommerce Tutorials
Fixrunner offers professional WordPress help and WP support by our experts. We take care of all the backups, updates, security, speed optimization, and much more. Furthermore, our fast 1-time WordPress fix services for any WP emergency. Additionally, WP hosting service and any future development work you may need.