WordPress.org

Forums

Disable native gallery (2 posts)

  1. phantomdentist
    Member
    Posted 2 years ago #

    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

  2. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic