Image XML Sitemap for posts, pages and Custom Post Type(CPT) in WordPress

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” ).

How to create image XML sitemap for posts, pages and Custom Post Type(CPT) in WordPress? Read More »

Remove Add to Cart Button

How can i remove/hide Add to Cart button from shop, category and product details page?

To remove/hide Add to Cart button from the WooCommerce shop, category, tag and product details page, you need to use some WooCommerce action hook. Please read more to get the action functions that I have used to remove Add to Cart button, product price etc.

How can i remove/hide Add to Cart button from shop, category and product details page? Read More »

Scroll to Top