WordPress allows the upload of different filetypes to posts through custom fields, but it only understands certain file types by default.
As an example, if you wanted to allow the upload of ebook formats like epub and mobi, you need to tell WordPress how to understand those filetypes.
Continue reading “Adding Custom Mime Types for WordPress Uploads”
I was asked to find a list of posts in a WordPress install where the body text contained a certain string. Subsequently, I discovered how bad the search is in the post listing screen and decided it would be easier to find them in the database.
To just grab the useful information, I used the following SQL:
Continue reading “Selecting WordPress Posts That Contain a String in PhpMyAdmin”