WordPress.org

Support

Support » Plugins and Hacks » Hacks » Disable native gallery

Disable native gallery

  • I am aware I could do this easily by hiding the gallery tab from the media upload lightbox using css, however, is there a better way?

    Use nextgen gallery and find that having the native gallery as well can confuse people.

    Thanks

Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    @jdembowski

    Volunteer Mod. & Brute Squad

    I believe (untested) you should be able to remove the native gallery via

    remove_shortcode('gallery');

    But you could end up with un-parsed [gallery] codes in the content.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable native gallery’ is closed to new replies.