robM-9
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 |
---|---|---|---|---|---|
FacetWP not working after updating Toolset Views to 3.1.2
Started by: robM-9 in: Toolset Professional Support |
2 | 2 | 4 years, 8 months ago | ||
"Disable the wrapping DIV around the View" not saving
Started by: robM-9 in: Toolset Professional Support |
4 | 5 | 5 years, 9 months ago | ||
Repeating Custom Fields not working as expected
Started by: robM-9
in: Toolset Professional Support
Problem: Horizontal repeatable field group editor is not displaying input fields, and has trouble with nested RFGs Solution: Update to Types 3.2.3 |
3 | 13 | 5 years, 11 months ago | ||
Sort by 2 custom fields
Started by: robM-9
in: Toolset Professional Support
Problem: I would like to sort a View by two custom fields. Solution: add_filter('wpv_filter_query', 'add_custom_fields_to_view_query', 199, 3); function add_custom_fields_to_view_query($query_args, $view_settings, $view_id ) { $view_ids = array( 4497 ); if( in_array( $view_id, $view_ids)) { $query_args['meta_query'] = array( 'relation' => 'AND', 'year_clause' => array( 'key' => 'wpcf-ce-year', 'compare' => 'EXISTS', 'type' => 'NUMERIC', ), 'month_clause' => array( 'key' => 'wpcf-current-entries-month', 'compare' => 'EXISTS', 'type' => 'NUMERIC', ), ); $query_args['orderby'] = array( 'year_clause' => 'ASC', 'month_clause' => 'ASC', ); } return $query_args; } Relevant Documentation: |
2 | 16 | 5 years, 11 months ago | ||
Views (called Current Entries) is not sorting by custom field called Entry Date
Started by: robM-9 in: Toolset Professional Support |
3 | 3 | 6 years, 4 months ago |