WordPress comes with some default post type. Those are reserved in WordPress. You can create your own post type. Creating a post type in WordPress is nothing but a simple block of code. You just need to define your post type name and some array or string of arguments to register custom post type.
Author: admin
How to get post type object
As a WordPress developer, its very rare that you don’t know what is custom post type or post type. During WordPress theme or plugin development, sometimes it’s needed to check the slug of a registered post type or taxonomy slug of a taxonomy. Here is a quick way, how you can check what is the… Continue reading How to get post type object
How to check a page built with Elementor
When you developing a theme or plugin, sometimes its need to check whether any page is built with elementor or not. You can different functionality based on this checked result. Here is the solution, to check if any page is built with elementor. Elementor introduce theme location API from 2.0, that allows theme developers to… Continue reading How to check a page built with Elementor