Thomas AMX
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 |
---|---|---|---|---|---|
Conditional Logic for Sidebar Widgets in Taxonomy Archives
Started by: Thomas AMX
in: Toolset Professional Support
Problem: When I pasted the [wpv-archive-title] shortcode directly into the Custom HTML or Text Widget it works as expected. As far I can tell now, a simple conditional works as well when entered directly into the widget. But when the same thing is saved as a content template in Views, and the content template shortcode [wpv-post-body view_template="my-conditional-widget"] is inserted into a widget, it will not output the archive title, nor will a conditional containing this title work. The same content template works fine with conditionals in sidebars on single posts. I suppose this would be a workaround, but shouldn't it work with content template shortcodes as well? Solution: Q1) but shouldn't it work with content template shortcodes as well? It is not for rendering the content of current post, but shortcode [wpv-archive-title] is for rendering the tile of current archive page, so shortcode [wpv-archive-title] won't work as expected in the content template [wpv-archive-title] . Q2) I wonder if there are any reasons against pasting full, rather longish content template code into Custom HTML widgets? I suppose not? Relevant Documentation: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-archive-title https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-body |
3 | 10 | 6 years, 11 months ago | ||
Alphabetic sort of checkboxes partially incorrect
Started by: Thomas AMX
in: Toolset Professional Support
Problem: Solution: This type of JS code or modifications falls into Custom coding & custom development and it is out of support policy (https://toolset.com/toolset-support-policy/). So we recommend to contact Toolset recommended service providers to further discuss the custom approach. We have some recommended list of service providers here if you would like to take a look: https://toolset.com/consultant/ |
2 | 10 | 7 years ago | ||
Defining Featured Images for CPT Archives
Started by: Thomas AMX in: Toolset Professional Support |
2 | 3 | 7 years, 1 month ago | ||
Disabling pagination tooltips on hover
Started by: Thomas AMX
in: Toolset Professional Support
Problem: I would like to disable the tooltips that can be seen when hovering over pagination links in my View. Solution: You can remove the title attribute of each link with JavaScript by adding the following code: // remove tooltips on all pagination links from Views jQuery(document).ready(function() { jQuery( '.js-wpv-archive-pagination-link, .js-wpv-pagination-link').removeAttr('title'); }); Relevant Documentation: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-pager-nav-links |
2 | 3 | 7 years, 3 months ago | ||
Advanced Filters Accordion collapses after AJAX filter updates
1
2
Started by: Thomas AMX
in: Toolset Professional Support
Problem: The issue here was that the user's accordion that was created with bootstrap was closing after each AJAX search and the user wanted it to remain open if the user has already opened it. Solution: The solution is to use the views callback function to re-open the accordion. jQuery( ".btn-primary" ).click(function() { window.state = 'open' }); jQuery( document ).on( 'js_event_wpv_parametric_search_form_updated', function( event, data ) { /** * data.view_unique_id (string) The View unique ID hash * data.view_changed_form (object) The jQuery object for the View form after being updated * data.view_changed_form_additional_forms_only (object) The jQuery object containing additional forms from other instances of the same View inserted using the [wpv-form-view] shortcode * data.view_changed_form_additional_forms_full (object) The jQuery object containing additional forms from other instances of the same View inserted using the [wpv-view] shortcode */ if (window.state === 'open'){ jQuery('.collapse').collapse('show'); } }); Add the above tot he JS editor of your view. |
2 | 22 | 7 years, 3 months ago |