WordPress.org

Ready to get started?Download WordPress

Plugin Directory

COP PDF Attachment Menu

Adds a shortcode [pdfmenu] that defaults to displaying an unordered list of all pdf's attached to the current page or post.

0.1.0

  • Added download="(mime type)" and download="all" which converts links to forced download links. Allows other types (all types not tested).
  • Widget also allows you to set the mime type to force downloads
  • Thanks to sallydeford for suggesting forced download links as an option.

0.0.9.8

  • Just updating things for the plugin page.

0.0.9.7

  • IMPORTANT Change. The widget (not the shortcode) was showing all pdf files with the default settings instead of just the attachments to the current post. Should be working now.

0.0.9.6

  • Fixed error with shortcode showing all types by default

    Thanks to sallydeford for pointing out the issue.

0.0.9.5

  • Added options to display captions and descriptions.
  • style captions with .the_caption
  • style description with .the_description

0.0.9.4

  • Minor Fixes to new features. (Was defaulting in the widget to "all types"
  • Added localization functions.

0.0.9.3

  • Added [pdfmenu all_types='true'] to the shortcode.
  • Added and all types checkbox to the widget.
  • All items have thier mime type as a class (ex. class="application/pdf").

0.0.9.2

  • Adding the mime type as a class to each list item ( ex. class="application/pdf" ). Would have added it to the container but I wanted to be able to later add the output and styling of attachments of multiple mime types in a single list.
  • Changed basic ownership details of the plugin to point to my current site http://www.agreenweb.com.

0.0.8

  • Minor changes to the widget editor

0.0.7

  • Added ordering options to the widget settings.

0.0.6

Shortcode

Added orderby and order to the shortcode options for reordering.

defaults are:

  • orderby = "date"
  • order = "ASC"

In Progress

  • Started adding paging.
  • Add offset="x" or paged="x" with a numberposts="(number)" that is not zero to the shortcode.
  • In order to get another set of links.
  • There is not yet any navigation.

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

Requires: 3.2.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-23
Downloads: 3,551

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1