Puntorosso
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 |
---|---|---|---|---|---|
Brizy Templates and Views query
Iniciado por: Puntorosso en: Toolset Professional Support |
|
1 | 2 | hace 2 meses, 3 semanas | |
Responsive grid last rows
Iniciado por: Puntorosso en: Toolset Professional Support |
|
1 | 2 | hace 3 meses | |
Toolset plugin cannot connect to toolset…
Iniciado por: Puntorosso en: Toolset Professional Support |
|
1 | 2 | hace 3 meses, 1 semana | |
Lightbox fade
Iniciado por: Puntorosso en: Toolset Professional Support |
|
1 | 4 | hace 3 meses, 1 semana | |
Taxonomy without childs
Iniciado por: Puntorosso
en: Toolset Professional Support
Problem: The user wants to create a taxonomy called "Artists" for a CPT "Record" with the following restrictions: Limit the taxonomy to a single selection. Solution: Limiting the Taxonomy to a Single Selection: Toolset does not natively allow restricting taxonomies to a single choice. However, you can achieve this using custom JavaScript and CSS to ensure only one checkbox can be selected in the admin panel. function restrict_taxonomy_to_single_selection() { if (is_admin()) { ?> <style type="text/css"> #newartist_parent { display: none; /* Hide parent selectors */ } </style> <script type="text/javascript"> jQuery(document).ready(function($) { $('input[name="tax_input[artist][]"]').on('change', function() { if ($(this).is(':checked')) { $('input[name="tax_input[artist][]"]').not(this).prop('checked', false); } }); }); </script> <?php } } add_action('admin_footer', 'restrict_taxonomy_to_single_selection'); Creating a "Childless" Taxonomy: In Toolset > Taxonomies, change the taxonomy type to a flat taxonomy (like tags) instead of hierarchical. This will prevent parent-child relationships in the taxonomy. Alternative Using Toolset Relationships: For a more robust solution, consider creating a custom post type "Artist" and use a one-to-many relationship with the "Record" post type. This ensures each record has only one artist and avoids hierarchy issues. Relevant Documentation: https://toolset.com/lesson-placement/lesson-placements-1824625-1727273/ https://toolset.com/lesson-placement/lesson-placements-1824625-1727251/ |
|
1 | 4 | hace 4 meses | |
Select custom field
Iniciado por: Puntorosso en: Toolset Professional Support |
|
1 | 2 | hace 4 meses, 1 semana | |
Taxonomy Dropdown Filter
Iniciado por: Puntorosso en: Toolset Professional Support |
|
1 | 2 | hace 4 meses, 4 semanas | |
Legacy Views with WP 6.4.1
1
2
Iniciado por: Puntorosso en: Toolset Professional Support |
|
3 | 28 | hace 11 meses, 3 semanas | |
Image Focal Point
Iniciado por: Puntorosso en: Toolset Professional Support |
|
2 | 5 | hace 1 año, 8 meses | |
WPML notification
Iniciado por: Puntorosso en: Toolset Professional Support |
|
2 | 9 | hace 1 año, 8 meses | |
Map with static image
Iniciado por: Puntorosso en: Toolset Professional Support |
|
2 | 5 | hace 1 año, 11 meses | |
Cannot create or edit custom post type
Iniciado por: Puntorosso en: Toolset Professional Support |
|
2 | 2 | hace 1 año, 11 meses | |
Password template
Iniciado por: Puntorosso en: Toolset Professional Support |
|
2 | 2 | hace 2 años, 11 meses | |
View Pagination with custom query
Iniciado por: Puntorosso en: Toolset Professional Support |
|
2 | 14 | hace 2 años, 11 meses | |
Cred notification with custom field
Iniciado por: Puntorosso en: Toolset Professional Support |
|
3 | 7 | hace 3 años, 2 meses |