ronM-3
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
| Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
|---|---|---|---|---|---|
|
Block editor blank page still after upgrade to Toolset blocks 1.6.15
Gestartet von: ronM-3 in: Toolset Professional Support |
|
2 | 11 | vor 1 year, 11 months | |
|
Author and category suddenly in header
Gestartet von: ronM-3 in: Toolset Professional Support |
|
2 | 3 | vor 3 years, 5 months | |
|
Change Custom field filter on different pages
Gestartet von: ronM-3 in: Toolset Professional Support |
|
2 | 9 | vor 4 years, 2 months | |
|
Custom Search / Custom text in stead of empty search Criterium
Gestartet von: 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 | vor 4 years, 3 months |