Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1405366

    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

    #1405422

    Hey korpak,

    Maybe this will help you out? https://wordpress.stackexchange.com/questions/331865/adding-featured-image-in-post-list

    Best regards,
    Rikard

    #1405497

    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' );
    #1405567

    Hi,

    Great, I’m glad that you found a solution, and thanks for sharing :-)

    Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.