Skip Navigation

[Resolved] A – hyphen placed between shortcodes becomes an – en-dash in PopupMaker

This support ticket is created 5 years, 12 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 – 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)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by michaelA-13 5 years, 12 months ago.

Assisted by: Waqar.

Author
Posts
#1161396

I am trying to:

If a - minus/hyphen is placed between two shortcodes it becomes an – en-dash in the popup.

hidden link

No issue on a page:

hidden link

#1161430
#1161431

Hi Waqar,

sorry my chat somehow did not show up.

Yes regular support is fine 🙂

#1161503

Hi Michael,

Thank you for waiting, while I performed a few tests.

It seems that the Popup Maker plugin filters the content the popup's content for special characters, as they can sometimes result in script conflicts.

To avoid that, you can update your popup's content from:


[types field='start-date' style='text' format='d'][/types]-[types field='end-date' style='text' format='d M Y'][/types]

To:


[types field='start-date' style='text' format='d'][/types]‐[types field='end-date' style='text' format='d M Y'][/types]

Note: You'll find this chart of character entities useful in similar cases:
hidden link

I hope this helps.

regards,
Waqar

#1161507

Thanks for the quick and easy solution 🙂

My issue is resolved now. Thank you!