rafaelL-2
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 |
---|---|---|---|---|---|
get value from parent post on cred notifications
Started by: rafaelL-2 in: Toolset Professional Support |
1 | 2 | 6 years, 3 months ago | ||
date fields doesn’t show data if they are before 1950
Started by: rafaelL-2
in: Toolset Professional Support
Problem: I am using the last beta version of types 3.0-b1, the types custom date field. If the data is like: 28/01/2018 --> data is shown but if the data is like 28/01/1940 --> no data or strange data like 1/5/9715 Solution: Here is the hot fix: if ( preg_match( '~^[1-9][0-9]*$~', $value ) ) { To: if ( preg_match( '~^-?[1-9][0-9]*$~', $value ) ) { Relevant Documentation: |
2 | 9 | 6 years, 8 months ago | ||
CRED NOTIFICATIONS DOESN'T SHOW PARENT FIELD INFO
Started by: rafaelL-2 in: Toolset Professional Support |
2 | 12 | 6 years, 8 months ago | ||
Create child post from CRED
Started by: rafaelL-2
in: Toolset Professional Support
Problem: The issue here is that the user wanted to create his child post immediately after creating the parent and also having that child post automatically assigned to the created parent. Solution: Using this format add_filter('cred_success_redirect', 'custom_redirect',10,3); function custom_redirect($url, $post_id, $form_data) { if ($form_data['id']==12) return 'urltochildform?parent_{CPTSLUG}_id='.$post_id; return $url; } You will need to add the child form to a different page and using the redirect hook above to redirect to that page. |
2 | 5 | 6 years, 8 months ago | ||
Limiting to view custom post based on author
Started by: rafaelL-2
in: Toolset Professional Support
Problem: Solution: To do this you can follow the instructions in our documentation in the link below. |
2 | 3 | 6 years, 9 months ago | ||
Opciones para el buscador de view , opciones de buscador
Started by: rafaelL-2 in: Soporte profesional de Toolset |
2 | 3 | 6 years, 9 months ago | ||
Usin the wpv_filter_query to more than one user
Started by: rafaelL-2
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 5 | 6 years, 9 months ago | ||
Add a select custom user field with options automatically generated from a CPT
Started by: rafaelL-2
in: Toolset Professional Support
Problem: Solution: It is not documented. Below is some sample code which populates a field called "Choices" with the posts of the custom type "thing". /** * Auto-populate custom User Field */ add_filter( 'wpt_field_options', 'tssupp_populate_user_field', 10, 2 ); function tssupp_populate_user_field( $current_options, $title_of_field ){ if ( 'Choices' == $title_of_field ) { $current_options = array(); $args = array( 'post_type' => 'thing', 'numberposts' => -1 ); $posts = get_posts( $args ); foreach ($posts as $key => $post) { $current_options[] = array( '#title' => $post->post_title, '#value' => $post->ID ); } } return $current_options; } |
2 | 6 | 6 years, 9 months ago | ||
Create a personalized sub search by setting a specific parameter with view
Started by: rafaelL-2 in: Toolset Professional Support |
2 | 8 | 6 years, 9 months ago | ||
Pagination controls missing from archive
Started by: rafaelL-2
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 7 | 6 years, 9 months ago | ||
When importing posts the Template Layout is not assigned
Started by: rafaelL-2
in: Toolset Professional Support
Problem: Solution: |
3 | 6 | 6 years, 11 months ago | ||
CHECK POSTED DATA TO AVOID DUPLICATED ENTRIES
1
2
Started by: rafaelL-2 in: Toolset Professional Support |
2 | 18 | 7 years ago | ||
CRED POST AS ANOTHER USER ID
Started by: rafaelL-2 in: Toolset Professional Support |
2 | 5 | 7 years ago |