=== COP PDF Attachment Menu === Contributors: trevogre Donate link: http://www.agreenweb.com/wordpress/cop-pdf-attachment-menu/cop-pdf-attachment-menu-donations/ Tags: PDF, Menu, Attachments, List, widget, sidebar Requires at least: 3.2.1 Tested up to: 4.0 Stable tag: trunk Adds a shortcode [pdfmenu] that defaults to displaying an unordered list of all pdf's attached to the current page or post. Adds a shortcode [attachmentmenu] that defaults to displaying an unordered list of all attachments attached to the current page or post. == Description == Adds a shortcode [pdfmenu] and a widget that defaults to displaying an unordered list of all pdf's attached to the current page or post. There are options for both altering the query to return a different set of attachments and for formatting the output. This plugin should always default to: The attachments will be ordered by date in the ascending order by default.

Shortcode Options include:

Widget Options include all of the shortcode options and add some selectors for altering the query and output. == Installation == Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page. == Frequently Asked Questions == How can I style the mime type classes that are now output? You will now see
  • (or your selected mime type) in the code. But you can't type the / in your stylesheet! In order to refer to this style you need to change the / to \2f in your classname. So it looks like .application\2fpdf { } That solution reduces that amount of code required to output the class and only sligthly increases the complexity of styling. It is the least code approach rather than the most user-friendly approach. Which I think is better in this case. More Questions Please. Questions / Donations == Screenshots == == Changelog ==

    0.1.1

    0.1.0

    0.0.9.8

    0.0.9.7

    0.0.9.6

    0.0.9.5

    0.0.9.4

    0.0.9.3

    0.0.9.2

    0.0.8

    0.0.7

    0.0.6

    Shortcode

    Added orderby and order to the shortcode options for reordering.

    defaults are:

    In Progress

    Widget

    Added an option to add a title. Did some debugging.

    0.0.5

    Added a check requiring php version 5.2.1 on install. Moved more code into classes.

    0.0.4

    Added custom widget class. No change to function.

    0.0.3

    Improved the widget options.

    0.0.2

    Added basic widget that functions the same as the shortcode.

    0.0.1

    Initial Version