function add_support_features(){
register_post_type('zboomslider', array(
    'labels' => array(
        'name' => 'Sliders',
        'add_new_item'=>'Add New Slider'
    ),
    'public' => true,
    'supports' => array( 'title', 'thumbnail'
    ));
}
add_action('after_setup_theme','add_support_features');

asked 25 Nov, 10:08

masudwl's gravatar image

masudwl
234

edited 25 Nov, 11:52

Mosharraf%20Hosain's gravatar image

Mosharraf Hosain ♦
63118

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×59
×6

question asked: 25 Nov, 10:08

question was seen: 31 times

last updated: 25 Nov, 11:52