X

WordPress Upload Pdf, doc, ppt file types

WordPress Upload Pdf, doc, ppt file types. Here is a function which will help you to solve the error while uploading other files types on your wordpress. Here is the code. Add the below function on your theme’s functions.php. function kv_extra_mine_types($mime_types){ $mime_types['docx'] = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'; $mime_types['doc'] = 'application/msword'; $mime_types['pdf'] = 'application/pdf'; return $mime_types; } add_filter('upload_mimes', 'kv_extra_mine_types', 1, 1);  

How to Read and get Texts from Docx Files in WordPress

How to Read and get Texts from Docx Files in WordPress. I think there is no plugin helps you to process Docx files and get text contents from the file. So I┬átried to get a ready made code from different web forums and blogs. But i couldn’t get one. So i decided to go with my own code. Than find some informative things and made ...

How to read and view docx Files using PHP

How to read and view docx Files using PHP
How to read and view docx Files using PHP. Now days processing Word Document is becoming more popular. Even you can create a new Word Document and process with it. My previous article describes you to create Word Document by using PHP. Today we are going to discuss about reading the Docx files and convert it into text and view it online. Let’s begin with ...

Menu

Sidebar

Subscribe E-mail Updates

Subscribe to our email newsletter.

 

Advertisement

Category Posts