Open “function.php” add the following code to add new custom post type :
<?php
add_action(‘init’, ‘featured_post_register’);
function featured_post_register() {
$labels = array(
‘name’ => _x(‘Featured Posts’, ‘post type general name’),
‘singular_name’ => _x(‘Featured Posts’, ‘post type singular name’),
‘add_new’ => _x(‘Add New’, ‘featured posts’),
‘add_new_item’ => __(‘Add New Featured Posts’),
‘edit_item’ => __(‘Edit Featured Posts’),
‘new_item’ => __(‘New Featured Posts’),
‘view_item’ => __(‘View Featured Posts’),
‘parent_item_colon’ => ”
);
Read more...
Featured Post
Symphony की ठगी
Symphony की ठगी मैंने हाल ही में Symphony कंपनी से एक कूलर (https://symphonylimited.com/product/diet-3d-55i-desert-air-cooler/) खरीदा। आर्ड...
-
गणेश चतुर्थी भारत के प्रमुख त्योहारों में से एक है, जिसे बड़े धूमधाम और श्रद्धा के साथ मनाया जाता है। भगवान गणेश, जिन्हें 'विघ्नहर्ता...
-
Thank God! 18 th June, I become a dad of little angel. I was very happy on that time, before that I was in so much tension that I cannot tr...
-
भारत के साहित्यिक परिदृश्य में कई ऐसे कवि और लेखक हुए हैं जिन्होंने अपनी रचनाओं से समाज को न केवल प्रेरित किया बल्कि साहित्य में नए प्रतिमान...