Dear Support and Forum Members,
I have noticed a feature in Enfold that generates a preview of the featured image for all posts and portfolio listings on the admin index page’s first column.
I have created some new custom post types (hereinafter: “CPTs”) and I would like to adapt this function for my new CPTs, which include:
* application
* document
* scholarship
* regulation
Could you please assist me in implementing this awesome Enfold feature for my new CPTs?
Thank you,
Mihály
Hey korpak,
Maybe this will help you out? https://wordpress.stackexchange.com/questions/331865/adding-featured-image-in-post-list
Best regards,
Rikard
Thank yo, Sir!
I have figured out the official Enfold way to adapt this kind of function:
Copy to function.php :
// Adding Featured Image in CPTs' List | Github: @foldesistudio | foldesistudio.hu
# portfolio_columns, register_post_type then append _columns
add_filter( 'manage_edit-application_columns', 'prod_edit_columns' );
add_filter( 'manage_edit-document_columns', 'prod_edit_columns' );
add_filter( 'manage_edit-scholarship_columns', 'prod_edit_columns' );
add_filter( 'manage_edit-regulation_columns', 'prod_edit_columns' );