Kostas
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 |
---|---|---|---|---|---|
Pass a variable to a view
Gestartet von: Kostas
in: Toolset Professional Support
Problem: Use third party shortcode insider Views shortcode [wpv-view]. Solution: The shortcode within shortcode is a feature of Views plugin, you can register your own custom shortcode here: Go to Toolset->Settings and click on the Front-end Content tab. Look for the section called Third-party shortcode arguments Relevant Documentation: https://toolset.com/documentation/user-guides/shortcodes-within-shortcodes/ |
2 | 3 | vor 6 Jahren, 2 Monaten | ||
Filter by user’s custom field
Gestartet von: Kostas
in: Toolset Professional Support
Problem: Solution: Set the view filter for this custom field to be filtered by a shortcode parameter. Then you can follow the example below. [wpv-view name='my-view' param="[wpv-user field='wpcf-year']"] Now you need to replace param with the correct shortcode parameter name and the wpcf-year with the correct slug for the custom field. You should add the slug with the wpcf- prefix attached. |
2 | 10 | vor 6 Jahren, 6 Monaten | ||
cred_post_expiration_custom_actions issue
Gestartet von: Kostas
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 6 | vor 6 Jahren, 7 Monaten | ||
View suddenly stopped working
Gestartet von: Kostas
in: Toolset Professional Support
Problem: Solution: You can find proposed solution in this case with the following reply: Relevant Documentation: |
2 | 5 | vor 6 Jahren, 10 Monaten | ||
Table of users and CPTs
1
2
Gestartet von: Kostas in: Toolset Professional Support |
2 | 18 | vor 6 Jahren, 11 Monaten | ||
Show a loading image while waiting for a view to load
Gestartet von: Kostas in: Toolset Professional Support |
2 | 5 | vor 6 Jahren, 11 Monaten | ||
cred_form_validate hook problem
1
2
Gestartet von: Kostas in: Toolset Professional Support |
2 | 26 | vor 7 Jahren | ||
cred conditional submission
Gestartet von: Kostas in: Toolset Professional Support |
2 | 11 | vor 7 Jahren, 1 Monat | ||
Template layout of a CPT, not printing properly
Gestartet von: Kostas in: Toolset Professional Support |
3 | 15 | vor 7 Jahren, 2 Monaten | ||
Login forms rendering problem with built-in WP themes
Gestartet von: Kostas in: Types Community Support |
2 | 9 | vor 7 Jahren, 2 Monaten | ||
Edit link only for for published posts?
Gestartet von: 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 | vor 7 Jahren, 2 Monaten | ||
Radio field not rendered properly in CRED form
Gestartet von: Kostas in: Toolset Professional Support |
2 | 13 | vor 7 Jahren, 2 Monaten | ||
Dynamic select input in a cred form
Gestartet von: 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 | vor 7 Jahren, 2 Monaten |