avansisI-2
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 |
---|---|---|---|---|---|
Toolset chat support ticket by avansisI-2 – 1607435670
Iniciado por: avansisI-2 en: Chat Support |
1 | 2 |
hace 4 años, 2 meses
|
||
Create two views with same content
Iniciado por: avansisI-2 en: Toolset Professional Support |
2 | 11 | hace 4 años, 2 meses | ||
Custom field taxonomy register in api
Iniciado por: avansisI-2
en: Toolset Professional Support
Problem: I would like to add the latitude and longitude values of a custom taxonomy address field in my taxonomy REST API response. Solution: Use the types_render_termmeta function to render an address field with PHP. Relevant Documentation: https://toolset.com/documentation/customizing-sites-using-php/functions/#address |
2 | 3 | hace 4 años, 2 meses | ||
Create post relationship using PHP
Iniciado por: avansisI-2
en: Toolset Professional Support
Problem: I would like to connect two posts using PHP and a Post Relationship inside a custom REST API route. Solution: Use the toolset_connect_posts API to connect two posts programmatically. Relevant Documentation: https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_connect_posts |
2 | 12 | hace 4 años, 2 meses | ||
View with relationship
1
2
3
Iniciado por: avansisI-2 en: Toolset Professional Support |
3 | 38 | hace 4 años, 2 meses | ||
Cannot change author to custom user in custom type post.
Iniciado por: avansisI-2 en: Toolset Professional Support |
2 | 3 | hace 4 años, 2 meses | ||
Create Message System with Message Module
Iniciado por: avansisI-2 en: Soporte profesional de Toolset |
2 | 8 | hace 4 años, 2 meses | ||
Information in USER API with field custom
1
2
Iniciado por: avansisI-2 en: Toolset Professional Support |
2 | 16 | hace 4 años, 2 meses | ||
phone field unique in the user registration
Iniciado por: avansisI-2 en: Toolset Professional Support |
2 | 9 | hace 4 años, 2 meses | ||
View only show child custom type
Iniciado por: avansisI-2 en: Toolset Professional Support |
2 | 2 | hace 4 años, 2 meses | ||
Problems with template content
Iniciado por: avansisI-2 en: Toolset Professional Support |
1 | 2 | hace 4 años, 2 meses | ||
activate an action when loading a page with form, without submit
Iniciado por: avansisI-2 en: Toolset Professional Support |
2 | 8 | hace 4 años, 2 meses | ||
help with support ticket
Iniciado por: avansisI-2 en: Chat Support |
1 | 2 |
hace 4 años, 2 meses
|
||
expose related posts in REST API
Iniciado por: avansisI-2
en: Toolset Professional Support
Problem: Solution: I used the following and slugs:
function get_parent_page_for_api_bonos( $object ) { //get the id of the post object array $post_id = $object['id']; //return the post meta return toolset_get_related_post( $post_id, 'parent-cpt-child-cpt'); } add_action( 'rest_api_init', 'create_api_posts_meta_field_bonos'); function create_api_posts_meta_field_bonos() { register_rest_field( 'child-cpt', 'parent_page', array( 'get_callback' => 'get_parent_page_for_api_bonos', 'schema' => null, ) ); } Relevant Documentation: |
2 | 7 | hace 4 años, 2 meses | ||
I am having problems with the relationship in the API
Iniciado por: avansisI-2
en: Toolset Professional Support
Problem: I am having problems with the relationship in the API, how to get related parent post in PHP codes. Solution: I suggest you follow our document to setup the PHP codes. |
2 | 6 | hace 4 años, 2 meses |