nichaS
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Incorrect information being displayed when using parent’s data for content templ
Gestartet von: 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 | vor 6 Jahren, 8 Monaten | ||
Filter a View by custom field and current day of the week
Gestartet von: 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 | vor 6 Jahren, 9 Monaten | ||
Cannot see 3rd party custom fields Toolset -> Post Field -> Control Post Field
Gestartet von: 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 | vor 6 Jahren, 9 Monaten | ||
Styling table-based grid on a View
Gestartet von: 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 | vor 6 Jahren, 9 Monaten | ||
How to reduce white space before title and on the margin for template
Gestartet von: nichaS in: Toolset Professional Support |
2 | 10 | vor 6 Jahren, 10 Monaten | ||
Neither bootstrap grid nor table-based grid works for View for Divi
Gestartet von: nichaS in: Toolset Professional Support |
2 | 4 | vor 6 Jahren, 10 Monaten |