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.


  • 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.

  • Just updating things for the plugin page.

  • 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.

  • Fixed error with shortcode showing all types by default

    Thanks to sallydeford for pointing out the issue.

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

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

  • 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").

  • 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.


  • Minor changes to the widget editor


  • Added ordering options to the widget settings.



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.


Added an option to add a title.

Did some debugging.


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


Added custom widget class. No change to function.


Improved the widget options.


Added basic widget that functions the same as the shortcode.


Initial Version

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


5 stars
5 out of 5 stars


Got something to say? Need help?


Not enough data

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