To generate/create an Image XML Sitemap using a featured image and images from the post content area in WordPress, we need to use an action hook called publish_{$post->post_type} ( triggered whenever a post, page or Custom Post Type(CPT) post is updated, or its new status is “publish” ).
Read More »Caching data with WordPress Transients API
This article will show how we can cache data in WordPress using WordPress Transients API with a real-world example. Here I described everything step by step.
Read More »has_action VS did_action in WordPress
In this article, we will learn what has_action and did_action are and how we can use them. Here we can see everything about has_action and did_action with an example.
Read More »What is URIs, URLs, and URNs and what is the difference between URI and URL.
Here I will talk about URIs, URLs and URNs because I see a lot of confusion between the three. In fact, I used to confuse them, and they caused me a lot of headaches, and I don’t want you to go through that.
Read More »PrestaShop Installation Problem on Localhost XAMPP Server and Solution
Showing error like this:
Oops! Please correct the item(s) below, and then click “Refresh information” to test the compatibility of your new system.
->GD library is not installed
->Intl extension is not loaded
WordPress 5.7 Major Release : From HTTP to HTTPS in a single click
In WordPress 5.7, it is much easier for users to migrate their sites from HTTP to HTTPS. Switching a site from HTTP to HTTPS is a one-click move. WordPress will automatically update database URLs when you make the switch if the user’s hosting environment has support for HTTPS.
Read More »How do I Import an RSS feed as WordPress posts properly(without duplicates)?
Before starting to import an RSS feed as WordPress posts, you need to know about some WordPress and PHP functions like wp_schedule_event(), wp_insert_post(), simplexml_load_file() etc. Let’s describe its details:
Read More »