How to add featured image in post listing page in WordPress admin?

If you want to add featured image in post listing page in WordPress admin dashboard, this post is for you. Here, I am going to show you how you can add featured image in post listing page. Just use the code below in your functions.php or in the plugin code to make the featured image appear in listing page. One […]

How to register Custom Post Types?

If you are wondering, How to register Custom Post Types?, then this is correct Tutorial for you. To create a new custom post type, you’ll use the register_post_type() function as shown here: The register_post_type() function accepts two parameters: 1. $post_type — The name of the post type. Should contain only lowercase letters, no spaces,and a max length of 20 characters. […]

Searching custom post according to title

Searching custom post according to title. Solution: If you need to fetch search custom posts types according to the title, just reference the code given below. Say you have custom post types called ‘house’ and there are several posts. If you need to search title “2bhk elegant flat”, just use this code to update searching. Here, static title is used […]