Categories
WordPress

How to Work with iFrame during WordPress Post Insertion?

Content sharing is fairly a common practice. However, featuring another creator’s content on your WP site has potential legal ramifications. In a nutshell, iFrame is a fruitful way to embed a web page into the content of another page. There are two situations where iFrames are generally useful. First, when you wish to share content […]

Categories
WordPress

Adding a Mime Type to WordPress

WordPress doesn’t have .xml as part of its default mime-types, so we need to add it ourselves. How can you do that? Search for wp_get_mime_types() function in the WordPress core files. You will find it inside the wp-includes/function.php. In the function, you will find a filter called mime_types. We have an appropriate filter now, and […]