Documentation / Getting Started Guides

Importing WordPress Attachments

Overview

Attachments can be imported on WordPress Pages, Posts, Custom post types, and all templates using these as a base. Attachments can be fetched from within a local directory, remote url, or from a ftp server.

Import an Attachment

To add a new attachment, click on the button labelled “+” on the right hand side of the row, this will insert a new attachment row at the bottom of the list, or to remove a taxonomy click on the button labelled “-“.

  • Location – The location that the attachment can be found, for example if you are getting an attachment from a remote url then this would the the url.
  • Permissions – Add the attachment to existing attachments, or only add if there are currently no attachments for the current object.
  • Set as featured Image – Set the attachment to the objects featured image.

All attachments imported have all share the same connection type which is setup at the bottom of the attachment screen in the section labelled Connection Details.

Import Attachment from FTP server

To import attachments from your ftp server choose FTP from the download type dropdown in the connection details section. this will give you fields to enter your ftp server, ftp username and ftp password.

The location field previously entered will be the path from the ftp server root to the attachment file.

Import Attachment from local directory

To import attachments from a local directory on the same server as the wordpress install choose Local Filesystem from the download type dropdown in the connection details section.

A field labelled base path will appear allowing you to set a base path (that will be used across all attachments combined with the data entered from the previously entered locations field). The path of the attachment is the complete path to the attachment.

Import Attachment from remote url

To import attachments from a remote url choose Remote URL from the download type dropdown in the connection details section.

The location field previously entered will be the full url to the attachment you wish to import.