Skip Navigation

[Resolved] single[dot]php and archive[dot]php are missing custom fields

This support ticket is created 4 years, 2 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: Africa/Casablanca (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by Jamal 4 years, 2 months ago.

Assisted by: Jamal.

Author
Posts
#2055623
Schermata 2021-05-14 alle 21.11.53.png

Hi,
I'm at the fist time with Toolset and I need to enhance the product page on my development site way4go.com adding a Google Map that will shows some custom fields values (locations) that are attributes of the product (trips).
I want to show a map like the one on your guide (https://toolset.com/lesson-placement/lesson-placements-1666453-1666547/) and I'm trying to follow the guide "How to Design Product Templates" but when on the Toolset Dashboard I have the two alert for missing custom fields and I don't know ho to solve this.
My sites has Rehub theme with a lot of plugin and frameworks installed (elementor, RH frontend, WCFM Marketplace,etc.).

I found similar topic (resolved) in the forum but the solution has hidden link reference and i cannot read.

Thank you!
Marco

#2056021

Hello Marco and thank you for contacting the Toolset support.

To better assist you with this, I'd like to get access to your website and check the theme's files. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

Links and images are hidden for other users. Only the ticket owner and our teams can see them. Can you share the thread that you found and that is similar to this issue?

If you are comfortable with PHP programming, and you would like to extend the theme's files and display the custom fields programmatically, you can use Types functions from here https://toolset.com/documentation/customizing-sites-using-php/functions/

Otherwise, you can just follow our documentation to build the content template or the archive using Toolset and ignore the alert.

#2056089

Hello Marco,
It seems that the login page is hidden using a 3rd party plugin. I can't login in /wp-admin, /login, /wp-login.php. They all return 404 errors.

Please update your last reply with the login page URL.

#2056643

Thank you! I was able to log in this time. Maybe I made a typo mistake in my first test.

I created a new installation and tested it with the 2021 theme and the WooCommerce default theme "Storefront" and I could not reproduce the issue. You can check my installation with this link hidden link

From what I gathered so far, I think that the alert appears because Toolset was not able to scan for calls to "the_content" function in the theme's files. https://developer.wordpress.org/reference/functions/the_content/
In fact, I installed the "Show current Template" plugin to check what files are involved in the product archives(such as the store page), and the product single pages. And I checked the theme's files and I was not able to find any calls to the "the_content" function.

However, I still think that the theme is compatible with WooCommerce even though I couldn't find any calls with the "the_content" function.

This being said, I wonder if you are encountering any issues using Toolset, or customizing the shop with Toolset content templates, view, or archive templates? If you are not encountering any issues, I'll suggest ignoring the alert in the Toolset Dashboard.

If on the other, you are encountering any issues, I can push my debugging further and I'll do my best to help.

I hope this helps. Let me know if you have any questions.