WordPress Plugin To Allow Word/Microsoft File Uploads

This is a super simple plugin that allows you to upload doc, docx, ppt, pptx, xls, xlsx files through the media library uploader. I couldn’t find a plugin that could do this, so I decided to build one. Hope it helps others too.


10 thoughts on “WordPress Plugin To Allow Word/Microsoft File Uploads

  1. I strongly recommend changing the function name ‘custom_upload_mimes’ to something more unique like ‘yohman_custom_upload_mimes’. This will prevent a fatal error caused when another plugin author uses your code or the example from which it was made from trying to declare/redeclare the same function.

  2. It did not go well. While uploading through media upload button fianlly i got the message as below.

    “abcd.docx” has failed to upload due to an error
    Unable to create directory /home/medicaltourismmodel/www/wordpress/wp-content/uploads/2011/01. Is its parent directory writable by the server?

    what to do now/

  3. I don’t know much about how these things work, but if I upload a spreadsheet that I have, will readers be able to type a number into ONE cell, and then see the results of the calculation that the spreadsheet makes ?

    ie: Exactly as I would using the spreadsheet on my PC.


Leave a Reply