Title: Hide Gallery functionality
Last modified: July 7, 2018

---

# Hide Gallery functionality

 *  [ChrisL](https://wordpress.org/support/users/chrslcy/)
 * (@chrslcy)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/hide-gallery-functionality/)
 * Is there a way to easily hide all gallery functionality for this plugin? I would
   like to use a different gallery plugin and it is confusing to have two ‘Galleries’
   items in the admin menu.
 * Thanks,
 * Chris

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Finkkster](https://wordpress.org/support/users/crazybassplayer/)
 * (@crazybassplayer)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/hide-gallery-functionality/#post-10506377)
 * I would like to know this as well. It’s confusing for clients that already have
   established galleries.
    Same with ‘Light Box’.
 * Don’t just force your stuff on users without an opt-out.
 * Tacky.
 * Mark
    -  This reply was modified 7 years, 11 months ago by [Finkkster](https://wordpress.org/support/users/crazybassplayer/).
 *  [hafman](https://wordpress.org/support/users/hafman/)
 * (@hafman)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/hide-gallery-functionality/#post-10812339)
 * This can be done by adding the following to functions.php
 *     ```
       /* Hide the DFactory gallery stuff */
   
       function remove_menus(){
   
         remove_menu_page( 'edit.php?post_type=rl_gallery' );
       }
       add_action( 'admin_menu', 'remove_menus' );
   
       function my_custom_admin_head() {
       	echo '<style>
       		#rl-insert-modal-gallery-button {display: none !important;}
       		</style>';
       }
       add_action( 'admin_head', 'my_custom_admin_head' );
       ```
   
 * And i agree it encroaches on the default WordPress gallery functionality a bit.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hide Gallery functionality’ is closed to new replies.

 * ![](https://ps.w.org/responsive-lightbox/assets/icon-256x256.png?rev=3460874)
 * [Responsive Lightbox & Gallery](https://wordpress.org/plugins/responsive-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-lightbox/reviews/)

## Tags

 * [admin_menu](https://wordpress.org/support/topic-tag/admin_menu/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [Responsive Lightbox & Gallery](https://wordpress.org/support/topic-tag/responsive-lightbox-gallery/)

 * 2 replies
 * 3 participants
 * Last reply from: [hafman](https://wordpress.org/support/users/hafman/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/hide-gallery-functionality/#post-10812339)
 * Status: not resolved