Skip Navigation

[Resolved] straight codes in a view shortcode get converted to curly quotes and view breaks

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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 2 months, 2 weeks ago.

Assisted by: Waqar.

Author
Posts
#2696803
image001.png
image002 (1).png

Tell us what you are trying to do?
On this page you'll see a section called Holiday Offers
hidden link

It draws in a CPT Offers using a shortcode.

Whenever the page is edited and published, the shortcode breaks because the straight quote marks get saved as curly quotes, and we need to go back in and edit the code repeatedly changing the quotes back to straight ones.

Is there a fix that you know of? Is there a shortcode of yours that doesn't require the use of quotes?

Thanks

#2697003
screenshot-visual-text.png

Hi,

Thank you for contacting us and I'd be happy to assist.

A character conversion like this can happen if the 'Visual' tab and not the 'Text' tab of the classic editor is selected for editing.
( example screenshot attached )

Also, the view's shortcode should still work if no quotes are used:


[wpv-view name=view-name]

regards,
Waqar

#2697026

Thank you Waqar

If I do not use any quotes the shortcode works perfectly.

markR-7 confirmed that the issue was resolved on 2024-05-10 08:30:20.
This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.