Free Directory, Listing & Classifieds WordPress Plugin › Support › General › HivePress › Atributes for a
Atributes for a
- hector3 months, 1 week ago
Sorry ihor, but I have more questions.
When I add attributes to an ad and they are of type select, this taxonomy has a hierarchical structure. But when I activate the search option, it appears in the search form in flat format. The hierarchical option is lost.
Example in ad form:
Example in search form:
The other question is that in the post_meta table, when saving the values of the taxonomy in an advertisement, encoded data is generated in said table:
How can I access to that post meta if it has an aleatory code (39da96fa5eddc54b71a7aee2065258e9)? How can i read or edit that info in my own plugin?
Thank you very much for your help.ihor3 months, 1 week agodeveloper
1. There’s no support for hierarchical attributes yet, please consider using listing categories instead (if this is the main listing attribute).
2. This is the HivePress cache, it stores term IDs to avoid duplicated queries. It’s not persistent, please don’t query cache values directly, you can try using this WP function instead https://developer.wordpress.org/reference/functions/wp_get_object_terms/ or use HivePress models API.
You must be logged in to reply to this topic.