pascalS
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 |
---|---|---|---|---|---|
Can't add more or edit existing custom fields in custom fields group
Started by: pascalS in: Toolset Professional Support |
2 | 10 | 2 years, 8 months ago | ||
Unable to create a new relationship form
Started by: pascalS in: Toolset Professional Support |
2 | 4 | 2 years, 8 months ago | ||
Displaying a custom taxonomy term in each item of a dynamic grid
Started by: pascalS in: Toolset Professional Support |
2 | 7 | 2 years, 8 months ago | ||
Changing the “No results found” text in a relationship field
Started by: pascalS
in: Toolset Professional Support
Problem: I am trying to insert custom text instead of the "No results found" in a relationship search field. Solution: You can override it with WP filter hook gettext, for example: Relevant Documentation: |
2 | 5 | 2 years, 9 months ago | ||
Display currently viewed user info outside loop
1
2
3
Started by: pascalS in: Toolset Professional Support |
5 | 37 | 7 years, 11 months ago | ||
Post field group defaults to all post types when adding more fields
Started by: pascalS
in: Toolset Professional Support
Problem: If you add more fields and save, the field simply does not appear in the Group (not saved) Solution: This is usually due to the max_input_ vars which your server Admin can increase. We have solved this in past by increasing the max_input vars We also had a similar issue, there we needed 256 PHP MEM and 1GB min. server MEM (large site, many Custom Fields, lots of meta == needs more server MEM and PHP MEM) |
2 | 11 | 8 years ago | ||
My custom post types are stuck defaulting to usage with all post types
Started by: pascalS in: Toolset Professional Support |
2 | 3 | 8 years, 1 month ago | ||
Custom post type fields are showing up on my page edit screen
Started by: pascalS in: Toolset Professional Support |
1 | 2 | 8 years, 1 month ago | ||
I want to only display the parent items of the current user in a select box
Started by: pascalS
in: Toolset Professional Support
Problem: Solution: 2. In the Parent Selector Code of that form you should use only default available arguments, as this: <div class="cred-group cred-group-parents"> <div class="cred-field cred-field-_wpcf_belongs_page_id">//change "page" to your parent post slug <label class="cred-label"> Choose Parent </label> <input type="hidden" id="parents_id" value="[get-parents]" /> This is only for test display: [get-parents] [cred_field field='_wpcf_belongs_page_id' value='']//change "page" to your Parent Post Slug </div> </div> 3. In the JS: jQuery('document').ready(function(){ var post_parents = jQuery('#parents_id').val(); var arr = post_parents.split(','); jQuery("[name=_wpcf_belongs_page_id] > option").each(function() { //change "page" to your parent post slug var option_val = jQuery(this).val(); if( jQuery.inArray(option_val, arr) == -1 && option_val != -1 ){ jQuery(this).remove(); } }); }); 4. In functions.php: function get_parents($atts) { global $current_user; get_currentuserinfo(); $author_query = array('post_type' => 'page', 'posts_per_page' => '-1','author' => $current_user->ID,); $author_posts = new WP_Query($author_query); $parent_ids = ""; while($author_posts->have_posts()) : $author_posts->the_post(); $parent_ids .= get_the_ID() .","; endwhile; return $parent_ids; } add_shortcode('get-parents', 'get_parents'); 5. in Views > Compatibility > 3rd party ShortCodes register: get-parents 6. If you insert the CRED Form in a Post, it correctly displays only parent Posts of current author/user. |
3 | 12 | 8 years, 2 months ago | ||
I want to only display the parent items of the current user in a select box
Started by: pascalS in: Toolset Professional Support |
2 | 11 | 8 years, 5 months ago | ||
I can't create additional custom fields
Started by: pascalS in: Toolset Professional Support |
2 | 2 | 8 years, 6 months ago | ||
Shortcode not "printing" in input field
Started by: pascalS in: Toolset Professional Support |
2 | 3 | 8 years, 8 months ago |