WP-Filebase Pro introduces a custom post type with the slug
wpfb_filepage, called Filepage. In third-party Plugins that support custom post type it appears as “File” (this singular name).
Filepages integrate into the WordPress post system and enable some known fuctionalities from Posts and Pages:
- User comments on files
- Tag Clouds
- Other Plugins (e.g. file ratings, search like Relevanssi)
Filepages provide an interface for other plugins, like FacetWP (See FacetWP the demo)
WP-Filebase Pro files meta data for every file page that you can use in queries or templates. The fields basically are similar to the template fields from the file/category/list templates.
|file_category_name||The human-readable name of the file’s main category. If file has no category (in root folder), this meta key is not present.|
|file_custom_*||Any custom field|
|file_hits||Number of downloads|
|file_icon_url||For use in templates:|
|file_id||The ID of the actual file the file page belongs to|
|file_is_public||If the file is public, useful for query filtering (0 or 1)|
|file_size||Number. The size in bytes of the file, for sorting (like 74527)|
|file_size_formatted||String. The formatted file size for use in a template (like “73.9 KiB”)|
|file_version||File version string|
|file_url||HTTP(S) or FTP URL of the file|
When displaying a Filepage, WordPress falls back to the single.php template of your current theme. You can create a custom theme template for file pages, just create the file single-wpfb_filepage.php in your theme directory.
Custom Taxonomy: File Category
wpfb_file_category, other plugins can use it, you can create nav menus with it. Hierachical.
3rd party plugins
This is a not complete list of other plugins known to work with WP-Filebase and the its post type:
- GD Rating System