Title: Use with Shortcode
Last modified: March 5, 2023

---

# Use with Shortcode

 *  Resolved [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * (@mstudioil)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/use-with-shortcode-3/)
 * this “Only works for simple text based values” limitation means that I can’t 
   use a image field? It work l only for the text field?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [ACF Support](https://wordpress.org/support/users/acfsupport/)
 * (@acfsupport)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/use-with-shortcode-3/#post-16535497)
 * Hi there!
 * ACF Support Team here, Thanks for reaching out with your query we would be happy
   to assist
 * Yes, it is not possible at the moment to use the ACF shortcode to display images.
   The ACF shortcode is for text-based fields such as text and number field types.
 * However, ACF gives developers the freedom to render content on the front end 
   as per their preferences. In other words, ACF doesn’t render content on the front
   end and one has to add custom code in order to.
 * Usually, developers use the [get_field()](https://www.advancedcustomfields.com/resources/get_field/)
   and [the_field()](https://www.advancedcustomfields.com/resources/the_field/) 
   functions to render values on the front end.
 * Unfortunately, different themes have different file hierarchies and it is always
   a good idea to consult your theme support so that they can advise on the correct
   file to place your code.
 * Please have a look at the resources below:
 * [https://www.advancedcustomfields.com/resources/displaying-custom-field-values-in-your-theme/](https://www.advancedcustomfields.com/resources/displaying-custom-field-values-in-your-theme/)
 * If you need further clarification, please create a ticket using our ​[support](https://www.advancedcustomfields.com/contact/)
   form and we can advise further.
 *  Thread Starter [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * (@mstudioil)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/use-with-shortcode-3/#post-16539110)
 * Thanks, so to show image I need something like
 *     ```wp-block-code
       [acf field="{$field_name}"]
       ```
   
 * as in the example, what about the alt tag?
 * Will it work on Elementor?
 *  Plugin Support [ACF Support](https://wordpress.org/support/users/acfsupport/)
 * (@acfsupport)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/use-with-shortcode-3/#post-16601522)
 * Hi there,
 * Thanks for getting back to us.
 * As we stated earlier,  it is not possible at the moment to use the ACF shortcode
   to display images.
 * For help using the Elementor with ACF to display data, I would recommend that
   you reach out to Elementor support since they know ins and outs of their code
   and integration. Hopefully, they will be able to shed some light on the same.
   🙂
 * If you need further clarification, please create a ticket using our ​[support](https://www.advancedcustomfields.com/contact/)
   form and we can look into it further.
 *  Thread Starter [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * (@mstudioil)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/use-with-shortcode-3/#post-16601532)
 * Thanks for the answer, Elementor support is not that great, but I found solution
   for what I needed

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Use with Shortcode’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/use-with-shortcode-3/#post-16601532)
 * Status: resolved