The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
I have problem with frontend view. I'm using custom listing page but I canot get any data from custom fields to appear on item. This is the my listing template. What I need to do or What I'm doing wrong?
That will create a debug.log file in your wp-content directory which you can examine in any text editor.
Now add a few error_log messages at suitable points, checking, for example, what is the $loop when it is declared, and, in particular, checking $post_meta_data to see what it contains.
(For better formatting, add them to your logs like so: error_log(print_r($loop, true));)
You need to verify that the source data is present and in the expected format when retrieved and manipulated. Sprinkling debug messages as above throughout your code should help identify the problem, and is a simpler alternative than using a fully-fledged debugging tool such as netbeans or phpstorm.
Please, I have antother question.
I have field Yacht size (wpcf-yacht-size) Could you give me a right syntax how to display this field on the front end without any additional plugin (egg.layouts).
If you are working in the PHP templates directly you can use the function types_render_field, but if you are using shortcodes in posts, templates or views you would use the types shortcode.