• tell me how can I disable the widget after loading the widget for displaying pdf files forever. It annoys me so much when I upload a large number of pdf files and when the upload of pdf files to the site is finished, it immediately starts loading the pdf file preview widget itself after uploading the pdf file to the site itself and I don’t need it, why the hell did I need your pdf file widget (it’s annoying for me). Question: why do you need a pdf file preview widget? Huh? I’m just fed up and tired of clicking on the “PDF Settings” tab -> “Show embedded objects” on each pdf file and so on every time, each file needs to be entered on the “PDF Settings” tab -> “Show embedded objects” disabled and I need it in the disabled state all the time! It’s just awful! What kind of nonsense is this? How? How can I deal with this tab “PDF Settings” tab -> “Show embedded objects”? Am I just wasting extra time on these clicks on the “PDF Settings” -> “Show Embedded Objects” tab and constantly disabling it? It’s just that my head hurts and my ass burns from such a mouse click! Ah! Maybe you can refuse this “PDF Settings” -> “Show Embedded Objects” tab? I hope you understand what I mean. Thank you!

Viewing 1 replies (of 1 total)
  • Hi @multigame,

    I understand how frustrating it can be when the PDF widget loads every time after uploading a file, especially when you’re dealing with a large number of PDFs.

    Unfortunately, there isn’t a built-in option in WordPress to globally disable the PDF preview widget after each upload. However, you can try a couple of workarounds:

    1. Disable the widget with code: You can add this snippet to your theme’s functions.php file to disable the PDF preview widget:
    function disable_pdf_preview_widget() {
    remove_action('media_buttons', 'pdf_preview_function_name');
    }
    add_action('admin_init', 'disable_pdf_preview_widget');

    This will prevent the preview from showing up after every upload.

    2. Use a plugin: There are several file management plugins available that provide more customization when dealing with uploaded media. These might allow you to control the PDF preview settings more effectively.

      I hope this helps! If you need more assistance, feel free to ask.

      Best,
      Mohd Javed

    Viewing 1 replies (of 1 total)
    • You must be logged in to reply to this topic.