Hi
If nothing appears, the shortcode is processed, otherwise, you should see the shortcode as-is.
If nothing appears, the shortcode doesn’t find attachment for post or page 978. Two possibilities: a bug in the plugin, or no attachments for page or post 978.
Just replace parameter docid=978 by id=978
Thread Starter
Ovidiu
(@ovidiu)
kinda works now if I use the large preset. can you give me some hitns on how to recreate the large preset but without the filename.
tried this:
Custom format, before list:
<div class="attachments">
Custom list format:
<dl class="attachments attachments-large"><dt class="icon"><a title="%TITLE%" href="%URL%"><img src="%ICONURL%" width="52" height="52" alt="%TITLE%" /></a></dt><dd class="caption"><strong>Title: </strong><a title="%TITLE%" href="%URL%">%TITLE%</a><br /><strong>Description: </strong>%DESCRIPTION%<br />Size: </strong>%FILESIZE%</dd></dl>
Custom format, after list:
</div>
but the results are totally borked. seems the %ICONURL% breaks things mid-way.
Try this:
Custom list format:
<dl class="attachments attachments-large">
<dt class="icon">
<a title="%TITLE%" href="%URL%">%ICONURL%</a>
</dt>
<dd class="caption"><strong>Title: </strong>
<a title="%TITLE%" href="%URL%">%TITLE%</a><br />
<strong>Description: </strong>%DESCRIPTION%<br />
Size: </strong>%FILESIZE%
</dd>
</dl>
But I discovered a bug: when size=large, the shortcode parametre “label” (to display attachment title, or filename, as the title) doesn’t work.
Thread Starter
Ovidiu
(@ovidiu)
worked great.
there was only a missing <strong> in front of Size: 🙂
thanks for your help!