Description
Do you have any images like logos that will be used in many themes? Hate to upload them into individual theme’s image folders? Hate to hard code the links in template files?
This is your soultion! Through the pluging’s setting page in the admin menu, you can upload and manage your files in virtual manner and re-call those files anywhere through the plugin’s api provided. All files uploaded will be stored in /plugins/ppp-file-linker/uploaded-files
directory (ppp-file-linker is the plugin’s directory).
When one day you don’t want the functionality anymore, simply click Remove Completely
in the setting page and deactivate! However, remember backup your important files inside /plugins/ppp-file-linker/uploaded-files
!!! When you clicked Remove Completely
, all files inside that directory will also be deleted!
Screenshots
Installation
- Upload folder
ppp-file-link
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to
Setting Page > PPP File Linker
and clickInstall needed tables
- Upload and manage files in the ways you like most (note. only the virtual name or id of the files will be used later)
- Place
<?php echo pppfl_getFileByVirtualName('virtual name of your file'); ?>
or<?php echo pppfl_getFileById(id); ?>
in your templates. Please be noted that, virtual name is case-INsensitive!
FAQ
Can I upload two files with the same virtual name?
No, you can’t. Because the virtual name must identify a unique file!
Can I upload the same file twice with different virtual name?
Yes, you can. Note that the second file will be renamed (a random number will be append at the end of the file name).
Reviews
There are no reviews for this plugin.
Contributors & Developers
“PPP File Linker” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “PPP File Linker” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- The plugin is published.