Title: shortcode as link
Last modified: November 22, 2020

---

# shortcode as link

 *  [apinis](https://wordpress.org/support/users/apinis/)
 * (@apinis)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/shortcode-as-link-2/)
 * Hey, there!
 * Is there a way to put a shortcode somehow in a link?
 * `<a href="[acf field="publikacijas_pdf"]">DOWNLOAD PDF</a>`
 * This does not work because of the shortcoe ” ” maybe there is some other syntax
   types for shortcode? Checked all manuals with no luck.
    -  This topic was modified 5 years, 7 months ago by [apinis](https://wordpress.org/support/users/apinis/).

The topic ‘shortcode as link’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [apinis](https://wordpress.org/support/users/apinis/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/shortcode-as-link-2/)
 * Status: not resolved