Skip to content

Instantly share code, notes, and snippets.

@VincentLoy
Created November 20, 2018 18:33
Show Gist options
  • Save VincentLoy/a5d009e84c22042d7f5edbb2850e5ae4 to your computer and use it in GitHub Desktop.
Save VincentLoy/a5d009e84c22042d7f5edbb2850e5ae4 to your computer and use it in GitHub Desktop.
ACF File Field + Timber Twig
{% set file = TimberImage(post.download_kit) %}
<a href="{{ file.src }}" target="_blank">Download Stuff Bro</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment