bw_pdf another oik plugin shortcodebw_pdf another oik plugin shortcode
the oik limerick ( attached to bw_pdf without icons)the oik limerick ( attached to bw_pdf without icons)
[bw_pdf]
<div class="bw_attachment">
<p><a class="bw_attachment" id="link-1511" href="http://www.oik-plugins.com/wp-content/uploads/2012/02/bw_pdf-another-oik-plugin-shortcode.pdf" title="bw_pdf another oik plugin shortcode">bw_pdf another oik plugin shortcode</a><span class="title">bw_pdf another oik plugin shortcode</span></p>
<div class="cleared"></div>
<div class="bw_attachment">
<p><a class="bw_attachment" id="link-1510" href="http://www.oik-plugins.com/wp-content/uploads/2012/02/the-oik-limerick.pdf" title="the-oik-limerick">the-oik-limerick</a><span class="title">the-oik-limerick</span></p>
<div class="cleared"></div>
</div>
Notes
If you don’t want the PDF icons you need to override the CSS using custom CSS
div.noicon a[href*='.pdf'] { background-image: none; padding-left: 3px; }
[bw_pdf class="noicon" titles=n]
Notes:
- The oik limerick was first published as “How to attach a .pdf file using Add media”
- In this site we generally use custom CSS to turn off the display of titles which are produced by shortcodes such as [bw_pdf] and [bw_images].
You can achieve a similar result using the
div.bw_attachment span.title {display: none;}
titles=n
parameter.