How To Add CSS Code In MU Plugin

A must-use plugin (also called a ‘mu-plugin’) is a plugin that will always be activated by default, without you needing to do it yourself. To activate a mu-plugin, you just have to upload it in the right directory, and WordPress will automatically know that this plugin must be used. Moreover, a mu-plugin cannot be deactivated:

Show the Featured Image Inside A Post On A Site Using Shortcode

If you are looking how to insert a featured image inside a post, you can try the following solution.  Add the following code inside the functions.php of your theme: add_shortcode(‘thumbnail’,’thumbnail_in_content’); function thumbnail_in_content( $atts ) { global $post; return get_the_post_thumbnail( $post->ID ); } Control the features images with the shortcode: [thumbnail size=medium align=right] The side can be

Best CSS Code Generators

Web designers are always looking for shortcuts to save time in their routine. Many great dev tools ease the process, and it’s now easier than ever to jump in and get a finished product quickly. Free online code generators will help you iterate and build onto your code quickly. Once you know what code you

How to embed videos to your WordPress Site

With video, there are so menu thing that you can explain to your visitors. You can upload your videos on Youtube, Vimeo, depending on your preference and how long your video is. You should never upload videos to your WordPress site. But this will be analysed in another article. In this article I explain how to use

How to resize images in WordPress

WordPress by default compresses and optimizes images for web-use. Usually, the max width and height in WordPress Media settings do not exceed 1024 px. What happens if the dimensions are greater than 1024px? After testing for page speed with PageSpeed Insights, recommendation to re-size the website’s images. This could affect the site’s page ranking in Google, especially when you

Adding Images From Media Library

Whenever creating or altering a WordPress page or blog post, you can add images with the WordPress Media Uploader. The Media menu can be used to manage your current media, like images, PDFs, video and audio files. Check out this short video: [wpmudev-video video=”add-image-from-media-library”]