Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ashlie-elizabeth-moore/7856312c24837c700265a4db62eb9276 to your computer and use it in GitHub Desktop.

Select an option

Save ashlie-elizabeth-moore/7856312c24837c700265a4db62eb9276 to your computer and use it in GitHub Desktop.
Using an ACF Field as a URL in html code
This is a sentance <a title="linkage" href="[acf field='unique_url' post_id='options' ]">with a link.</a>
@ashlie-elizabeth-moore
Copy link
Copy Markdown
Author

ashlie-elizabeth-moore commented Mar 17, 2026

Refer to the ACF shortcode override gist for dynamic link ACF fields to function correctly. gist:0515812d5d85c01818920e5baa52570a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment