nicholasM
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 |
---|---|---|---|---|---|
displays terms in wpv-items-found
Started by: nicholasM
in: Toolset Professional Support
Problem: Solution: function get_selected_filter_fun( $atts ) { // Attributes extract(shortcode_atts( array( 'taxonomy' => '', ), $atts )); if(isset($taxonomy)) { $term_value = 'wpv-'.$taxonomy; if( isset($_GET[$term_value]) && $_GET[$term_value] != ''){ $term_details = get_term_by( 'slug', $_GET[$term_value] , $taxonomy); return $term_details->name; } } else return 'Not selected'; } add_shortcode( 'get_selected_filter', 'get_selected_filter_fun' ); //Loop Counter add_shortcode('incrementor', 'incrementor'); function incrementor() { static $i = 1; return $i++; } 2. Register both shortcodes first ‘get_selected_filter’ and ‘incrementor’ in Toolset >> Settings >> Front-end Content >> Third-party shortcode arguments. 3. Then you can use these shortcodes in the View like this (its recommend to use in “Templates for this View” section since you are using ajax): [php][wpv-conditional if="( '[incrementor]' eq '1' )"] [get_selected_filter taxonomy="bedcategory"] // replace taxonomy name here [get_selected_filter taxonomy="gender"] [/wpv-conditional] [php] Other solution could be using Custom jQuery code as client has done here: |
2 | 11 | 6 years, 8 months ago | ||
Reset Button breaks my jQuery .click function
Started by: nicholasM
in: Toolset Professional Support
Problem: Solution: jQuery(document).ready(function($){ $(document).on('click', '.FilterTopLevel-trigger', function(){ $(this).next().toggleClass("ShowOptions"); $(this).toggleClass("TriggerSelected"); $('.FilterTopLevel-trigger').not(this).next().removeClass("ShowOptions"); $('.FilterTopLevel-trigger').not(this).removeClass("TriggerSelected"); }); $(document).on('click', '.FilterSubmit', function(){ $(".FilterTopLevel-trigger").next().removeClass("ShowOptions"); }); }); |
2 | 6 | 6 years, 8 months ago | ||
limit Checkboxes to one selection?
Started by: nicholasM in: Toolset Professional Support |
2 | 3 | 6 years, 8 months ago | ||
Custom Search Filter layout
Started by: nicholasM in: Toolset Professional Support |
1 | 2 | 6 years, 8 months ago | ||
Inserting New Filter, taxonomy no longer has option for terms with no posts
Started by: nicholasM
in: Toolset Professional Support
Problem: I would like my View's taxonomy filter to include all terms, even if they are not associated with any posts. Solution: In the View's Custom Search settings, choose "Let me choose individual settings manually," then select "Always show all values for options." Fill in the remaining settings as desired. Relevant Documentation: https://toolset.com/documentation/user-guides/front-page-filters/ |
2 | 5 | 6 years, 8 months ago | ||
Count filtered results and show count per author
Started by: nicholasM in: Toolset Professional Support |
2 | 14 | 7 years, 1 month ago | ||
Updating to Views 2.1 broke pagination of Parametric search
Started by: nicholasM
in: Toolset Professional Support
Problem: Solution: |
3 | 11 | 7 years, 9 months ago | ||
UserVoice or simular voting plateform
Started by: nicholasM in: Types Community Support |
2 | 2 | 8 years ago | ||
Post types not showing in Parametric search after import
Started by: nicholasM in: Toolset Professional Support |
2 | 9 | 8 years, 4 months ago | ||
Updating Access from v1.2.5 to v1.2.6 Caused 500 Server Error
1
2
Started by: nicholasM in: Toolset Professional Support |
4 | 19 | 8 years, 7 months ago | ||
Parametric Search Refresh Speed
Started by: nicholasM in: Toolset Professional Support |
2 | 6 | 8 years, 9 months ago | ||
global access overide issue
Started by: nicholasM in: Toolset Professional Support |
2 | 4 | 8 years, 10 months ago | ||
Hiding Types menu not working
Started by: nicholasM in: Toolset Professional Support |
2 | 3 | 8 years, 10 months ago | ||
wp_list_pages menu not showing up on blocked pages
Started by: nicholasM in: Toolset Professional Support |
2 | 4 | 8 years, 11 months ago | ||
If field has a value
Started by: nicholasM in: Toolset Professional Support |
2 | 6 | 8 years, 11 months ago |