daveG-7
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 |
---|---|---|---|---|---|
Changing permalink for custom post types so they don't use post name
Iniciado por: daveG-7
en: Toolset Professional Support
Problem: I want the custom post types for farms and restaurants on my site to not display the post name in their permalinks, using only the post ID instead. This is because I’m building a paid member directory, and displaying the name in the URL could give away sensitive information. Solution: The URL structure of custom post types is managed by WordPress settings, not Toolset. To achieve ID-based URLs, go to WordPress Dashboard > Settings > Permalinks and set the structure to "Plain". Relevant Documentation: |
|
2 | 7 | hace 8 meses | |
Theme sticky header doesn't work on Toolset Custom Post Type Single Pages
Iniciado por: daveG-7 en: Toolset Professional Support |
|
2 | 7 | hace 8 meses | |
On reaching the last page of results in pagination, scrolls down
Iniciado por: daveG-7 en: Toolset Professional Support |
|
3 | 11 | hace 1 año, 6 meses | |
Help with displaying post expiration date
Iniciado por: daveG-7 en: Toolset Professional Support |
|
2 | 8 | hace 1 año, 9 meses | |
Code snippet not running on Ajax calls on a search form
Iniciado por: daveG-7 en: Toolset Professional Support |
|
2 | 5 | hace 1 año, 9 meses | |
I've found an issue with a previous solution to a different ticket
Iniciado por: daveG-7 en: Toolset Professional Support |
|
2 | 11 | hace 1 año, 10 meses | |
Second page of ajax pagination after a custom search returns no results
Iniciado por: daveG-7 en: Toolset Professional Support |
|
2 | 5 | hace 2 años | |
Add default text to multiselect taxonomy filters
Iniciado por: daveG-7
en: Toolset Professional Support
Problem: I am having an issue with adding default text to multi-select taxonomy filters in Toolset, as the default_label only works for select taxonomy filters. Solution: To add a value-less option with the desired text to the multi-select input, use the following JavaScript code: document.addEventListener("DOMContentLoaded", function() { // Get the select element const selectElement = document.querySelector('select[name="wpv-offering[]"]'); // Create a new option element const defaultOption = document.createElement('option'); defaultOption.value = 'any'; defaultOption.text = 'Any'; // Set the new option as the default selected option defaultOption.selected = true; // Add the new option to the beginning of the select element selectElement.insertBefore(defaultOption, selectElement.firstChild); }); This code waits for the DOM content to be loaded, gets the select element, creates a new option element, sets it as the default selected option, and adds it to the beginning of the select element. |
|
3 | 7 | hace 2 años | |
Changing users role after membership expires
Iniciado por: daveG-7 en: Toolset Professional Support |
|
2 | 3 | hace 2 años | |
Create user form is only showing up for admin level users
1
2
Iniciado por: daveG-7 en: Toolset Professional Support |
|
2 | 20 | hace 2 años, 1 mes | |
Help with conditional output
Iniciado por: daveG-7
en: Toolset Professional Support
Problem: Solution: You can find proposed solution in this case with the following reply: Relevant Documentation: |
|
2 | 3 | hace 3 años, 2 meses |