emilyB-2
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
How to add custom query in query filter
Started by: emilyB-2 in: Toolset Professional Support |
|
2 | 2 | 1 year, 10 months ago | |
custom post type missing from content selection checkboxes in toolset view
Started by: emilyB-2
in: Toolset Professional Support
Problem: Selecting a specific custom post type from the "This view will display - post types:" that was previously selectable, but is now not displayed as an option anymore. Solution: Please make sure the post type in question is not set to public. Relevant Documentation: |
|
3 | 4 | 3 years, 10 months ago | |
using the same post relationship filter multiple times, AND the resulting posts
Started by: emilyB-2 in: Toolset Professional Support |
|
2 | 6 | 4 years, 2 months ago | |
wpv-views not updating with ajax filter
Started by: emilyB-2 in: Toolset Professional Support |
|
2 | 11 | 4 years, 3 months ago | |
creating 2 post-relationship filters with select2
Started by: emilyB-2
in: Toolset Professional Support
Problem: Setup two post type relationship filter in the search form. Solution: It needs custom codes, for example: https://toolset.com/forums/topic/creating-2-post-relationship-filters-with-select2/#post-1974213 Relevant Documentation: |
|
3 | 7 | 4 years, 3 months ago | |
add a text search as the top item in a dropdown search
Started by: emilyB-2
in: Toolset Professional Support
Problem: One of the ways I see this possible is to make use of the select2 options. However in order to use this we will need to enqueue the scripts for it. Firstly you will need to add the following to your site in the Toolset custom code section at Toolset ->Settings-> Custom Code and activate it once added. wp_register_style( 'select2', 'https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css' ); wp_enqueue_style('select2'); wp_register_script( 'select2js', 'https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js', null, null, true ); wp_enqueue_script('select2js'); Secondly you will need to add the following to your view in the JS section. jQuery(document).ready(function() { jQuery('#wpv_control_select_wpcf-artist-id').select2(); }); Where you will replace the "wpcf-artist-id" section of the select id with the full slug of your custom field. So the full format should look like. #wpv_control_select_wpcf-{field-slug} Relevant Documentation: |
|
2 | 13 | 4 years, 4 months ago |