Kristin
In den letzten 30 Tagen erstellte Support-Threads: 1
Lieblings-Forenthemen
Dieser Benutzer hat keine Lieblingsthemen.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
View returning all entries from wp_toolset_connected_elements
Gestartet von: Kristin in: Toolset Professional Support |
2 | 2 | vor 3 Wochen, 6 Tage | ||
Orphan data in wp_toolset_associations
Gestartet von: Kristin in: Toolset Professional Support |
2 | 2 | vor 1 Monat | ||
connecting issue
Gestartet von: Kristin in: Toolset Professional Support |
2 | 2 | vor 1 Jahr, 5 Monate | ||
Some pages went blank after updating Toolset Views
Gestartet von: Kristin in: Toolset Professional Support |
3 | 8 | vor 1 Jahr, 6 Monate | ||
Legacy maps need api key
Gestartet von: Kristin in: Toolset Professional Support |
2 | 4 | vor 5 Jahre, 4 Monate | ||
old custom field value in dropdown
Gestartet von: Kristin in: Toolset Professional Support |
2 | 3 | vor 5 Jahre, 8 Monate | ||
ajax pagination ordered by custom field breaks on pages after the first page
Gestartet von: Kristin in: Toolset Professional Support |
2 | 2 | vor 5 Jahre, 9 Monate | ||
Customer taxonomy filter ordering is breaking other filters
Gestartet von: Kristin
in: 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 | vor 6 Jahre | ||
Curious when the estimated launch of Types 2.3 will be
Gestartet von: Kristin in: Types Community Support |
2 | 2 | vor 6 Jahre | ||
Parametric search custom ordering results
Gestartet von: Kristin in: Toolset Professional Support |
2 | 6 | vor 6 Jahre, 3 Monate | ||
Call to undefined function get_current_screen() in /classes/class.file.php
Gestartet von: Kristin in: Toolset Professional Support |
3 | 8 | vor 6 Jahre, 9 Monate | ||
Views Shortcode not loading within other plugins that support shortcode
Gestartet von: Kristin in: Toolset Professional Support |
2 | 13 | vor 7 Jahre, 2 Monate | ||
upon update a view disappeared from the site. Happily would provide detail/login
Gestartet von: Kristin in: Toolset Professional Support |
2 | 2 | vor 7 Jahre, 4 Monate | ||
wpv-if does not seem to be working even updating to Views beta3
Gestartet von: Kristin in: Toolset Professional Support |
3 | 6 | vor 8 Jahre, 8 Monate | ||
Custom field insert button not working in Views (conflict with Stream)
Gestartet von: Kristin in: Toolset Professional Support |
2 | 5 | vor 8 Jahre, 8 Monate |