Featured

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 »