Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

media-library

Add a menu item to WordPress 3.5 Media Manager

August 4, 2022August 3, 2022 by Magenaut

How can add a new menu item underneath the “insert From URL” on the left sidebar in the new WordPress 3.5 Media Manager?

Categories Q&A, Wordpress Tags media, media-library Leave a comment

Get All Images in Media Gallery?

August 4, 2022August 3, 2022 by Magenaut

Is there a way to fetch the URLs of ALL images in the media gallery?

Categories Q&A, Wordpress Tags media-library Leave a comment

Give users a maximum upload capacity; limit the number of files a user can upload OR limit the number of files per upload

August 4, 2022August 3, 2022 by Magenaut

I’m using the Media Library on the front end of my website and I’d like to stop users from being able to spam my server by uploading an unlimited number of files.

Categories Q&A, Wordpress Tags media-library, uploads Leave a comment

categories on attachment page

August 4, 2022August 3, 2022 by Magenaut

I am using this function to display categories specified to a post having gallery on the image attachment page.

Categories Q&A, Wordpress Tags categories, media-library Leave a comment

Delete Associated Media Upon Page Deletion

August 4, 2022August 3, 2022 by Magenaut

Note

Categories Q&A, Wordpress Tags attachments, media-library, pages, posts Leave a comment

WordPress 3.5 Media Manager – add a button

August 4, 2022August 3, 2022 by Magenaut

In my plugin, I would like to add two buttons to Media Manager (to the left of “Insert Into Post” in “media-toolbar-primary” section), and connect a jQuery action to it.

Categories Q&A, Wordpress Tags jquery, media, media-library, media-modal, plugins Leave a comment

Upload Multiple Files With media_handle_upload

August 4, 2022August 3, 2022 by Magenaut

I have a WordPress form plugin and I use media_handle_upload to upload the files and get there ids directly and attached its ids to the post as a meta date, I used the following to did that:

Categories Q&A, Wordpress Tags code, codex, functions, media-library, uploads Leave a comment

Can i hide the attachments from media which I uploaded from front end?

August 4, 2022August 3, 2022 by Magenaut

I have some section where user can upload CV and profile images,

Categories Q&A, Wordpress Tags attachments, media-library Leave a comment

Gel all image from certain post type

August 3, 2022August 2, 2022 by Magenaut

I’ve found similar questions here, however I can’t modify the answers to get images only from a certain post type – as the post type in those examples are “attachment” and not the name of a custom post type.

Categories Q&A, Wordpress Tags attachments, gallery, media-library, post-type Leave a comment

Modify Custom Field in Media Library using JavaScript

August 3, 2022August 2, 2022 by Magenaut

I’ve added a custom field into my media attachments:

Categories Q&A, Wordpress Tags javascript, jquery, media-library, media-modal Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page6 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress