WordPress Plugin: Featured Image from URL
Running a website can be a daunting task, especially when it comes to managing content and ensuring that your site is visually appealing. One of the most important aspects of any website is its featured images. These images not only enhance the aesthetic appeal of your site but also play a crucial role in attracting and retaining visitors. However, managing these images can be a challenge, especially if you’re hosting your website on a VPS and have limited storage space. This is where the WordPress plugin, Featured Image from URL (FIFU), comes into play.
What is Featured Image from URL?
Featured Image from URL is a WordPress plugin that allows you to use an external image, an image from a URL, as the featured image of your post, page, or custom post type. This means you don’t have to upload and store images on your Server.HK server, saving you valuable storage space.
Why Use Featured Image from URL?
Save Storage Space: By using images from URLs, you can save on your VPS storage space, which can be used for other important files and data.
Easy Management: FIFU makes it easy to manage your featured images. You can easily change the image by simply changing the URL.
Speed Up Your Website: By using external images, you can speed up your website as the images are loaded from the external server, not your cloud server.
How to Use Featured Image from URL?
Using FIFU is straightforward. After installing and activating the plugin, you can simply paste the URL of the image you want to use as the featured image in the FIFU metabox on the post edit screen. The plugin will automatically set the image as the featured image of your post.
Code Sample
Here is a simple code sample that shows how to use FIFU to set a featured image from a URL:
<?php
// Get the FIFU metabox
$fifu = get_post_meta($post->ID, 'fifu_image_url', true);
// Check if the FIFU metabox has a value
if (!empty($fifu)) {
// Set the featured image from the URL
set_post_thumbnail($post->ID, $fifu);
}
?>
Conclusion
In conclusion, the Featured Image from URL plugin is a powerful tool for any WordPress website owner. It not only helps you save storage space on your Server.HK server but also makes managing your featured images a breeze. So, if you’re running a website on a VPS and are looking for ways to optimize your storage space and improve your site’s performance, consider using the Featured Image from URL plugin.