The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Hide Media Library (5 posts)

  1. Gtantra
    Posted 4 years ago #

    Im trying to Hide the Media Library Button in "Add Media". I've used firebug and found the code is li id="tab-library" .

    But it does'nt work when I add #tab-library

    There must be some thing Im missing out .
    Kindly advice whats the code I need to insert to hide Media Library in Add Media.
    Thank You


  2. Gtantra
    Posted 4 years ago #

    BTW i've checked (ticked) "Deactivate for Author" and "Deactivate for
    Contributor" as I want it hidden for those. I've actually used the plugin to hide other fields . But im not able to get the right code to hide Media Library (Add Media)in New Post

  3. Gtantra
    Posted 4 years ago #

    Hi This is the line that I need hidden . Can anyone help pls ?

    <a href="/wp-admin/media-upload.php?post_id=1776&tab=library">Media Library</a>

  4. Frank Bueltge
    Plugin Author

    Posted 3 years ago #

    add a custom option to the "Global Options". Only this was load on all pages in backend.
    Use the ID #tab-library as Id and give a name, like Tab MediaLibrary.
    After save this option you can hide this for different roles.

  5. Gtantra
    Posted 3 years ago #

    Yes, It works . Thanks a lot for your help Frank . Much appreciated.
    Love the plugin !!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Adminimize
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.