Skip to content

This plugin will add a custom metabox controller to attach document files to posts & pages

License

Notifications You must be signed in to change notification settings

ValkyriaTech/file-attachments-posts-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Attachments for Posts & Pages

Custom metabox controller to upload and manage posts / pages attachments

The custom metabox name is fapp_attachment_list. It's saved as a JSON object list:

{
  "name": "Attachment Name",
  "description": "Attachment Description",
  "cover_image": "http://xyz/nice_image.jpg",
  "url": "http://xyz/nice_doc.pdf"
}

Supported file types

[
  'text/plain',
  'text/csv',
  'application/pdf',
  'application/vnd.oasis.opendocument.text',
  'application/msword'
]

Just download the source and install it as a plugin.