peterG-12
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 |
---|---|---|---|---|---|
Site very slow with logged in user – both initially and subsequent
Started by: peterG-12
in: Toolset Professional Support
Problem: The issue here is that the user's website was loading slow. Solution: I would suggest using a caching plugin like WP Super Cache and see if this helps to improve the speed of the site. |
2 | 6 | 6 years, 6 months ago | ||
Drop downs not working on mobile site
Started by: peterG-12
in: Toolset Professional Support
Problem: The issue here is that the user's filters are not working on mobiles. Solution: In this user's case it turned out to be an issue with the user's classes and css that were causing it to not work. What I would recommend is that you remove all customization and try again to see if it starts working again. |
2 | 12 | 6 years, 6 months ago | ||
Advice? Want to collect emails to support teaser content
Started by: peterG-12 in: Toolset Professional Support |
2 | 4 | 6 years, 7 months ago | ||
Map is not showing up at desired zoom level – instead always at full zoom in
Started by: peterG-12 in: Toolset Professional Support |
2 | 6 | 6 years, 7 months ago | ||
Search results use older/wrong view for custom type
Started by: peterG-12
in: Toolset Professional Support
Problem: Solution: This may be caused by caching on the website and I would recommend clearing the cache on the website if there is any. Secondly if this does not work I would remove and recreate the view and this should resolve the problem. |
2 | 5 | 6 years, 7 months ago | ||
Remove “Username or ” from built-in login view
Started by: peterG-12
in: Toolset Professional Support
Problem: We are building a site with a guest / subscriber model. Copying almost exactly the toolset documentation. Since this is a simple site, we don't want to require the user to enter a username, just their email. It's easy enough not to ask the user for an email and the site autogenerates a username. Fine. However, the built-in Login Form has the phrase "Username or Email". How can I get rid of the "Username or " text and simply have "Email" Solution: Yes, it is possible within Views filter hook "login_form_defaults", for example, you can add below codes into your theme/functions.php: add_filter('login_form_defaults', 'my_func2'); function my_func2($defaults ){ $defaults['label_username'] = __( 'Email' ); return $defaults; } Relevant Documentation: |
2 | 4 | 6 years, 7 months ago | ||
Creating a multi-value field and using that in a drop-down filter
Started by: peterG-12
in: Toolset Professional Support
Problem: I would like to be able to create a multiple-select custom field, and allow Users to select multiple values of that field in a View custom search filter. Solution: The best option for selecting multiple values in a custom field is "Checkboxes". Views then offers a multi-select style filter for custom search views. |
2 | 2 | 6 years, 8 months ago | ||
Do not load custom search results until ‘Search’ is pressed
Started by: peterG-12
in: Toolset Professional Support
Problem: Solution: Otherwise you would need to add some custom code. Try adding the following to your theme's functions.php file: /** * No initial results * * Don't show View results until a filter has been applied * * Tests for custom field filters, taxonomy filters, or text searches */ function tssupp_no_initial_results( $query_results, $view_settings, $view_id ){ $target_views = array( 226 ); // Edit to add IDs of Views to add this to if ( in_array( $view_id, $target_views ) ) { // is there a filter set? if ( !isset( $query_results->query['meta_query'] ) && !isset( $query_results->query['tax_query'] ) && !isset( $query_results->query['s'] ) ) { $query_results->posts = array(); $query_results->post_count = 0; } } return $query_results; } add_filter( 'wpv_filter_query_post_process', 'tssupp_no_initial_results', 10, 3 ); |
2 | 2 | 6 years, 8 months ago |