How to add menu order support to posts and other post types ? add_action( 'admin_init', 'posts_order' ); function posts_order(){ add_post_type_support( 'post', 'page-attributes' ); }
Tag: wordpress
How to get featured image "thumbnail" for a post? $feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); echo '$feat_image';