• Resolved mdidesign

    (@mdidesign)


    Hello,

    I do not want to see these custom fields “parent info”, “menu order”, “attachment metadata” and so on on a media edit page. I cannot find any setting within Media Library Assistant to hide them? I do not want to use the hide-option of WordPress, because other users would see these custom fields anyway.

    So how to hide them using the settings of Media Library Assistant?

    https://wordpress.org/plugins/media-library-assistant/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your interest and your question. The current MLA version does not have an option to remove these custom meta boxes from the Media/Edit Media submenu.

    The easiest way to prevent their display would be to add CSS styles to your theme and set their “display” attribute(s) to “none”. Each meta box has a unique “id” attribute:

    • mla-parent-info
    • mla-menu-order
    • mla-image-metadata
    • mla-featured-in
    • mla-inserted-in
    • mla-inserted-in
    • mla-gallery-in
    • mla-mla-gallery-in

    The meta boxes would still appear in the “Screen Options” dropdown; checking the box there triggers some JavaScript logic that would override the CSS setting. To disable the meta boxes checkbox from the Screen Options dropdown you can use a CSS style, e.g.,

    div.metabox-prefs label #mla-parent-info-hide { display:none}

    Unfortunately, the label tag does not have an “id” attribute; I could not find a way to remove the label along with the checkbox.

    I realize that’s a bit of work and an imperfect solution. You might also be able to hook one of the Screen Options filters and remove the options more completely.

    I will look into adding an option to disable the addition of the meta boxes entirely for a future MLA version. I will leave this topic unresolved and post an update here when I have progress to report. Thanks for your understanding and your patience.

    Thread Starter mdidesign

    (@mdidesign)

    Thank you very much for your answer!

    BTW: Is there any way to bulk-edit titles and alt-texts of images in the media library? I did not find any option for that. I was able to activate custom fields for bulk edit, but there is no textfield for changing such usual things like titles, alt-texts, captions… is there any way to do so?

    Plugin Author David Lingren

    (@dglingren)

    You are most welcome. Regarding your question about bulk-edit for Title and ALT Text values, please have a look at this earlier topic:

    Bulk Edit

    If you’d like to help test this feature, contact me through our web site. Thanks for your interest.

    Plugin Author David Lingren

    (@dglingren)

    The next MLA version will have an option to completely suppress the additional meta boxes on the Edit Media screen.

    If you’d like to test this new feature, please send me a note with your e-mail address and I will give you a copy by return e-mail. You can use the Contact Us page at our web site:

    Fair Trade Judaica/Contact Us

    Thanks for your help, your patience and your interest in the plugin.

    Plugin Author David Lingren

    (@dglingren)

    I have released version 1.80, which adds an option for suppressing the additional meta boxes entirely. It’s on the Settings/Media Library Assistant General tab.

    I am marking this issue resolved, but please let me know if you have any problems with the new feature. Thank you for your patience.

    Thread Starter mdidesign

    (@mdidesign)

    Seems to work, thank you, espacially for the possibility to change titles, alt and descriptions in bulk editing.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to hide those custom fields?’ is closed to new replies.