Title: ACF &amp; Shortcode
Last modified: October 25, 2019

---

# ACF & Shortcode

 *  Resolved [demomann](https://wordpress.org/support/users/demomann/)
 * (@demomann)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/acf-shortcode-2/)
 * Hello,
    Use elementor to build the page template. I put the elementor shortcode
   widget on the page. This widget takes the shortcode text from an ACF field. In
   the ACF text field I entered the shortcode >> [site mushroom_assummary assigned_to
   = “post_2841” hide = “bars, if_empty, rating”] I can’t see anything when I publish
   the page. Why?

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

 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/acf-shortcode-2/#post-12064350)
 * What is that shortcode?
 * It should be written like this:
 *     ```
       [site_reviews_summary assigned_to=post_id hide=bars,if_empty,rating]
       ```
   
 * Also, why are you entering the shortcode into a ACF field? If you are doing this
   for the post ID, this isn’t necessary. “assigned_to=post_id” automatically uses
   the post ID of the current page.
 * Please read the Site Reviews > Help > Shortcodes page.
 *  Thread Starter [demomann](https://wordpress.org/support/users/demomann/)
 * (@demomann)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/acf-shortcode-2/#post-12064394)
 * I was wrong to write the shortcode.
    Now I’ve written it well and it’s working
 * incorrect: [site mushroom_assummary assigned_to = “post_2841” hide = “bars, if_empty,
   rating”]
 * correct: [site_reviews_summary assigned_to=”post_ID=”2841″ hide=”bars,summary”]
 * Thanks!
 *  Thread Starter [demomann](https://wordpress.org/support/users/demomann/)
 * (@demomann)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/acf-shortcode-2/#post-12064435)
 * solved!
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/acf-shortcode-2/#post-12064450)
 * It should either look like this (automatically uses the post ID of the current
   page):
 * [site_reviews_summary assigned_to=post_id hide=bars,summary]
 * Or this (if you wish to manually set the post ID yourself):
 * [site_reviews_summary assigned_to=2841 hide=bars,summary]

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

The topic ‘ACF & Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/site-reviews/assets/icon-256x256.gif?rev=3307009)
 * [Site Reviews](https://wordpress.org/plugins/site-reviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/site-reviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/site-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/site-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/site-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/site-reviews/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/acf-shortcode-2/#post-12064450)
 * Status: resolved