[Resolved] The date field is not showing the date i entered for every business started si
This thread is resolved. Here is a description of the problem and solution.
Problem:
The customer is trying to display the date a business started on every supplier page. Instead of seeing the date, they see the shortcode [calculate_date_diff].
Solution:
We identified that the template for displaying the supplier's page is configured within Divi. The shortcode [calculate_date_diff] was replaced with the correct Toolset shortcode for displaying the custom field. Specifically, we used the custom field slug 'started-business' to show the date.
Steps followed:
Go to Divi > Theme Builder.
Locate All Diverse Suppliers > Custom Body and click on Edit.
Replace [calculate_date_diff] with [types field='started-business'][/types].
The date is now properly displayed on the supplier's page.
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.
Can you please let us know if you're trying to print the difference from two dates or simply show the date?
While we don't have a built-in feature for you to calculate the difference, you could use some custom code to achieve it, please check this example where my colleague created a shortcoded that takes two dates and print the difference between them:
If this is not the request, could you please elaborate a little more on this issue, so I can better understand? E.g. Is there an error message, what are the steps you've tried, etc.
Feel free to share more screenshots if you need to illustrate something.
I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link
Please, let me know if you need any additional details. Have a nice day.
Hi : ) Mateus : ) you didn't see custom field business-started under the group field because i removed it as the site has alot of traffic on daily basis and it is not good to some info missing. i did performed many tests but none worked,
we didn't reverted the site from backup and the error was showing from the begining, it happend by chance,.
Please go ahead and add this field and enter some data to test the date display