ronM-3
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
| Status | Debate | Supporter | Voces | Mensajes | Caducidad |
|---|---|---|---|---|---|
|
Block editor blank page still after upgrade to Toolset blocks 1.6.15
Iniciado por: ronM-3 en: Toolset Professional Support |
|
2 | 11 | 1 year, 11 months ago | |
|
Author and category suddenly in header
Iniciado por: ronM-3 en: Toolset Professional Support |
|
2 | 3 | 3 years, 5 months ago | |
|
Change Custom field filter on different pages
Iniciado por: ronM-3 en: Toolset Professional Support |
|
2 | 9 | 4 years, 2 months ago | |
|
Custom Search / Custom text in stead of empty search Criterium
Iniciado por: ronM-3
en: 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, 3 months ago |