Warning: Undefined array key "title" in /home/u593943216/domains/wp-experts.in/public_html/secure_content/themes/wp-experts/inc/classes/class-hooks.php on line 151
hello everyone If you are planning to create a custom post type then use my code, hope you will enjoy my code. Add this code in your theme function file add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'R_News', array( 'labels' => array( 'name' => __( 'News' ), 'singular_name' => __( 'News' ) ), 'public'