lucyD
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 |
---|---|---|---|---|---|
Add Toolset map to Elementor page
Started by: lucyD
in: Toolset Professional Support
Problem: I am trying to add a map, created with Toolset, that displays locations from a repeatable field group on a page designed with Elementor. However, when using the shortcodes, the map appears without markers. Solution: Create the View using Toolset's legacy mode and include the map and its markers within the View. Then, use the [wpv-view name="Name of the view"] shortcode in Elementor to display the map. Make sure to enable legacy views under "Toolset > Settings > General". Relevant Documentation: https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/ |
2 | 2 | 3 months ago | ||
I would like a search on the home page that goes to the main directory page
Started by: lucyD in: Toolset Professional Support |
2 | 11 | 3 months, 1 week ago | ||
Use AND when filtering by custom taxonomy
Started by: lucyD
in: Toolset Professional Support
Problem: Solution: add_filter('wpv_filter_query', 'custom_taxonomy_query_operator', 10, 3); function custom_taxonomy_query_operator($query_args, $view_settings, $view_id) { if ($view_id == 509) { if (isset($query_args['tax_query'])) { foreach ($query_args['tax_query'] as &$tax_query) { if (isset($tax_query['operator']) && $tax_query['operator'] == 'IN') { $tax_query['operator'] = 'AND'; } } } } return $query_args; } |
2 | 7 | 5 months ago | ||
Content template not saving
Started by: lucyD in: Toolset Professional Support |
2 | 5 | 5 months, 1 week ago | ||
General text search and distance filter don't work together
Started by: lucyD in: Toolset Professional Support |
2 | 7 | 6 months, 1 week ago | ||
Showing general text search results on map
Started by: lucyD in: Toolset Professional Support |
2 | 6 | 6 months, 2 weeks ago | ||
Ordering results by distance only when the distance filter is used
Started by: lucyD in: Toolset Professional Support |
2 | 9 | 6 months, 3 weeks ago | ||
Can I order results by distance only when the distance filter is used
Started by: lucyD in: Toolset Professional Support |
2 | 3 | 8 months, 3 weeks ago | ||
Display all directory entries on map but list with pagination
Started by: lucyD in: Toolset Professional Support |
2 | 9 | 10 months ago | ||
Classic Editor plugin causing issues with custom fields
Started by: lucyD
in: Toolset Professional Support
Problem: I am working on a site that has a custom theme with the Classic Editor plugin active. I have created a page that uses the block editor by using a code snippet to enable it. I am adding a view to that page using Toolset Blocks but the custom fields I have created are not available to me when adding a Single Field block. If I disable the Classic Editor plugin all is well but I can't do that because the rest of the theme relies on it. Is there are setting I'm missing or something else you can suggest. Solution: - remove the code snippet |
2 | 3 | 1 year, 6 months ago | ||
Directory search results by distance
Started by: lucyD in: Toolset Professional Support |
2 | 3 | 1 year, 8 months ago | ||
Problem with layout of content template using block editor
Started by: lucyD
in: Toolset Professional Support
Problem: I would like to display a full-width template on my custom post type, but it remains boxed in a container. Solution: Disable the Elementor post type template for this custom post type and use the GeneratePress theme options to specify a full-width template. |
2 | 5 | 4 years, 1 month ago | ||
Setting multiple options (all the countries in the world) for a select field
Started by: lucyD in: Toolset Professional Support |
4 | 6 | 5 years, 9 months ago | ||
Restrict number of directory listings per user
Started by: lucyD
in: Toolset Professional Support
Problem: Solution: Here is an example of such code: add_shortcode( 'user-posts', function( $atts = [], $content = null ){ // default is any post type $atts = shortcode_atts( array( 'type' => 'any' ), $atts ); $user_id = get_current_user_id(); $posts = get_posts( array( 'post_type' => $atts['type'], 'post_author' => $user_id, 'numberposts' => -1 ) ); // Return number of published posts return count( $posts ); }); The custom shortcode needs registering at Toolset > Settings > Front-end content to be able to use it for conditions. The shortcode can be used with or without an attribute to specify the post type, like so: [user-posts] // Will output the number of posts of any type published by the current user [user-posts type='thing'] // Will output number of posts of post type 'thing' Relevant Documentation: |
2 | 3 | 6 years, 3 months ago | ||
Adding First name and Last name to a User Form email notification
Started by: lucyD in: Toolset Professional Support |
2 | 3 | 6 years, 5 months ago |