Valeriia
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Make the date field display the day of the week?
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 3 | hace 6 años, 7 meses | ||
Get post parent with new Post Relationships API (php)
Iniciado por: Valeriia
en: Toolset Professional Support
Problem: I would like to get the parent post Course of the current post Product using the new Post Relationships API, but it doesn't seem to be working. I have tried both of these syntaxes: $course = toolset_get_parent_post_by_type( $product, 'course' ); $courses = get_posts( array( 'post_type' => 'course', 'numberposts' => -1, 'toolset_relationships' => array( 'role' => 'parent', 'related_to' => $product_id, 'relationship' => array( 'course', 'product' ) ), ) ); Solution: In this case, the relationships were created in the new system, so toolset_get_parent_post_by_type is not appropriate. The toolset_get_parent_post_by_type API is intended for use with legacy relationships, or relationships that were migrated from the legacy system. When specifying the relationship to query, the array syntax is intended for legacy relationships as well. The best approach in this case is to use the toolset_get_related_posts API, and the relationship slug instead of the post type slug array: $product = get_post(69); $course = toolset_get_related_post( $product, 'your-relationship-slug', 'parent'); Relevant Documentation: |
2 | 7 | hace 6 años, 7 meses | ||
Don't see the custom fields in the Toolset settings after update to Types 3.0
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 7 | hace 6 años, 7 meses | ||
cURL error 7: Failed to connect to api . toolset . com port 443:
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 9 | hace 6 años, 8 meses | ||
Placeholders not shown, select_text attribute does not work
Iniciado por: Valeriia
en: Toolset Professional Support
Problem: I'm having a couple of problems in CRED: Solution: The select_text attribute is a known issue and will be resolved in CRED 2.0. Placeholders should be added to CRED form fields using the placeholder attribute. |
2 | 5 | hace 6 años, 8 meses | ||
cred_success_redirect breaks the redirect of other forms
Iniciado por: Valeriia
en: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
3 | 4 | hace 6 años, 8 meses | ||
PHP notice on the site with BuddyPress after last update
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 5 | hace 8 años, 3 meses |