Skip to content

Magenaut

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

uploads

Differentiate Featured Image from Post Images upon Upload

August 4, 2022August 3, 2022 by Magenaut

I want to differentiate the featured image from post images.

Categories Q&A, Wordpress Tags media, post-thumbnails, uploads 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

Handling front-end file uploads, considering safety and ease of use

August 4, 2022August 3, 2022 by Magenaut

I’m looking to adapt an existing forum-like plugin which has no facility for attaching media.

Categories Q&A, Wordpress Tags custom-post-types, security, uploads Leave a comment

Each custom image size in custom upload directory?

August 4, 2022August 3, 2022 by Magenaut

I want to upload my custom image sizes in custom folders. The folder should have the name of the selected width. For example:

Categories Q&A, Wordpress Tags images, uploads Leave a comment

Upload post thumbnail from the front end

August 4, 2022August 3, 2022 by Magenaut

We would like users to be able to upload the post thumbnail when editing posts. How would this be done. I would imagine it would make use of the ajax functions of wordpress.

Categories Q&A, Wordpress Tags ajax, front-end, post-thumbnails, uploads Leave a comment

Limit image upload to one and disable audio, video and other document file types to upload

August 4, 2022August 3, 2022 by Magenaut

Somebody knows some trick in Add new Post to:

Categories Q&A, Wordpress Tags uploads Leave a comment

Rename files during upload using variables

August 4, 2022August 3, 2022 by Magenaut

I’d like to rename files during upload and set their names to the post slug the files are being attached to, plus some random characters (a simple incremental counter will de just fine) to make the filenames different.

Categories Q&A, Wordpress Tags slug, uploads Leave a comment

How to restrict access to uploaded files?

August 4, 2022August 3, 2022 by Magenaut

I have a restricted area on a website that can only be accessed by logged in users. For that I created a page template with a ‘current_user_can()’ condition.

Categories Q&A, Wordpress Tags attachments, uploads, user-access, users Leave a comment

Create Image Uploader for Widget

August 4, 2022August 3, 2022 by Magenaut

I found this post//

Categories Q&A, Wordpress Tags images, javascript, php, uploads, widgets Leave a comment

simple solution for restricting access to (some) uploads/downloads

August 4, 2022August 3, 2022 by Magenaut

and of course it is a must that the .htaccess file is in place

Categories Q&A, Wordpress Tags attachments, content-restriction, private, security, uploads Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 … Page12 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