doronN-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 |
---|---|---|---|---|---|
Uneven grid for post
Started by: doronN-2 in: Toolset Professional Support |
2 | 2 | 6 years, 2 months ago | ||
Create a "Load More" Button
Started by: doronN-2 in: Toolset Professional Support |
2 | 2 | 6 years, 3 months ago | ||
Pointing a custom search to an archive page
Started by: doronN-2
in: Toolset Professional Support
Problem: I would like to use a custom search View to display the search filters, then redirect the User to an archive page where the search results can be seen. Solution: It's not currently possible to split up the search filters and results in a WordPress Archive. Use a custom search View or custom code. |
2 | 4 | 6 years, 3 months ago | ||
Prevent duplicate results in Views of M2M posts
Started by: doronN-2 in: Toolset Professional Support |
2 | 3 | 6 years, 3 months ago | ||
Remove duplicate posts in a many-to-many (M2M) View
Started by: doronN-2
in: Toolset Professional Support
Problem: I have a nested View structure that loops over post type A in a M2M relationship, and displays all the post type B related posts for each item in the loop of post type A. Since it's an M2M relationship, some post type B are shown multiple times. I would like to filter out the duplicate posts. Solution: There is not an easy way to do this with nested Views. A JavaScript solution can work, but only without pagination in the View. In the Loop Editor: <wpv-loop> <div class="remove-duplicate-stories"> [wpv-post-link] </div> </wpv-loop> In the JavaScript panel: jQuery(document).ready(function(){ var seen = {}; jQuery('.remove-duplicate-stories').each(function() { var txt = jQuery(this).text(); if (seen[txt]) jQuery(this).remove(); else seen[txt] = true; }); }); |
2 | 3 | 6 years, 3 months ago | ||
Custom Search In layout Page Not Working
Started by: doronN-2
in: Toolset Professional Support
Problem: The issue here is that the user's custom search is not working. Solution: In a case like this it's usually an issue with the filters. What i would recommend that you do is to remove the query filters and re-add them. |
2 | 8 | 6 years, 3 months ago | ||
Multiple instances of single line field
Started by: doronN-2 in: Toolset Professional Support |
2 | 2 | 6 years, 5 months ago | ||
Search Result Page for all CPT, grouped by post type
Started by: doronN-2
in: Toolset Professional Support
Problem: I would like to create a search results page that contains all custom post types, with results organized by post type. Solution: You can create multiple Views, one for each post type, and insert them in the search results WordPress Archive. Add custom code that applies the search term to each View using the wpv_filter_query API. add_filter( 'wpv_filter_query', 'add_url_query_search_term_filter',99,3 ); function add_url_query_search_term_filter( $query_args, $views_settings, $view_id) { $view_ids = array( 12345 ); if (in_array($view_id, $view_ids)){ $query_args['s'] = isset($_GET['s']) ? $_GET['s'] : ''; } return $query_args; } Relevant Documentation: |
2 | 3 | 6 years, 5 months ago | ||
Post relationship and taxonomy views and archives
Started by: doronN-2
in: Toolset Professional Support
Problem: I have a custom post type Destinations and a custom taxonomy Destination Types. I have another custom post type Stories that are child posts of Destinations. On the Destination Type taxonomy archive page, I would like to show: Solution: Relevant Documentation: |
2 | 4 | 6 years, 5 months ago | ||
Where Can I download the starter theme?
Started by: doronN-2
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
3 | 5 | 6 years, 5 months ago | ||
Event Calendar CPT (Event) Fields not showing on CRED form + Organizers , Venues
Started by: doronN-2 in: Toolset Professional Support |
2 | 2 | 6 years, 5 months ago | ||
Map marker not showing on map in frontend
Started by: doronN-2 in: Toolset Professional Support |
2 | 10 | 6 years, 5 months ago |