async upload not working when not logged
I had to change /wp-admin/async-upload.php to /wp-admin/admin-ajax.php to make the hook work.
I had to change /wp-admin/async-upload.php to /wp-admin/admin-ajax.php to make the hook work.
Welcome to WPSE. Unfortunately no, that is not possible. Depending on your Media settings files uploaded to the Media Library either go directly to the Uploads directory or are organized into month- and year-based subdirectories within Uploads. You’ll need to find and use some existing plugin, or create one of your own, to achieve other … Read more
WordPress append -1 to the image name
Add this code in your Functions.php. This code help you to show user only their own uploads but admin can see all media uploaded by other users and this code is tested on current wordpress Version 5.8 // Limit media library access add_filter( ‘ajax_query_attachments_args’, ‘wpb_show_current_user_attachments’ ); function wpb_show_current_user_attachments( $query ) { $user_id = get_current_user_id(); if … Read more
custom post type attachments There are only attachments, this phrase does not make sense and is not something that is possible. When you upload a file, a post of type attachment is created. This attachment is attached via post parent. An attachment with no post parent is unattached. ACF will be creating a post of … Read more
Efficient way to move media folder to another folder
Insert and read media from the WordPress library and call in the plugin
WordPress changing media file name upon upload
This may be caused by a plugin (Elementor maybe?), because the title of the page is not showing. Try turning off your plugins to see if the title shows. If you want to go directly to the upload plugin try to add url.com/wp-admin/plugin-install.php?tab=upload.
Profile image does not upload