The user wants to create a taxonomy called "Artists" for a CPT "Record" with the following restrictions:
Limit the taxonomy to a single selection.
Ensure the taxonomy is "childless," meaning no parent-child hierarchy is allowed.
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.
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.
The user wants to display a many-to-many relationship between Events and Speakers, including filtering by a custom field (keynote speakers), within Elementor.
Solution:
To achieve this, follow these steps:
1. Enable Legacy Views:
- Navigate to Toolset > Settings > General.
- In the "Editing experience" section, enable "Show both the legacy and Blocks interface and let me choose which to use for each item I build".
- Reload the page to see the Toolset > Views menu.
2. Create a View:
- Create a new View under Toolset > Views.
- Use the View to query Speakers related to Events.
- Add a filter for the "keynote speaker" checkbox if needed.
3. Use the View in Elementor:
Add the View shortcode in an Elementor text widget or shortcode widget to display the relationship data.
A Toolset View on the page stopped working, showing only the shortcode. The legacy Toolset View editing options were unavailable, and the Toolset Blocks plugin was not active.
Solution:
- Go to WordPress Dashboard > Plugins > Add New > Commercial (tab).
- Click "Check for Updates."
- Ensure the Toolset Blocks plugin is installed and active.