Sauter la navigation

[Résolu] The code '[typesfield' is showing in a phone call button on iPhones

This support ticket is created Il y a 5 années et 1 mois. 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.

Ce sujet contient 5 réponses, a 1 voix.

Dernière mise à jour par barryG-4 Il y a 5 années et 1 mois.

Auteur
Publications
#1389963
kingslover-phone-button-image.png

I am trying to: Work out why on my client's iPhone 6 she sees '[typesfield' above the 'call' text inside a call window that opens after clicking a button on any of her pages for her customers to call her. She tried it out and sent me a a screenshot. It doesn't happen on my iPhone 11 Pro Max. Have you come across this before and if so can anything be done about it.

Link to a page where the issue can be seen: lien caché

I expected to see: No reference to [typesfield

Instead, I got:

#1389975

I've just been told it's not the black buttons, but the two numbers in the above header section and I see the same thing on my iPhone. The code for this is:

[types field='uk-phone-number' post_id='3679' output='raw'][/types]

[types field='international-phone-number' post_id='3679' output='raw'][/types]

So is there anything I've added incorrectly to this shortcode.

Many thanks,
barry.

#1389977
Screenshot 2019-11-22 at 16.55.09.png

Here's a screenshot to replace the original one (of the wrongly shown problem area)

#1389991
Screenshot 2019-11-22 at 17.13.13.png

Now I know that the black buttons (below the menu) work to call the number, I'm wondering what the difference is in the code that stops the above header phone number buttons from working? Here's the code that works....

#1390025

I found the answer on a toolset support issue in fact. Not sure what it all means but I changed the code to the following and it worked. Maybe this will help someone else.

[types field='uk-phone-number' post_id='3679' title='[types field='uk-phone-number' post_id='3679']

this is the previous support ticket for ref: https://toolset.com/forums/topic/showing-link-text-as-link-shortcode-in-shortcode/

#1390027

Thanks to a previous Toolset issue being available to see on the internet my issue is resolved now. Thank you!