How can i place Feature Image under title field in wp-admin?

Question

I am creating my custom Image slider,

in register_post_type() -> i use : supports = “title,thumbnail”;

i use only two thing in supports, “title,thumbnail”

But post-thumbnails default position is Under Publish tab.

Its look ugly, I want to show feature image Under title fields.
Where editor show, i want to show my feature image on that position.

Kindly tell me how this possible?

$args = array(
    'labels'             => $labels,
    'description'        => __( 'Description.', 'textdomain' ),
    'public'             => true,
    'publicly_queryable' => true,
    'show_ui'            => true,
    'show_in_menu'       => true,
    'query_var'          => true,
    'rewrite'            => array( 'slug' => 'slider' ),
    'capability_type'    => 'post',
    'has_archive'        => true,
    'hierarchical'       => false,
    'menu_position'      => null,
    'supports'           => array( 'title','thumbnail')
);

register_post_type( 'slider', $args );

IN case of not possible:

If this not possible then tell me please:
when first time we open any post_type page, wordpress show 2 columns,
left side show title,editor,comments
or right side showing publish/thumbnail/category, etc

Is there any option to show default one column?
so all thing show in one side..

0
, , asad raza 6 years 2015-09-15T06:06:43-05:00 0 Answers 84 views 0

Leave an answer

Browse
Browse