IntegrisDesign
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 |
---|---|---|---|---|---|
Content Template Broke After Adding Gallery & Repeating Field
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 6 | 2 months, 1 week ago | ||
I need to have images popup in a lightbox
Started by: IntegrisDesign in: Toolset Professional Support |
3 | 5 | 3 months ago | ||
Secondary sort not working based on title
Started by: IntegrisDesign
in: Toolset Professional Support
Problem: The customer wants to create a primary sort based on a custom field and a secondary sort based on the title (alphabetical). Despite trying various changes, the primary sort seems to override the secondary sort. The customer is unsure if the issue is related to caching or another problem. Solution: I initially suggested using the wpv_filter_query to modify the orderby parameter in the theme's functions.php file. This involved adding the following code, replacing '1234' with the post view's ID and 'custom-field' with the custom field slug: add_filter('wpv_filter_query', function($query, $setting, $view_id){ if(in_array($view_id, array(1234))){ $query['meta_key'] = 'wpcf-' . 'custom-field'; $query['orderby'] = array('title' => 'ASC', 'meta_value_num' => 'ASC'); } return $query; }, 101, 3); The customer reported that the secondary sort was still not working. After further investigation and testing with a staging site, I identified that the issue was specific to the CPT Products. I provided a workaround that involved modifying the orderby filter to include secondary sorting by title. The following code was added to the theme's functions.php file: <?php function func_orderby_title($orderby) { global $WP_Views; if ($WP_Views->current_view == 14670) { $orderby = $orderby . ", wp_posts.post_title ASC"; } return $orderby; } add_filter('posts_orderby', 'func_orderby_title'); ?> I tested the solution on the staging site and then replicated it on the live site, confirming that the sorting issue was resolved. Relevant Documentation: |
2 | 15 | 4 months, 3 weeks ago | ||
High CPU Usage
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 4 | 9 months ago | ||
Limit Results In Checkboxes Custom Type – View
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 2 | 1 year, 4 months ago | ||
How do I update the subcategory design in WooCommerce?
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 2 | 1 year, 5 months ago | ||
Beaver Builder Toolset Forms Issue….
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 2 | 1 year, 11 months ago | ||
Calculating
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 2 | 2 years, 11 months ago | ||
Sorting Randomly
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 4 | 3 years, 2 months ago | ||
Parametric Search Page OR operator not AND
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 6 | 3 years, 2 months ago | ||
Sorting my repeating admin order
Started by: IntegrisDesign
in: Toolset Professional Support
Problem: I created a repeating view. I want the soft order on the website to be the same as the drag and drop order in the admin. Solution: You can try wpv_filter_query filter hook, like this: https://toolset.com/forums/topic/sorting-my-repeating-admin-order/#post-2101945 Relevant Documentation: |
2 | 3 | 3 years, 4 months ago | ||
I need to format WooCommerce Archives when applying shortcodes
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 2 | 5 years, 10 months ago | ||
When I build a view with Posts – its says there is none available.
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 3 | 6 years, 4 months ago | ||
Creating A Custom Search Using Criteria From Two Types
Started by: IntegrisDesign in: Toolset Professional Support |
2 | 7 | 6 years, 5 months ago |