=== BSK PDF Manager === Contributors: bannersky Plugin URI: https://www.bannersky.com/bsk-pdf-manager/ Tags: PDF manager, meeting minutes tool, printable forms tool, data sheets tool, files by category, widget, pdf permalink Requires at least: 3.2.1 Tested up to: 5.8.1 Stable tag: 3.1 == Description == Although the plugin called "PDF Manager" but it also can manage other files such as: pdf, zip, gz, rar, png, jpg, jpeg, gif, tif, tiff, swf, docx, xlsx, pptx, csv, crtfsv, pages, numbers, keynote, ies. The plugin help you manage your PDFs / Files in WordPress. You may upload by categories and display by categories or show one special PDF / File. Each PDF / document can have its own permalink, it means you may share the permalink to your customers and update the PDF / document content at anytime. It is easy to use. You just need add the shortcodes into the page / post where you want to show. Then it will show the PDFs / Files link in your page / post. With widget feature you may show PDFs list in a widget area. From version 2.8 you may visit PDF / document directly by its id such as: https://demo.bannersky.com/?bskpdfm-id=100 Please visit https://www.bannersky.com/bsk-pdf-manager/ for documentations. Check demos from: https://demo.bannersky.com/bsk-pdf-manager-demos/ Pro version available now! You may upgrade to pro version for more features. == Installation == Activate the plugin then you can use either a shortcode [bsk-pdfm-pdfs-ul id="ALL" order_by="date" order="DESC" target="_blank"] to show all PDFs / Documents in date descending order. Or use [bsk-pdfm-pdfs-ul id="8,9,10,11,12" target="_blank"] to show special PDFs / Documents. Check here for more shortcode attributes and here for demos about this shortcode. You may use [bsk-pdfm-category-ul id="1" show_cat_title="yes" order_by="date" order="DESC"] to show all PDFs / Documents under the category of id 1 or [bsk-pdfm-category-ul id="1,2,3" show_cat_title="yes" order_by="date" order="DESC"] to show all PDFs under categories of id 1, 2, 3 in date descending order. Check here for more shortcode attributes and here for demos about this shortcode. The plugin has a very easy admin page that allows you to manage categories and PDF documents. == Frequently Asked Questions == Please visit http://www.bannersky.com/bsk-pdf-manager/ for documentations or supporting. == Screenshots == 1. Settings interface, you may support more file types there 2. Upload your PDF / File from computer or WordPress Media library 3. Categories manager interface 4. Permalink settings == Changelog == 3.1 * Added: support documents( PDFs ) Permalink feature * Added: support documents( PDFs ) to be put in trash * Added: new category filter option to show documents( PDFs ) that have no category assigned. * Added: document status link to list all, published, scheduled, expired, trash * Added: screen options to be applied to documents list page * Added: more parameters to the hook bsk_pdfm_after_document_insert and bsk_pdfm_after_document_update * Updated: don't delete documents( PDFs ) in a category when delete the category. * Updated: backend PDFs list page, add more status and view * Fixed: the All label cannot be translated in tags filter * Fixed: the bug of invalid file path when move document out from Media Library * Compatible with WordPress 5.8.1 3.0.1 * Fixed the bug of target="_blank" not work * Fixed typo * Compatible with WordPress 5.8 3.0 * Add new feature of generating featured image from the selected page of the PDF * Support deleting featured image when delete PDF / document * Remove old shortcodes * Add new action of bsk_pdfm_after_document_insert * Add new action of bsk_pdfm_after_document_update * Add new action of bsk_pdfm_after_bulk_add_by_ftp * Add new action of bsk_pdfm_after_bulk_add_by_media_lib * Compatible with WordPress 5.7.2 2.9.3 * Change to use WordPress' new date function. * Fixed the bug of html description cannot be saved and shown for document( PDF ). * Fixed the bug of html description cannot be saved and shown for category. * Fixed the bug of html description cannot be saved and shown for tag. * Fixed the bug of causing NextGEN Gallery cannot edit thumb. * Compatible with WordPress 5.7 2.9.2 * Support WordPress that installed to its own directory * Support WordPress that changed default content directory * Support WordPress that changed default uploads directory * Fixed the issue of "missing file" on WordPress that installed in sub directory * Fixed the bug of showing date wrong format in PDF title 2.9.1 * IMPORTANT: from version 3.0 we'll remove the shortcakes [bsk-pdf-manager-pdf id="1"] and [bsk-pdf-manager-list-category id="1"]. Please change to use [bsk-pdfm-pdfs-ul id="1"] and [bsk-pdfm-category-ul id="1"]. For more attributes of the two shortocdes, please check documents form https://www.bannersky.com/document/bsk-pdf-manager/ * Sanitize user entered data before process * Support ordering by ID for categories and tags * Support linking category to all document that assoicated to it * Fixed the bug of cannot delete documents when delete category * Improve admin interface * Compatible with WordPress 5.6.1 2.9 * Supports date&time for tag and order by date when display tags in front * Add options to display widget title in h3 or h4 tag instead of always h2 * Fixed the warning message when add category widget in backend and display in front * Fixed the bug of time for category cannot be updated * Fixed the bug of tag title, description cannot be updated * Fixed the bug of tags displayed in categories list screen * Updated some Dutch translations thank Hans van der Brugh for providing translations. * Compatible with WordPress 5.6 2.8 * Support tags for PDFs / documents, you may assign one or more tags to a single document * Add tags filter in front, dynamic load PDFs / documents by Ajax when click filter anchor * Support move PDFs / documents from Media Library to BSK PDF Manage's upload folder * Support visit PDF / document directly by ID * Add option of moving documents out of Media Library * Add new language of Swedish, thank Anders Olofsson providing Swedish translations * Fixed the bug of no documents loaded when day of week changed * Fixed the bug of two Monday displayed in date weekday query filter * Compatible with WordPress 5.5.3 2.7.2 * Support translating date / day in week according to WordPress language * Updated codes to be compatible with creating custom folders on hosts such as wordpress.com that has a special Wordpress installation folder. * Fixed the bug of category cannot be listed ( in selector ) if only child / grand categories have PDFs * Change PDF description to accept large text / html * Fixed the warning message with PHP 7.3 * Fixed the bug of some labels not shown in widget * Fixed the bug of warning message in the file of category-functions.php with some hosting * Compatible with Wordpress 5.5.1 2.7.1 * Fixed the warning message on edit documents screenshot with default plugin settings. * Include jQuery UI css file to make date picker work better. * Compatible with Wordpress 5.5 2.7 * Support more file formats such as .mp3, .mp4, .wmv... * Add a filter to switch extension in Dashboard to let users manage documents easier * Support adding rel="noopener noreferrer" to documents link * Make category dropdown on PDF / document adding page more clear * Remove warning message when edit PDF / document * Fix the issue of showing wrong notice when edit PDF / document * Fixed warning on setting page on some hosting * Compatible with Wordpress 5.4.2 Pro version * Support year month day weekday query filter, this filter load documents by date from database when date change * Add extension attribute to shortcode * Improving the interface when use file name as title, support remove all - and all _ in title to space * Change JavaScript codes to make tracking download count accurately 2.6 * Change script library for uploading directory setting * Compatible with some special hosting such as Flywheel and crazydomains.com * Support multiple languages of English, German, Italian, Portuguese, French and Spanish. Also support set to use English always * Compatible with Wordpress 5.4 Pro version * Fixed a bug in bulk changing title * Fixed a bug in bulk changing date * Fixed a bug of sorting in the case with pagination * Fixed a bug of category description shown in display with selector mode * Fixed the bug of extension filter doesn't work for documents from WordPress Media Library * Fixed a bug when use extension filter with display in category and selector mode * Fixed a bug when use title start filter with display in category and selector mode * Fixed the bug of pagination error on some case * Fixed the bug of query most recent doesn't work for display by category * Fixed the bug of date cannot be shown correctly when display in dropdown with category selector mode * Support overwritten search button text by shortcode attribute * Support attribute to order PDFs/documents across multiple categories 2.5 * Fixed the bug of target="_blank" doesn't work for category shortcodes * Fixed the bug of wrong link for no category * Backend interface improving * Compatible with Wordpress 5.2.4 Pro version * Support bulk change documents title * Support bulk add documents from Wordpress' media library * Support recognize date from document file name * Support only have category and keywords in search bar * Fixed the bug of cannot use "add by FTP" when Wordpress run on Windows server 2.4 * Support extension filter * Support show PDFs / Documents count description, use show_count_desc="yes" in shortcode to enable it * Fixed the warning message when edit a document * Compatible with Wordpress 5.2.2 2.3 * Support .doc file * Improve uploading file interface * Improve documents list interface * Fix widgets cannot sort by date correctly * Fix duplicate entries appear when do upgrading on some server * Remove PHP warnings * Compatible with WordPress 5.1.1 2.2.1 * Fix the bug of removing data when upgrade to Pro version * Fix a bug of causing failed uploading * Compatible with WordPress 5.0.3 2.2 * Fix bug when create new directory to upload PDFs * Update database structure to compatible with Pro version * Admin interface improved * Compatible with WordPress 5.0.2 2.1 * Fix bug when upload PDF * Admin interface improved * Compatible with Wordpress 5.0.1 2.0 * Support more file types * Support order by PDFs id sequence * Support show all categories in one shortcode * Improve dashboard user interface * Remove category password feature from free version as it cannot work on some hosting * Compatible with Wordpress 4.9.8 * Compatible with PHP 5 & PHP 7 1.8.2 * Ready for version 2.0 * Fix PHP warnings * Compatible with Wordpress 4.9.8 * Compatible with PHP 5 & PHP 7 1.8.1 * Add new shortcode parameter of nolist, set to yes will only output html a element. * Improve parameters compatibility * Compatible with Wordpress 4.9.5 1.8 * Fix small bug in widget * Use new singleton design pattern 1.7.5 * Improve user interface * Compatible with Wordpress 4.9.4 1.7.4 * Add the feature to show all PDFs when use shortcode [bsk-pdf-manager-pdf showall="yes"] * Compatible with Wordpress 4.9.2 1.7.3 * Fixed the bug of unclosed list tag when using widgets that for unordered lists 1.7.2 * Add show category title option to widget * Fixed a small bug 1.7.1 * Fixed the bug of bulk delete triggered when change category filter drop down 1.7 * Change PDF widget title to use h2 tag. * Add open new target parameter to PDF widget. * Add PDF Category widget to show all PDF within given category. * Compatible with Wordpress 4.7.3. 1.6 * Fixed warning message. * Improved backend interface. * Add search feature on backend PDFs list page. 1.5.2 * Fixed warning message. 1.5.1 * Fixed the bug of putting an "/" slash at the end of the unordered list in widget. 1.5 * Change Datepicker to use the latest jQuery UI theme css * Security improvement * Support show PDF as ordered list 1.4 * Make shortcode support new attributes. * Fix the bug that only show one category even there are multiple ids. 1.3.9 * Fix a small bug. 1.3.8 * Change PDF file name to XXXX_ID.pdf. 1.3.7 * Fix two warnings & make users who above Editor can add / edit PDFs. 1.3.6 * Fix the bug of cannot delete PDF item or category. 1.3.5 * Fixed a typo. * Support out PDFs in a dropdown(select). * Make date for category and PDF item editable. * Support setting the number of most recent PDFs. 1.3.4 * Fixed a small bug. 1.3.3 * Changed order by parameter, now you may include orderby="title" or orderby="filename" or orderby="date" to order all PDF, also can be order by PDFs' id sequence. 1.3.2 * Fixed the bug of wrong output when category doesn't have a PDF. 1.3.1 * Widget supported now. * Support wordPress site with subdirectory installation. * Changed special PDF list from <p> tag to <li> tag, only return PDF link is possilbe. Support multiple PDF id and category id, so show all PDFs in one list is possible. * Changed backend interface. 1.3 * Support PDF list order by Date, Title and File Name. 1.2.0 * Fixed several small bug. * Support order by in admin dashboard. * Hide category title when list PDF. 1.1.0 * Add option to open PDF document in new window. * Show shortcode in Categories page and PDF Documents page. For convenience user just need copy and paste it to where you want to show the PDF documents. 1.0.0 First version.