culturaI
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Shortcode for sums calculated for all pages
Started by: culturaI in: Toolset Professional Support |
|
2 | 3 | 4 years, 3 months ago | |
Filter nested View of child posts in a parent View
Started by: culturaI
in: Toolset Professional Support
Problem: I would like to create a View of parent posts and add a nested View of child posts. I would like to include custom field filters on the front-end so Users can filter both parent and child posts. Solution: It's not currently easy to accomplish this type of nested View with custom field filters applied to both post types. We expect to add more robust related post filters in an upcoming release. |
|
2 | 7 | 4 years, 3 months ago | |
Display sum of [wpv-found-count] child post
Started by: culturaI in: Toolset Professional Support |
|
2 | 2 | 4 years, 3 months ago | |
Import posts with CSV
Started by: culturaI
in: Toolset Professional Support
Problem: Solution: |
|
2 | 4 | 4 years, 9 months ago | |
Filter grouping multiple values in a single selection
Started by: culturaI in: Toolset Professional Support |
|
2 | 3 | 4 years, 11 months ago | |
enable text mode in data picker
Started by: culturaI
in: Toolset Professional Support
Problem: Solution: So - its not feasible to use textual date format. Relevant Documentation: |
|
2 | 3 | 4 years, 11 months ago | |
Update parent field after checking others child fields
Started by: culturaI
in: Toolset Professional Support
Problem: parent post type: "contatto" with types custom field "data-inizio-ultimo-corso" when submitting a new "corso", i'm updating "data-inizio-ultimo -corso" if date greater, using this function: //DATA INIZIO ULTIMO CORSO function inserisce_data_inizio_ultimo_corso( $post_ID ) { if ( get_post_type( $post_ID ) == 'corso' ) { $data_inizio_corso_inserito_timestamp = get_post_meta($post_ID, 'wpcf-data-inizio-corso', true); $contatto_id = get_post_meta($post_ID, '_wpcf_belongs_contatto_id', true); $data_inizio_corso_attuale_timestamp = get_post_meta( $contatto_id, 'wpcf-data-inizio-ultimo-corso', true ); if ( $data_inizio_corso_inserito_timestamp > $data_inizio_corso_attuale_timestamp) {update_post_meta( $contatto_id, 'wpcf-data-inizio-ultimo-corso', $data_inizio_corso_inserito_timestamp );} } } add_action( 'save_post', 'inserisce_data_inizio_ultimo_corso', 99 ); Solution: I assume you are going to check other child "corso" posts of same parent "contatto" post, in your PHP codes. In your PHP codes, you can get the parent "contatto" post ID by this: With the "contatto" post ID, you can get all the child "corso" posts with wordpress function get_posts(), by the custom field "_wpcf_belongs_contatto_id", see our document: section "Example of a custom query for displaying child posts" Relevant Documentation: |
|
2 | 5 | 4 years, 11 months ago | |
cred module restrict date range
Started by: culturaI
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
|
2 | 13 | 4 years, 11 months ago | |
Copy child date custom field to parent date custom field
Started by: culturaI
in: Toolset Professional Support
Problem: I would like to use the save_post hook to update a parent's date field when a child post is saved, but only if the child's date field is a later date. Solution: //DATA FINE ULTIMO CORSO function inserisce_data_fine_ultimo_corso( $post_ID ) { if ( get_post_type( $post_ID ) == 'corso' ) { $data_fine_corso_inserito_timestamp = get_post_meta($post_ID, 'wpcf-data-fine-corso', true); $contatto_id = get_post_meta($post_ID, '_wpcf_belongs_contatto_id', true); $data_fine_corso_attuale_timestamp = get_post_meta( $contatto_id, 'wpcf-data-fine-ultimo-corso', true ); if ( $data_fine_corso_inserito_timestamp > $data_fine_corso_attuale_timestamp) {update_post_meta( $contatto_id, 'wpcf-data-fine-ultimo-corso', $data_fine_corso_inserito_timestamp );} } } add_action( 'save_post', 'inserisce_data_fine_ultimo_corso', 99 ); |
|
2 | 3 | 5 years ago | |
Query filter relationship
Started by: culturaI in: Toolset Professional Support |
|
3 | 8 | 5 years ago | |
Query filter relationship 2
Started by: culturaI in: Toolset Professional Support |
|
2 | 2 | 5 years ago | |
conditional filter display on parametric search
Started by: culturaI in: Types Community Support |
|
2 | 6 | 5 years ago | |
Display search results only after search
Started by: culturaI
in: Toolset Professional Support
Problem: The issue here is that the user only wants to display his search results only after a search has been made. Solution: Take a look at this screenshot below. |
|
2 | 9 | 5 years ago | |
Hide Nav Menu items or pages
Started by: culturaI in: Toolset Professional Support |
|
2 | 3 | 5 years ago | |
Display parent post type in parametric search of child custom field
Started by: culturaI
in: Toolset Professional Support
Problem: In my website, there is parent post type "contatti" + child post type "corsi". I'm trying to setup a view that allow to display "contatti" that attended to "corsi" >= "data inizio corso" Solution: You can try this: 1) Create a view list child "corsi" posts, filter by custom field "data inizio corso": 2) In the view loop, display it's parent "contatti" post information: Relevant Documentation: https://toolset.com/documentation/user-guides/displaying-fields-of-parent-pages/ |
|
2 | 8 | 5 years ago |