• Resolved hamedghaderi

    (@hamedghaderi)


    I’m using Advanced Custom Fields plug-in and I have an attachment in my custom fields. I’ve created a field named file and catched the url value inside my static page this way:

    $file = get_field('file');
    <a href="<?php echo $file['url']; ?>">Download Link</a>

    Now everything work well until my file names are in English.
    When I upload a persian(farsi) named file (like ???.pdf), the url is correct but download link send me to another page and show me this message: “It looks like nothing was found at this location. Maybe try one of the links below or a search”.

    Thanks for any help!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Attachment Link Problem in non English Languages’ is closed to new replies.