nichaS
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 |
---|---|---|---|---|---|
Incorrect information being displayed when using parent’s data for content templ
Started by: nichaS
in: Toolset Professional Support
Problem: The issue here is that the user is displaying the parent post information on his child post using the types shortcode, however the incorrect information is being displayed. Solution: The customer was using the Beta version of our plugins that uses the new post relationship. Unfortunately as this is not a full release some functionalities may not be working as intended. |
2 | 11 | 6 years, 7 months ago | ||
Filter a View by custom field and current day of the week
Started by: nichaS
in: Toolset Professional Support
Problem: I would like to use a custom field on my post to determine when it appears in a View. The field should have options for each day of the week, and the post should only appear on the selected day of the week. Solution: Set the options for your custom field to have values that correspond to each day of the week, using lowercase letters, like "monday", "tuesday", and so on. Then add this code to functions.php: add_filter( 'wpv_filter_query', 'todays_posts',99,3 ); function todays_posts( $query,$views_settings, $view_id) { $views = array( 1234, 5678 ); if ( in_array( $view_id, $views ) ){ $args = array( 'relation' => 'AND', array( 'key' => 'wpcf-yourfieldslug', 'value' => date('l'), 'compare' => '=' ) ); $query['meta_query'] = isset($query['meta_query']) ? $query['meta_query'] : []; $query['meta_query'][] = $args; } return $query; } Replace 1234,5678 with a comma-separated list of View IDs where you want to apply this filter. Replace "yourfieldslug" with the slug of your custom field. Relevant Documentation: https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_query |
2 | 15 | 6 years, 8 months ago | ||
Cannot see 3rd party custom fields Toolset -> Post Field -> Control Post Field
Started by: nichaS
in: Toolset Professional Support
Problem: The issue here is that the custom fields of some 3rd party plugins are not showing up in the post fields control section. Solution: This tends to happen when the plugin creates the custom fields for private use only and can only be reference by the plugin itself. In this case the custom fields won't show up to be brought under types control. |
2 | 5 | 6 years, 8 months ago | ||
Styling table-based grid on a View
Started by: nichaS
in: Toolset Professional Support
Problem: The issue here is that the user has a table based grid but wanted to remove the borders from that table. Solution: The table border is being added by your theme. To overwrite this please use the following css. .entry-content table{ border: none !important; } .entry-content tr td{ border-top: none !important; } Please let me know if this helps. |
2 | 5 | 6 years, 8 months ago | ||
How to reduce white space before title and on the margin for template
Started by: nichaS in: Toolset Professional Support |
2 | 10 | 6 years, 9 months ago | ||
Neither bootstrap grid nor table-based grid works for View for Divi
Started by: nichaS in: Toolset Professional Support |
2 | 4 | 6 years, 9 months ago |