Skip Navigation

[Resolved] Show label bug

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user is trying to use the show label attribute for the shortcodes.

Solution:

Unfortunately for the custom fields i'm not able to find a reference for a show_label attribute so this isn't one of the allowed attributes for our types shortcodes.

This support ticket is created 6 years, 4 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 11 replies, has 2 voices.

Last updated by francoisP-5 6 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#918901

Hi! All of a sudden all my labels are not showing anymore.
I am using show_name='true' in Edit Visual Editor cell.
It was working before. Can you help me troubleshoot the problem please?

#919030

Shane
Supporter

Languages: English (English )

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

Hi Francois,

Thank you for contacting our support.

Could you provide a bit more information here as to when this stopped working ? Does it work when you're not using the visual Editor cell ?

Thanks,
Shane

#919310

Hi! I could not say because I have not been on the site for the last month. I was busy on different projects.

Here is an admin access to my site, I would be grateful if you could have a quick look at it to see what could be the problem.

If there is a cost to this, just let me know, I will send you some money.
Thanks ahead and have a great day!
François ?

#919366

Shane
Supporter

Languages: English (English )

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

Hi Francois,

I had to remove the credentials because they were not in a private field.

Could you send them again as well as a link to the view or page where the issue is ?

I've enabled the private fields for your next response.

Thanks,
Shane

#919430

Shane
Supporter

Languages: English (English )

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

Hi Francois,

Awesome.

I also need a link to where I can see the issue on the frontend.

Thanks,
Shane

#919441

This page should show labels.
hidden link

Thanks

#920024

Shane
Supporter

Languages: English (English )

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

Hi Francois,

That is strange because i'm checking our shortcode reference and wasn't able to find a show_name attribute.

I'm not sure how this previously works but i'm not aware of a show_name attribute.

The way I know to add the label is by manually adding the labels beside the shortcodes.

Thanks,
Shane

#920030

Hi! This is the page where the code is for the layout.
hidden link

This is example of part of the code that is there:

<div>[types field='collection' show_name='true'][/types]</div>
<div>[types field='author-creator' show_name='true'][/types]</div>
<div>[types field='compositeur-createur' show_name='true'][/types]</div>
<div>[types field='interprete_createur' show_name='true'][/types]</div>

Could it be taht maybe I have my syntax wrong?

#920057

Shane
Supporter

Languages: English (English )

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

Hi Francois,

I was able to find the Layout, however what i'm saying is that i'm not aware of a show_name attribute for our Types shortcode.

I know for the field labels they need to be added manually when displaying them.

Thanks,
Shane

#920095

Ah ok, my bad then. But would a piece of code like this could be some workaround, do you think. I could do this for all my fileds.

[wpv-conditional if="( $(wpcf-collection) gt '' )"]
<div>[wpml-string context="wpv-field-labels"]Collection:[/wpml-string] [types field='collection'][/types]</div>
[/wpv-conditional]
#920356

Shane
Supporter

Languages: English (English )

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

Hi Francois,

Yes this is actually the way I would recommend on doing this.

Thanks,
Shane

#920513

Thanks for the support.
Have a nice day!