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 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 17 All time: 11,181 This week: 325Up
Version License PHP version Categories
file-attachments-pos 1.0.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.

Innovation Award
PHP Programming Innovation award nominee
October 2023
Number 6
WordPress is a popular PHP content management system that allows users to publish content on blog posts or pages easily.

Sometimes, users must publish more than pages with images, videos, or audio files. They may also need to upload files like, for instance, PDF documents.

This package implements a WordPress plugin that allows users to upload or drag and drop files attached to specific WordPress posts and pages.

It provides an easy-to-understand user interface that facilitates uploading files, file descriptors, and other meta-data.

Manuel Lemos
Picture of Victor Andeloci
Name: Victor Andeloci <contact>
Classes: 6 packages by
Country: Brazil Brazil
Age: 25
All time rank: 4394355 in Brazil Brazil
Week rank: 110 Up7 in Brazil Brazil Up
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:17
This week:0
All time:11,181
This week:325Up