PHP Classes

WordPress Attachments Plugin for Posts and Pages: Attach files to WordPress posts with a metabox

Recommend this page to a friend!
  Info   View files Documentation   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2023-10-09 (11 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 14 This week: 1All time: 11,105 This week: 109Up
Version License PHP version Categories
file-attachments-pos 1.0The PHP License5PHP 5, Files and Folders, Blogs
Description 

Author

This package provides a plugin to attach files to WordPress posts with a metabox.

It can add a custom metabox handler that registers callback functions to process files that can be uploaded to be attached to WordPress posts or pages.

Attach files to WordPress posts and pages with a c

This plugin will generate HTML and JavaScript to show where users can enter information about files or upload or drag and drop files to be attached to WordPress posts or pages.

Picture of Victor Andeloci
Name: Victor Andeloci <contact>
Classes: 6 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 5x

Documentation

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.


  Files folder image Files  
File Role Description
Files folder imagecss (3 files)
Files folder imageimg (1 file)
Files folder imagejs (3 files)
Accessible without login Plain text file file-attachments-posts-pages.php Appl. WordPress plugin script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  css  
File Role Description
  Accessible without login Plain text file dropzone.min.css Data Auxiliary data
  Accessible without login Plain text file style.css Data Auxiliary data
  Accessible without login Plain text file style.min.css Data Auxiliary data

  Files folder image Files  /  img  
File Role Description
  Accessible without login Image file default.jpg Icon Icon image

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file dropzone.min.js Data Auxiliary data
  Accessible without login Plain text file main.js Data Auxiliary data
  Accessible without login Plain text file main.min.js Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:14
This week:1
All time:11,105
This week:109Up