{"id":372,"date":"2024-06-13T18:50:38","date_gmt":"2024-06-13T18:50:38","guid":{"rendered":"https:\/\/zalvis.com\/docs\/?p=372"},"modified":"2024-06-13T18:50:38","modified_gmt":"2024-06-13T18:50:38","slug":"how-to-upload-files-in-wordpress","status":"publish","type":"post","link":"https:\/\/zalvis.com\/docs\/how-to-upload-files-in-wordpress.html","title":{"rendered":"How to Upload Files in WordPress"},"content":{"rendered":"<p>There are different ways to upload files to WordPress, depending on the type of file and where you want to upload it. Here are the steps to upload files to WordPress. In case you prefer using an FTP client for that purpose check out our step-by-step guide.<\/p>\n<ul>\n<li>Log into your WordPress dashboard<\/li>\n<li>Go to Media &gt; Add New.<\/li>\n<li>Click on the &#8220;Select Files&#8221; button to upload files from your computer. You can also drag and drop files into the upload area.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-373\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8187.png\" alt=\"WordPress media upload\" width=\"796\" height=\"436\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8187.png 796w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8187-300x164.png 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8187-768x421.png 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/li>\n<li>Once the files are uploaded, you can edit the file details, such as the title, caption, and description.<\/li>\n<li>Click &#8220;Insert into post&#8221; to add the file to a post or page, or click &#8220;Save&#8221; to save the file to the media library.<\/li>\n<\/ul>\n<p>These files can be used for later use.<\/p>\n<p>You can also use an FTP client to upload files to your site, you need the FTP credentials to connect to your website and then you can upload files to the desired location.<\/p>\n<ul>\n<li>In your WordPress Dashboard<\/li>\n<li>Click <strong>Posts<\/strong> &gt;<strong>Add New Post<\/strong><\/li>\n<li>On the Upload menu, click The <strong>Add media files from your computer<\/strong> page will appear.<\/li>\n<li>Click the <strong>Select Files<\/strong> button.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-374\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8188.png\" alt=\"WordPress file upload\" width=\"799\" height=\"458\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8188.png 799w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8188-300x172.png 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8188-768x440.png 768w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><\/li>\n<\/ul>\n<p><strong>Uploading Files in a Post<\/strong><br \/>\nThere are two possible editing interfaces that you may be working on: the Classic Editor and the Gutenberg Block Editor.<\/p>\n<p><strong>Classic Editor<\/strong><\/p>\n<ul>\n<li>While editing a post, click the Add Media button to add a media image<\/li>\n<li>Select the Upload Files tab<\/li>\n<li>You can drag files from your computer or click on the Select Files button to open up a file browser<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-375\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8189.png\" alt=\"WordPress file upload\" width=\"799\" height=\"300\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8189.png 799w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8189-300x113.png 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8189-768x288.png 768w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><\/li>\n<li>If you&#8217;re not ready to use the files now, simply make to uncheck the files. The files will still be there to be used in the future<\/li>\n<\/ul>\n<p><strong>Gutenberg Block Editor<\/strong><\/p>\n<ul>\n<li>Open the post editor<\/li>\n<li>Click one of the plus buttons<\/li>\n<li>Find the File block and click it<\/li>\n<li>You&#8217;ll see a file block appear in the post body. You can drag files from your computer, or click on Upload or Media Library<\/li>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<div class=\"gzhmv69d8e9784aef5\" >If you enjoyed this article, then you\u2019ll love Zalvis's Cloud Hosting platform. Turbocharge your website and get 24\/7 support from our veteran team. Our world-class hosting infrastructure focuses on auto-scaling, performance, and security. Let us show you the Zalvis difference! <a href=\"https:\/\/zalvis.com\/\">Check out our services.<\/a><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.gzhmv69d8e9784aef5 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.gzhmv69d8e9784aef5 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.gzhmv69d8e9784aef5 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.gzhmv69d8e9784aef5 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.gzhmv69d8e9784aef5 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<p>There are different ways to upload files to WordPress, depending on the type of file and where you want to upload it. Here are the steps to upload files to WordPress. In case you prefer using an FTP client for that purpose check out our step-by-step guide. Log into your WordPress dashboard Go to Media [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-372","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/comments?post=372"}],"version-history":[{"count":2,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"predecessor-version":[{"id":377,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/372\/revisions\/377"}],"wp:attachment":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}