ACF Field and shortcode

Posted in: Newspaper
Post count: 103

Hi
I am trying to use your clould templates with ACF fields.
It is working fine for most of my items.
But i cannot have shortcode displaying content on front page.
I have an ACF field “text” which is filled with a shortcode ( for instance [njt-gpr location=”Les Maisons Cléroises” place_id=”ChIJxagbP4Pc4EcRYUE45su72Rw” review_filter=”4″ review_limit=”20″review_characters=”220″ column=”1″ btn_write=”Laisser un avis” show_write_btn=”yes” business_website=”1″ business_phone=”1″ cache=”None” ]) which is set to display google reviews on a page.

Problem is that it displays the text of th shortcode.
And i cannot select an ACF field like embed or WYSWIG.
If i use elemento pro, i can make it work but the TAgdiv composer wont work.

How can i do ?

Thanks

Post count: 103

I found a solution using ACH shortcode with WISWIG field and column text :
https://imgur.com/4kW42oK

Post count: 21065

Hello @Carel !

Unfortunately, it won’t work like this because it will take only the text and not run the shortcode.
A shortcode can be inserted by using the element called “Column text” or “Text with title”. “Column text” and “text with title” elements have a button called “edit content” and if you click on that button, the WP Editor will open, and you can add some text/code/shortcode there. Close the WP Editor from X, save the changes from Composer and view the page to see the changes.

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.