marcialB
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 |
---|---|---|---|---|---|
Order posts by date in repeating field group
Gestartet von: marcialB
in: Toolset Professional Support
Problem: The customer has several events, each with multiple dates stored in a repeating field group. They want to display all events in a list ordered by the date of the first event. The inner view correctly retrieves the next upcoming date of each event, but they want the outer view to use the same logic to order the events by the first upcoming date. Solution: We explained that due to the way repeatable field groups are implemented (as child posts), the fields for the event dates belong to the child posts, making it impossible to directly order the outer events by these fields. The suggested solution is to add a field directly to the event posts that records the next upcoming event date. This field can then be used to order the event posts. To automate this process, the customer can use the save_post hook to copy the upcoming date to the main post whenever changes are made, ensuring that the data stays up to date. |
2 | 3 | vor 3 Monaten, 2 Wochen | ||
Get name of related post
Gestartet von: marcialB in: Toolset Professional Support |
2 | 3 | vor 3 Monaten, 2 Wochen | ||
Views using a relationship not showing all results
Gestartet von: marcialB in: Toolset Professional Support |
2 | 6 | vor 1 Jahr, 7 Monaten | ||
Redirection loop
Gestartet von: marcialB in: Toolset Professional Support |
2 | 3 | vor 1 Jahr, 8 Monaten | ||
Template not showing in Twenty Twenty-Three
Gestartet von: marcialB in: Toolset Professional Support |
2 | 6 | vor 1 Jahr, 11 Monaten | ||
Custom user fields not available in Views
Gestartet von: marcialB in: Toolset Professional Support |
2 | 7 | vor 3 Jahren, 3 Monaten | ||
Pass parameter of CRED fields to another form via URL
Gestartet von: marcialB
in: Toolset Professional Support
Problem: Solution: You can find proposed solution in this case with the following reply: Relevant Documentation: |
2 | 5 | vor 3 Jahren, 7 Monaten | ||
Display repeating field groups from related posts
Gestartet von: marcialB in: Toolset Professional Support |
2 | 3 | vor 3 Jahren, 7 Monaten | ||
Scroll to ID on search results page
Gestartet von: marcialB in: Toolset Professional Support |
2 | 3 | vor 3 Jahren, 8 Monaten | ||
Access doesn't hide whole page but only the main content
Gestartet von: marcialB in: Toolset Professional Support |
2 | 2 | vor 3 Jahren, 10 Monaten | ||
Notify members about new posts
Gestartet von: marcialB in: Toolset Professional Support |
2 | 2 | vor 3 Jahren, 11 Monaten | ||
Automatically set parent post in form for repeatable field group
Gestartet von: marcialB
in: Toolset Professional Support
Problem: Solution: - https://toolset.com/forums/topic/repeatable-field-group-form-auto-select-post-where-this-form-is-shown-elementor/ The trick is to bind the post using a content template, using the item attribute, or inside a view's loop. Relevant Documentation: |
2 | 3 | vor 4 Jahren | ||
CRED: tinymce-error in text field
Gestartet von: marcialB
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 5 | vor 4 Jahren, 2 Monaten | ||
Automatically set a taxonomy term per CRED form
Gestartet von: marcialB
in: Toolset Professional Support
Problem: I have 6 Forms that create custom posts. For each Form, I would like to automatically set one term in a custom taxonomy when the post is published. Solution: Use the cred_save_data API to programmatically set a term specific to each Form for the published posts: /* - Toolset support - for ticket #1691935 - */ // Bewerber: 13 = VR, 399 = Berater, 403 = Sportler; Inserate: 255 = VR, 584 = Berater, 586 = Sportler add_action('cred_save_data', 'ts_set_industry_term',100,2); function ts_set_industry_term($post_id, $form_data) { $forms = array( 13, 399, 403, 255, 584, 586 ); $terms = [ '13' => 'vr-mandate', '399' => 'berater-innen', '403' => 'sportler-innen', '255' => 'vr-mandate', '584' => 'berater-innen', '586' => 'sportler-innen', ]; $taxonomy = 'profil'; // -- you should not edit anything below this line if( in_array( $form_data['id'], $forms ) ) { $tag = array( $terms[$form_data['id']] ); wp_set_object_terms( $post_id, $tag, $taxonomy, true ); } }; Relevant Documentation: |
2 | 7 | vor 4 Jahren, 5 Monaten | ||
Form not adding product to cart
Gestartet von: marcialB in: Toolset Professional Support |
2 | 5 | vor 4 Jahren, 6 Monaten |