Skip Navigation

[Resolved] copied but copy not working

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

Problem:

Render the custom field value in front-end, but get empty result.

Solution:

It is fixed by using correct field slug, see details here:

https://toolset.com/forums/topic/copied-but-copy-not-working/#post-1190867

Relevant Documentation:

This support ticket is created 5 years, 11 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/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by martinP-13 5 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1190828

can some one please take over this thread?
https://toolset.com/forums/topic/custom-field/#post-1190780

#1190867

Hello,

I can get your website credentials in your private post:
https://toolset.com/forums/topic/custom-field/#post-1190638

For the problem:
i get no output and on single event the dam is displayed even though i have added dams

Please check the custom field "Dogs Dam" setting in your website:
hidden link
click "Dogs Dam", you should be able to see this field is using slug: dogs-dam

But in your PHP codes, file /public_html/wp-content/themes/simply-responsive-cp/single-dogs.php, line 71, you are using wrong field slug: [types field='dog-dam'][/types]

So it conducts the problem as you mentioned above, I have change it to:

[types field='dogs-dam'][/types]

It works fine in front-end:
hidden link

Please check it, thanks

#1190944

My issue is resolved now. Thank you!