This support ticket is created Il y a 2 années et 8 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Hello, can you explain how you are trying to add this to a widget in the sidebar? Are you using custom PHP code, or are you placing Types field shortcodes inside a widget area? Can you copy + paste an example of the PHP or shortcodes you are using, and some screenshots showing how you have placed them in the widget?
In general, the format for displaying a custom field using the Types field shortcode system is like this:
[types field="field-slug"][/types]
Replace field-slug with the slug of the custom field you want to display. Other attributes available for this shortcode are explained in the documentation link below.
In general, the format for displaying a custom field using the Types PHP API is like this:
Hey, Christian, thank you. Do you think we can get Waqar back on this? He knows what's going on from the beginning which includes another post type and a completely different setup.
The opening and closing hours custom fields for the weekdays seem to be added correctly.
Can you please share some details about how exactly you tried to show these hours in the sidebar widget? Please also share the link to an example page, where this widget can be seen.
Note: I already have the admin access details for the website.