Welcome to the Course

Welcome! In this course you will learn how to use and manage attachments in WordPress.

Target audience

The course is intended for users and administrators who want to gain a solid understanding of attachments in WordPress. It covers day-to-day basic operations and advanced topics related to attachments in WordPress.

Prior knowledge of WordPress is recommended.

Content

The course is organized as follows.

Frequently Asked Questions

I uploaded a file to the Media Library, but now I need to replace the file with a new version. How can I do it?

First, do not replace the file directly. It is the wrong way to solve this problem. The easiest and safest way to replace an attachment in WordPress is by using a plugin. View details.

I uploaded big, high-resolution images to the Media Library and WordPress always reduced the image size. Why?

By default, WordPress reduces the size of images whose width or height is greater than 2560 pixels. You can use a filter to change the threshold or to disable this behavior. View details.

I am uploading a file to the Media Library, but WordPress is saying that the file size exceeds the maximum upload size. How can I fix this issue?

You need to increase some configuration parameters on the server. You may also need to adjust the value returned by the 'upload_size_limit' filter. View details.

Can I store attachments on a subdomain?

Yes. Change a pair of settings and WordPress will store attachments on a subdomain. View details.

If I click a link to an image or a text file in the Media Library, the content is rendered directly on the browser, but I need that the browser launches a window to open or download the file. How can I do it?

You can solve this problem by adding a few lines to the .htaccess file. View details.