/c/fun: Funny

20102 stories 38779 subscribers

Moderators

0

How To Create Custom Post Type In WordPress (Without Plugin) makeyourmood.inban site

function material_init { $labels = array( ‘name' => esc_html__('Materials', 'themedomain' ), 'singular_name' => esc_html__('Material Item', 'themedomain' ), 'add_new' => esc_html__('Add New Item', 'themedomain' ), 'add_new_item' => esc_html__('Add New Material Item', 'themedomain' ), 'edit_item' => esc_html__('Edit Material Item', 'themedomain' ), 'new_item' => esc_html__('Add New Material Item', 'themedomain' ), 'view_item' => esc_html__('View Item', 'themedomain' ), 'search_items' => esc_html__('Search Material', 'themedomain' ), 'not_found' => esc_html__('No material items found', 'themedomain' ), 'not_found_in_trash' => esc_html__('No material items found in trash', 'themedomain' ) ); $args = array( 'labels' => $labels, 'public' => true, 'show_ui' => true, 'menu_icon' => 'dashicons-paperclip', 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'comments', 'author', 'custom-fields', 'revisions' ), 'capability_type' => 'post', 'hierarchical' => false, 'rewrite' => array( 'slug' => sanitize_title( 'material' ), 'with_front' => false ), 'menu_position' => 5, 'has_archive' => true ); register_post_type( 'material', $args ); } add_action( 'init', 'material_init' );
Read the full article on makeyourmood.in
category fun posted by diya 10 months ago 2 comments edit flag/unflag delete delete and ban this url

Comments (2)

You need to be logged in to write comments!
https://kavyachoudhary.com/
https://www.kavyachoudhary.com/russian-escorts-in-delhi/
https://www.kavyachoudhary.com/call-girls-in-delhi/
https://www.kavyachoudhary.com/nehru-place-escort
https://www.kavyachoudhary.com/karol-bagh-escort
https://kiamalhotra.in/
https://kiamalhotra.in/call-girls-in-delhi/
https://kiamalhotra.in/dwarka-escorts/
(10 months ago)
https://escort-delhi.in/
(10 months ago)
+1