nickT-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 |
---|---|---|---|---|---|
How to set a hidden date + time stamp on a form
Started by: nickT-2
in: Toolset Professional Support
Problem: Solution: add_shortcode('wpv-today-day', 'today_shortcode'); function today_shortcode($atts) { return current_time( 'timestamp', 0 ); } Shortcode will be used like: [cred_field field='date-completed' post='maintenance-issue' value='[wpv-post-today]' urlparam='' class='form-control' format='d M Y h:m:s' output='bootstrap'] |
2 | 12 | 7 years, 4 months ago | ||
Override theme's post default content
Started by: nickT-2 in: Toolset Professional Support |
2 | 3 | 7 years, 4 months ago | ||
Changed Theme and Bootstrap Tabs stopped working
Started by: nickT-2
in: Toolset Professional Support
Problem: Solution: Please go to Toolset >> Settings >> General >> Bootstrap loading >> and select the 3rd option “Toolset should load Bootstrap 3.0”. |
2 | 5 | 7 years, 5 months ago | ||
Views pagination is very slow
Started by: nickT-2 in: Toolset Professional Support |
2 | 2 | 7 years, 5 months ago | ||
Trying to add a date range options to my view
1
2
Started by: nickT-2
in: Toolset Professional Support
Problem: I would like to use datepickers to set a date range to filter my View Solution: Views' native date range filters do not utilize datepickers. Instead, they utilize multiple select boxes to set individual date elements, like day, month, year, etc. If you want to use datepickers, you must implement a custom date field in your post type. This field must be automatically updated the first time a post is published. Then this custom field can be used as a date range filter with datepicker style controls. The following code should be placed in functions.php: function copy_custom_date_field_on_publish ( $post_id ) { // only copy over the publish date on original maintenance-issue posts $status = get_post_status( $post_id ); $pubdate = get_post_meta( $post_id, 'wpcf-issue-date', true); if ( $status != 'publish' || $pubdate ) return; $pubdate = get_the_date( 'U', $post_id ); update_post_meta( $post_id, 'wpcf-issue-date', $pubdate, '' ); } add_action( 'save_post', 'copy_custom_date_field_on_publish', 1000 ); Relevant Documentation: https://codex.wordpress.org/Plugin_API/Action_Reference/save_post |
2 | 30 | 7 years, 5 months ago | ||
Is it possible to export a view's list of posts?
Started by: nickT-2 in: Toolset Professional Support |
3 | 4 | 7 years, 6 months ago | ||
Posts created in Cred form not showing in filtered view
Started by: nickT-2
in: Toolset Professional Support
Problem: Solution: Auto-generating the markup for CRED forms will ensure that all fields are included in the form. Relevant Documentation: |
2 | 7 | 7 years, 6 months ago |