How to rewrite URI of custom post type in WordPress?

Posted by Prem Tiwari | Updated on | in WordPress, WordPress Core.


In this post, I will share how to rewrite URI of custom post type in WordPress. This is what I use to rewrite custom post type URLs with the post ID. You need a rewrite …

WordPress WP_Site_Health and list of Methods

Posted by Prem Tiwari | Updated on | in WordPress Core, WordPress Functions.


WordPress 5.2 has introduced a new Site Health Tool in the admin to help site owners with common configuration issues that might cause problems for their site. WP_Site_Health Class for looking up a site’s health based …

WordPress | Function get page by title

Posted by Prem Tiwari | Updated on | in WordPress Core.


WordPress | Function get_page_by_title() retrieves a post given its title. If more than one post uses the same title, the post with the smallest ID will be returned. Because this function uses the MySQL ‘=’ …

WordPress 5.2 Beta 2 is now available for download

Posted by Prem Tiwari | Updated on | in WordPress Core.


There are two ways to test the WordPress 5.2 beta: try the WordPress Beta Tester plugin (you’ll want to select the “bleeding edge nightlies” option), or you can download the beta here (zip) format. WordPress 5.2 …