ronM-3
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 |
|---|---|---|---|---|---|
|
Block editor blank page still after upgrade to Toolset blocks 1.6.15
Started by: ronM-3 in: Toolset Professional Support |
|
2 | 11 | 1 year, 9 months ago | |
|
Author and category suddenly in header
Started by: ronM-3 in: Toolset Professional Support |
|
2 | 3 | 3 years, 3 months ago | |
|
Change Custom field filter on different pages
Started by: ronM-3 in: Toolset Professional Support |
|
2 | 9 | 4 years ago | |
|
Custom Search / Custom text in stead of empty search Criterium
Started by: ronM-3
in: Toolset Professional Support
Problem: How to add a value for the search dropdown default item instead of the blank label? Solution: Add the Javascript code below to the view:
function setDropdownDefaultValue() {
jQuery('select[name="wpv-category"] > option:first-child').text('LABEL');
}
jQuery(document).ready(function() {
setDropdownDefaultValue();
});
jQuery(document).ajaxComplete(function() {
setDropdownDefaultValue();
});
replace LABEL with the label you want to add. Relevant Documentation: https://toolset.com/course-lesson/adding-custom-javascript-to-views-templates-and-archives/ |
|
2 | 5 | 4 years, 1 month ago |