Display Extension

This topic contains 1 reply, has 1 voice, and was last updated by  sfuchs 6 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4849

    sfuchs
    Member

    I simply want to have the possibility to output in my template the file extension (PDF, ZIP, DOC, etc.) as text – currently I can’t find a simple way to do this – without using icons. A template-shortcode like [extension] would be much appreciated!

    #4850

    sfuchs
    Member

    while digging the code, I found this: [file_ext] – seems to do just what I needed 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.