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 »Category: Wordpress
Most popular and simplest content management system (cms) has come a long way since the release of the first version in 2003. WordPress powers over 35.2% of all the websites on the Internet. According to W3techs, WordPress has 61.8% of the CMS market share
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 »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 »How to create image XML sitemap for posts, pages and Custom Post Type(CPT) in WordPress?
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 »