avansisI-2
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
| Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
|---|---|---|---|---|---|
|
Toolset chat support ticket by avansisI-2 – 1607435670
Gestartet von: avansisI-2 in: Chat Support |
|
1 | 2 |
vor 4 years, 10 months
|
|
|
Create two views with same content
Gestartet von: avansisI-2 in: Toolset Professional Support |
|
2 | 11 | vor 4 years, 10 months | |
|
Custom field taxonomy register in api
Gestartet von: avansisI-2
in: 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 | vor 4 years, 11 months | |
|
Create post relationship using PHP
Gestartet von: avansisI-2
in: 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 | vor 4 years, 11 months | |
|
View with relationship
1
2
3
Gestartet von: avansisI-2 in: Toolset Professional Support |
|
3 | 38 | vor 4 years, 11 months | |
|
Cannot change author to custom user in custom type post.
Gestartet von: avansisI-2 in: Toolset Professional Support |
|
2 | 3 | vor 4 years, 11 months | |
|
Create Message System with Message Module
Gestartet von: avansisI-2 in: Soporte profesional de Toolset |
|
2 | 8 | vor 4 years, 11 months | |
|
Information in USER API with field custom
1
2
Gestartet von: avansisI-2 in: Toolset Professional Support |
|
2 | 16 | vor 4 years, 11 months | |
|
phone field unique in the user registration
Gestartet von: avansisI-2 in: Toolset Professional Support |
|
2 | 9 | vor 4 years, 11 months | |
|
View only show child custom type
Gestartet von: avansisI-2 in: Toolset Professional Support |
|
2 | 2 | vor 4 years, 11 months | |
|
Problems with template content
Gestartet von: avansisI-2 in: Toolset Professional Support |
1 | 2 | vor 4 years, 11 months | ||
|
activate an action when loading a page with form, without submit
Gestartet von: avansisI-2 in: Toolset Professional Support |
|
2 | 8 | vor 4 years, 11 months | |
|
help with support ticket
Gestartet von: avansisI-2 in: Chat Support |
|
1 | 2 |
vor 4 years, 11 months
|
|
|
expose related posts in REST API
Gestartet von: avansisI-2
in: 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 | vor 4 years, 11 months | |
|
I am having problems with the relationship in the API
Gestartet von: avansisI-2
in: 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 | vor 4 years, 11 months |