Here is a screenshot of the admin screen:
Here is a screenshot of adding the short tag to the page or post:
Plugin Name: SuperEZ AI - Page/Post File Uploader
Description: Allow users to upload files to pages or posts.
Version: 0.1a
Author: github.com/g023
License: 3-clause BSD
The SuperEZ AI - Page/Post File Uploader is a WordPress plugin that enables users to upload files directly to pages or posts, enhancing your content management capabilities. This README.md file provides an advanced overview of the plugin, offering detailed insights into its functionality and usage.
The SuperEZ AI - Page/Post File Uploader is designed to simplify the process of uploading files to your WordPress pages or posts. Unlike some other plugins, it utilizes the native WordPress media uploader, which ensures compatibility with future WordPress versions.
- Upload files to pages or posts.
- Utilizes the WordPress media uploader.
- Use short tags to display files on your page or post.
- Files can be labeled for easy identification.
- Dynamic, no need for manual refreshing.
- Supports setting files as private, preventing them from appearing in the short tag output.
This plugin has been tested and verified with WordPress version 6.3.2.
The primary method for displaying uploaded files on your page or post is through short tags. The main short tag for this plugin is [superez-ai-file]
.
It's essential to note that any changes made, such as adding or removing files, are not saved until the user saves or updates the page or post using the main save/update button.
The plugin does not handle file deletion from your server; this process is managed through the WordPress media manager. Removing a file from a page or post will not delete the file itself.
You have the option to add labels to your uploaded files, although this is not mandatory. If you choose not to add a label, the short tag will use the shortname of the file (the name after the last slash in the URL) as the label.
Setting a file as private will prevent it from being displayed in the short tag output. However, please note that the file remains publicly accessible directly via its URL.
- Install and activate the plugin as described in the Installation section.
- Use the
[superez-ai-file]
short tag in your posts or pages to display your uploaded files. - To add or remove files, edit your page or post and use the main save/update button to save changes.
- To edit the shortcode output templates, edit the template files in the _inc/ directory
To install the SuperEZ AI - Page/Post File Uploader Plugin manually.
- create a folder called 'superez-ai-file' inside your 'wp-content/plugins/' directory
- copy the plugin structure to the created directory.
- eg: wp-content/plugins/superez-ai-file/superez-ai-file.php wp-content/plugins/superez-ai-file/superez-ai-file.php wp-content/plugins/superez-ai-file/_inc/template.main.php
To install the SuperEZ AI - Page/Post File Uploader Plugin via ZIP file:
- Download the plugin zip file.
- Log in to your WordPress admin dashboard.
- Go to the "Plugins" section.
- Click on "Add New."
- Click on the "Upload Plugin" button.
- Upload the plugin zip file.
- Activate the plugin.
Edit output templates in the _inc/template.* files
- Adding a settings page for template customization.
- Getting the zip file up for ez install to WP plugin directory
- The media uploader currently works only for admin users (as set in the code). Consider customizing this setting according to your needs.
Please refer to the plugin's GitHub repository for more information, updates, and support.
Feel free to contribute, report issues, or suggest improvements to make the SuperEZ AI - Page/Post File Uploader even more powerful and user-friendly.