Kristin
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 |
---|---|---|---|---|---|
View returning all entries from wp_toolset_connected_elements
Iniciado por: Kristin en: Toolset Professional Support |
2 | 2 | hace 1 mes | ||
Orphan data in wp_toolset_associations
Iniciado por: Kristin en: Toolset Professional Support |
2 | 2 | hace 1 mes, 1 semana | ||
connecting issue
Iniciado por: Kristin en: Toolset Professional Support |
2 | 2 | hace 1 año, 5 meses | ||
Some pages went blank after updating Toolset Views
Iniciado por: Kristin en: Toolset Professional Support |
3 | 8 | hace 1 año, 6 meses | ||
Legacy maps need api key
Iniciado por: Kristin en: Toolset Professional Support |
2 | 4 | hace 5 años, 4 meses | ||
old custom field value in dropdown
Iniciado por: Kristin en: Toolset Professional Support |
2 | 3 | hace 5 años, 9 meses | ||
ajax pagination ordered by custom field breaks on pages after the first page
Iniciado por: Kristin en: Toolset Professional Support |
2 | 2 | hace 5 años, 9 meses | ||
Customer taxonomy filter ordering is breaking other filters
Iniciado por: Kristin
en: Toolset Professional Support
Problem: I would like to define a custom order for the taxonomy terms in a custom search filter. Solution: The options you have for taxonomy term order are somewhat limited, and do not correspond to the order you define in the display_values attribute. My recommendation is to use the following filter shortcode: [wpv-control-post-taxonomy taxonomy="military-action" type="select" default_label="Select Conflict Below" url_param="wpv-military-action" orderby="id"] Then add this custom filter to your child theme's functions.php file: function custom_taxonomy_filter_order( $terms, $taxonomies, $args, $term_query ){ global $required_orderby; // Specify taxonomy, current setting for orderby, and required order (slugs) here $taxonomy = "military-action"; $current_orderby = "id"; $required_orderby = array( "wwi","wwii","korean-war","vietnam-war","gulf-war","war-in-iraq","war-on-terror","unknown" ); if ( $taxonomies[0] == $taxonomy && $args['orderby'] == $current_orderby ){ usort( $terms, "custom_term_compare" ); }; return $terms; } add_filter( 'get_terms', 'custom_taxonomy_filter_order', 10, 4); /** * Customise sort function * */ function custom_term_compare( $a, $b ){ global $required_orderby; $a_key = array_search( $a->slug, $required_orderby ); $b_key = array_search( $b->slug, $required_orderby ); if ( $a_key == $b_key ) { return 0; } return ( $a_key < $b_key ) ? -1 : 1; } Relevant Documentation: |
2 | 5 | hace 6 años, 1 mes | ||
Curious when the estimated launch of Types 2.3 will be
Iniciado por: Kristin en: Types Community Support |
2 | 2 | hace 6 años, 1 mes | ||
Parametric search custom ordering results
Iniciado por: Kristin en: Toolset Professional Support |
2 | 6 | hace 6 años, 3 meses | ||
Call to undefined function get_current_screen() in /classes/class.file.php
Iniciado por: Kristin en: Toolset Professional Support |
3 | 8 | hace 6 años, 9 meses | ||
Views Shortcode not loading within other plugins that support shortcode
Iniciado por: Kristin en: Toolset Professional Support |
2 | 13 | hace 7 años, 2 meses | ||
upon update a view disappeared from the site. Happily would provide detail/login
Iniciado por: Kristin en: Toolset Professional Support |
2 | 2 | hace 7 años, 4 meses | ||
wpv-if does not seem to be working even updating to Views beta3
Iniciado por: Kristin en: Toolset Professional Support |
3 | 6 | hace 8 años, 9 meses | ||
Custom field insert button not working in Views (conflict with Stream)
Iniciado por: Kristin en: Toolset Professional Support |
2 | 5 | hace 8 años, 9 meses |