PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Victor Andeloci   WordPress Attachments Plugin for Posts and Pages   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: WordPress Attachments Plugin for Posts and Pages
Attach files to WordPress posts with a metabox
Author: By
Last change:
Date: 10 months ago
Size: 597 bytes
 

Contents

Class file image Download

File Attachments for Posts & Pages

Custom metabox controller to upload and manage posts / pages attachments

The custom metabox name is <code>fapp_attachment_list</code>. 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.