Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Praveen Rajan

    (@praveen-rajan)

    Hi,

    Please find the initial release of the plugin. I guess that is what is required.

    Thanks
    Praveen

    Thread Starter typolay

    (@typolay)

    Hi Praveen

    Hmm, not exactly.

    Now, the Icon shows the Filename, like “example_CPW3456_Lb-456.pdf”. What, if I want it to show the “Title” or “Alternate Text” from “Media”?

    Thanks
    Micha

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Hi Micha,

    Yes, you could use the “Title” of file instead of the file name. Please do the following change in your plugin code to achieve this.

    In attachment-file-icons.php find the function Attachment_File_Render, then replace $file_title[1] with $matches[3] in line no. 547

    Hope that helps.

    Thanks
    Praveen

    Thread Starter typolay

    (@typolay)

    Hi Praveen

    Thanks, it works just fine now!

    Best wishes,
    Micha

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Hi Micha,

    Good news ??

    Pls don’t forget to rate this plugin. ??

    Thanks,
    Praveen

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Attachment File Icons (AF Icons)] File Title instead of File Name’ is closed to new replies.