WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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. Adds a shortcode [att

How can I style the mime type classes that are now output?

You will now see <li class="application/pdf"> (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

Requires: 3.2.1 or higher
Compatible up to: 4.0.15
Last Updated: 2 years ago
Active Installs: 300+

Ratings

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