Puntorosso
Support threads created in the last 30 days: 1
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Brizy Templates and Views query
Started by: Puntorosso in: Toolset Professional Support |
|
1 | 2 | 2 weeks, 6 days ago | |
Responsive grid last rows
Started by: Puntorosso in: Toolset Professional Support |
|
1 | 2 | 1 month ago | |
Toolset plugin cannot connect to toolset…
Started by: Puntorosso in: Toolset Professional Support |
|
1 | 2 | 1 month ago | |
Lightbox fade
Started by: Puntorosso in: Toolset Professional Support |
|
1 | 4 | 1 month, 1 week ago | |
Taxonomy without childs
Started by: Puntorosso
in: 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 | 1 month, 4 weeks ago | |
Select custom field
Started by: Puntorosso in: Toolset Professional Support |
|
1 | 2 | 2 months, 1 week ago | |
Taxonomy Dropdown Filter
Started by: Puntorosso in: Toolset Professional Support |
|
1 | 2 | 2 months, 3 weeks ago | |
Legacy Views with WP 6.4.1
1
2
Started by: Puntorosso in: Toolset Professional Support |
|
3 | 28 | 9 months, 2 weeks ago | |
Image Focal Point
Started by: Puntorosso in: Toolset Professional Support |
|
2 | 5 | 1 year, 5 months ago | |
WPML notification
Started by: Puntorosso in: Toolset Professional Support |
|
2 | 9 | 1 year, 6 months ago | |
Map with static image
Started by: Puntorosso in: Toolset Professional Support |
|
2 | 5 | 1 year, 8 months ago | |
Cannot create or edit custom post type
Started by: Puntorosso in: Toolset Professional Support |
|
2 | 2 | 1 year, 9 months ago | |
Password template
Started by: Puntorosso in: Toolset Professional Support |
|
2 | 2 | 2 years, 9 months ago | |
View Pagination with custom query
Started by: Puntorosso in: Toolset Professional Support |
|
2 | 14 | 2 years, 9 months ago | |
Cred notification with custom field
Started by: Puntorosso in: Toolset Professional Support |
|
3 | 7 | 3 years ago |