Skip Navigation

[Resolved] Shortcodes Saved to Database are not showing up

This support ticket is created 6 years, 6 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 10 replies, has 2 voices.

Last updated by Shane 6 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#918104
Icon shortcode not working.PNG

I am trying to: Display icons instead of the values displayed on the back end

Link to a page where the issue can be seen: hidden link

I expected to see: I have it so that if you make a custom post in the back end for 'hotel amenities' you can select from a list of words (ex. wifi, breakfast, fitness room, etc.), then for the Post Field Group the value to display is a shortcode that displays a font awesome icon using the 'Better Font Awesome' WordPress plugin. For example if the user clicks 'Wi-fi' on the back end, the value [icon name="wifi"] shows in the loop.

Instead, I got: I get a series of characters that is the shortcode up until the first quote of [icon name=\]: [icon name=\ [icon name=\ [icon name=\ [icon name=\

I have had this working before and it's a head scratched why it isn't now working.

#918123

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeff,

Thank you for contacting our support forum.

Would you mind providing me with access to the site to see how this shortcode was added?

Thanks,
Shane

#918398

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeff,

I see the issue now.

Unfortunately no this won't work I see u provided the shortcodes within the select field values. Shortcodes won't be process as they need to be within a WYSIWYG editor.

Thanks,
Shane

#918413

I was using them before with no problem.

What happened was everything was set up correctly but then for some reason all the Toolset shortcodes began failing so I restored a backup of the site, which then broke the display of the icon shortcodes. So it's strange to me that it was working before, but perhaps somehow broke the site?

That said, can you think of a way to make it work?

Thanks

#918526

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeff,

Could you let me know if you performed an update to our plugins before this started failing? Also could you let me know the previous versions that you were using if that was the case.

Thanks,
Shane

#918535

I apologize but that is not information that I have. I am under the impression it was the latest versions.

That said, given the versions I am running now you do not see a viable solution to what I am asking?

Thanks!

#919440

Bump

#919444

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeff,

What I can do is to create a copy of your site locally and test t with a previous version of Types to see whats wrong.

Would you mind if I took a copy of your site?

Thanks,
Shane

#919447

Go ahead - what do you need to do that?

#920405

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeff,

I've created the copy and currently testing now.

Thanks,
Shane

#920411

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeff,

Could you let me know which version of Types this worked with last?

Thanks,
Shane