Kostas
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 |
---|---|---|---|---|---|
cred_post_expiration_custom_actions issue
Started by: Kostas
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 6 | 6 years, 6 months ago | ||
View suddenly stopped working
Started by: Kostas
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 | ||
Table of users and CPTs
1
2
Started by: Kostas in: Toolset Professional Support |
2 | 18 | 6 years, 11 months ago | ||
Show a loading image while waiting for a view to load
Started by: Kostas in: Toolset Professional Support |
2 | 5 | 6 years, 11 months ago | ||
cred_form_validate hook problem
1
2
Started by: Kostas in: Toolset Professional Support |
2 | 26 | 7 years ago | ||
cred conditional submission
Started by: Kostas in: Toolset Professional Support |
2 | 11 | 7 years ago | ||
Template layout of a CPT, not printing properly
Started by: Kostas in: Toolset Professional Support |
3 | 15 | 7 years, 1 month ago | ||
Login forms rendering problem with built-in WP themes
Started by: Kostas in: Types Community Support |
2 | 9 | 7 years, 1 month ago | ||
Edit link only for for published posts?
Started by: Kostas
in: Toolset Professional Support
Problem: Solution: 2. This is not possible with Toolset Types, as I think this might be possible using custom code / WordPress function "register post status" OR by using a plugin. Tutorial and WP codex links are: Plugins that have Custom Status feature: |
2 | 4 | 7 years, 1 month ago | ||
Radio field not rendered properly in CRED form
Started by: Kostas in: Toolset Professional Support |
2 | 13 | 7 years, 1 month ago | ||
Dynamic select input in a cred form
Started by: Kostas
in: Toolset Professional Support
Problem: [cred_field field='_wpcf_belongs_sample_id' value='' class='form-control' output='bootstrap'] I need the following functionality: Solution: add_action('cred_save_data', 'prefix_my_cred_cred_save_data_action', 10, 2); function prefix_my_cred_cred_save_data_action( $post_id, $form_data ){ if ($form_data['id']==39){ //do the following code only if the CRED form ID is 39, adjust this to your CRED form ID if (!empty($_POST['newparent'])){ //if parent is selected $parent_id = $_POST['newparent']; add_post_meta($post_id, '_wpcf_belongs_sample_id', $parent_id, true); //save the ID of the sample as parent of the current post } } } ==> Replace ‘39’ with your CRED form id. 1. You can add your shortcode directly in cred form. <div class="form-group"> <label>Give your answer</label> [custom_new_sample_select] </div> 2. If you find any issue then please don’t do directly ‘echo’ in your custom shortcode. First save them in some variable and then use return statement as follows. $content = '<select name="newparent" class="form-control" output="bootstrap">'; foreach ($notanswered_sample_list as $post) : $content .='<option value=' . $post->ID . '>' . $post->post_name . '</option>'; endforeach; $content .='</select>'; wp_reset_postdata(); return $content; Relevant Documentation: |
2 | 11 | 7 years, 1 month ago | ||
Number input field replaced with jQuery UI slider in a CRED form
Started by: Kostas in: Toolset Professional Support |
2 | 9 | 7 years, 4 months ago | ||
Use of "_wpcf_belongs_[parent-slug]_id" in a select field
Started by: Kostas in: Toolset Professional Support |
2 | 8 | 7 years, 4 months ago |