Skip Navigation

[Resolved] Shortcode inside custom field and Elementor

This support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by janW-5 5 years, 7 months ago.

Assisted by: Nigel.

Author
Posts
#1222358
Screenshot 2019-03-28 12.15.37.png

I am using Toolset custom fields together with a Elementor Pro single custom template to dynamically display SmartSlider 3 sliders. Christian Cox helped me regarding this issue earlier this year and it worked fine. The problem I had was that I didn't insert the shortcode correctly in the WYSIWIG field. I needed to add a short "reference code" ahead of the shortcode for Elementor to understand that I want it to pick up the SS3 shortcode and display the slider. Unfortunately, I have been sloppy and I have lost what code it was I had to insert.

I include a screenshot of how I have done it now.

Sorry to bother you twice about this issue, but I would very much appreciate if you can help!

#1222395

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Jan

The menu under your profile at the top of this page includes a link to "My Support Tickets" where you can find your previous support threads.

I think this is what you were looking for: https://toolset.com/forums/topic/shortcode-inside-custom-field-and-elementor/#post-1197533

Is that right?

#1222414
Screenshot 2019-03-28 13.59.25.png

Hi Nigel,

Yes that was the thread. Unfortunately the answer is not in the tread. Christian went into a demo site I had built for the purpose and did some changes to how I had input the shortcode in the WYSIWIG field. Stupidly I didn't make a note before I deleted the demo site.
Before I submitted this ticket, I tested to write [types field="[smartslider3 slider=27]"][/types] in the WYSIWIG field as I thought that was what he had added to [smartslider3 slider=27], but it doesn't work. I have tried to call for the toolset field both with an Elementor text widget and the shortcode widget. I know the last time that it didn't work with the shortcode widget, but with the text widget it worked. //Jan

#1222517

Hi, I found out that I needed to change the settings in Smart Slider to inline CSS. There is a problem with how their codes are encoded. They're not parsed as CSS codes, but as simple text.