patriciaC-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 |
---|---|---|---|---|---|
I’d like to know how to have a list of 70 items.
Started by: patriciaC-2
in: Toolset Professional Support
Problem: The issue here is that our view only allows a maximum of 50 posts per page when using the pagination settings. However this user wanted to increase this to 70. Solution: This can be done by using the code below. Add the following to your Toolset custom code settings at Toolset->Settings->Custom Code. Once you've done this please ensure that you've activated it as well as change the ID 123 to the ID of your view. //Increase the page limit beyond 50 add_filter( 'wpv_filter_query', 'wpcf_increase_pagination',99,3 ); function wpcf_increase_pagination( $query_args, $view_settings, $view_id ) { if ($view_id == 123 ) { //Edit $query_args['posts_per_page'] = 70; } return $query_args; } |
|
2 | 3 | 3 years, 7 months ago | |
cred-delete-post on loop item not rendering
Started by: patriciaC-2 in: Toolset Professional Support |
|
2 | 4 | 3 years, 9 months ago | |
What’t the correct way to add a snippet of code entered via a toolset field?
Started by: patriciaC-2
in: Toolset Professional Support
Problem: Use Toolset Types shortcode in custom JS codes. Solution: For example: Relevant Documentation: |
|
2 | 6 | 4 years, 1 month ago |