Viewing 5 replies - 1 through 5 (of 5 total)
  • I can’t find the remove options either, so I just “hardcode” it. Just go to
    nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/post-thumbnail.php
    find this code in line 70 and comment it

    $content .= sprintf($set_thumbnail_link, esc_html__( 'Set NextGEN featured image' ));

    I’ve found a solution to remove it without hardcoding NextGEN.
    I have installed NextGEN and another plugin: Adminimize, a plugin that limits the visibility of backend elements based on user group.

    On Adminimize setting page I have added this rule for post and pages:
    1. rule name: NextGEN Featured Image
    2. id or class: #set-ngg-post-thumbnail
    and I have enabled it for the usergroups that not have to see the “Set NextGEN featured image” ??

    I′m using MultiPostThumbnails plugin and want to establish the “Set NextGEN featured image” under the corresponding admin blocks edition page, may you please help me?

    Thanks!

    Over at Stack Overflow, I posted two different solutions to this.

    The easy one is as follows:

    function so_23984689_remove_nextgen_post_thumbnail_html() {
    
        remove_all_filters( 'admin_post_thumbnail_html' );
    }
    
    add_action(
        'do_meta_boxes',
        'so_23984689_remove_nextgen_post_thumbnail_html'
    );
    Plugin Contributor photocrati

    (@photocrati)

    @ipm-frommen – Thanks for sharing!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove "Set NextGEN featured image"’ is closed to new replies.