Could you describe more your issue? is it with automatic shortcode?
If no, could you give me all shortcode parameters?
Do you use the custom format?
no automatic. shortcode inserted by post editor (tinymce button).
[attachments label=doctitle docid=2017 fields=none title="Attached files:" titletag="h3" force_saveas="1" logged_users="0"]
List format: Large
now shows: image as link, description, filename, size
show only image as link
The issue is coming from
I will publish a bug fix by today
thanks. attachments show normally with little bug. filename show without extension.
fix it yourself
'filename' => basename(get_attached_file($attachment->ID)),
also another question:
split() function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.
may change split() to explode() or preg_split().
- The topic ‘not work’ is closed to new replies.