wabw media group
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Trying to query posts in php with a custom field from an intermediary post type
Iniciado por: wabw media group en: Toolset Professional Support |
|
2 | 4 | hace 5 años, 1 mes | |
no results by default until dropdown selection is made for a relationship filter
Iniciado por: wabw media group
en: Toolset Professional Support
Problem: Solution: if ( $view_id === 694 ) { // the view_id if ( isset( $_GET['wpv-relationship-filter'] ) && ( $_GET['wpv-relationship-filter'] == 0 ) ) { // When no option is selected, the filter will hold 0 $query_results->posts = array(); $query_results->post_count = 0; $query_results->found_posts = 0; } } Notice: This is for an example with one parent-child relationship. Depending on your use case, it may need to be adapted Relevant Documentation: |
|
2 | 12 | hace 5 años, 1 mes |