NextGEN Gallery
[resolved] Remove "Set NextGEN featured image" (6 posts)

  1. shmk
    Posted 2 years ago #

    Is it possible to remove/hide the "Set NextGEN featured image" that appears below "Set featured image" in a page edit screen?


  2. blind337
    Posted 2 years ago #

    I can't find the remove options either, so I just "hardcode" it. Just go to
    find this code in line 70 and comment it

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

  3. Riccardo
    Posted 2 years ago #

    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" :)

  4. comprido
    Posted 2 years ago #

    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?


  5. Thorsten Frommen
    Posted 1 year ago #

    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' );
  6. photocrati
    Plugin Author

    Posted 1 year ago #

    @ipm-frommen - Thanks for sharing!

    - Cais.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic