Skip Navigation

[Resolved] Custom field not showing correct information

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

Problem:

The customer wants to display a custom field (Distributer) on a custom post page, but the field only shows "Booktopia/Amazon" regardless of the actual content, even if the field is blank. Other custom fields are working correctly.

Solution:

I identified that the issue was with the Content Template where the value 'Booktopia/Amazon' was added as plain text instead of a dynamic field.
I replaced the static text with the correct shortcode [types field='distributor'][/types] to dynamically display the field's content.

After the change, the proper distributor value is being displayed correctly on the custom post pages.

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

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 4 months, 4 weeks ago.

Assisted by: Mateus Getulio.

Author
Posts
#2704373
Screenshot 1.png
Screenshot 2 .png
Screenshot 3.png
Screenshot 2024-06-25 at 9.42.30 PM.png

I am trying to: use a custom field (Distributer) (see screenshot 1) to show specific information on a custom post page but the custom field Distributer will only show Booktopia/Amazon (see screenshot 2 )no matter what is in the field even if it is blank as seen in screenshot 3 I have included a (screenshot 4)of the settings for that field and as you can see all the other custom field are working correctly.
What am I doing wrong

#2704717

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

I checked it and there was an issue with the Content Template, the value 'Booktopia/Amazon' was added as a plain text rather than a dynamic field.

I replaced it with the shortcode [types field='distributor'][/types] and it seems to be loading the proper distributor now, please check a few examples:

hidden link
hidden link
hidden link

#2704749

Thanks for your help it is most appreciated
Les