Working with the media library from code: attachments and their metadata, alt texts and captions on upload, SVG and other file types, and video embeds from YouTube and Vimeo.
Some sites has large amounts of information. For more reader-friendly, this data put to table. But what do you do when the size of the table can be above 100 rows?
Upload files from a custom form to the WordPress media library Sometimes files come from a form on the site rather than from the admin: a photo for a listing, a CV for a job application, an avatar. WordPress has the functions to check such a file, move it to the uploads folder and create…
How to allow SVG uploads in WordPress SVG is the format of choice for logos and icons, but WordPress blocks it out of the box. There are two ways to enable it: install a plugin, or add a small filter to your theme or plugin code.