Kristin
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 |
---|---|---|---|---|---|
Legacy maps need api key
Gestartet von: Kristin in: Toolset Professional Support |
|
2 | 4 | vor 3 Jahre, 8 Monate | |
old custom field value in dropdown
Gestartet von: Kristin in: Toolset Professional Support |
2 | 3 | vor 4 Jahre | ||
ajax pagination ordered by custom field breaks on pages after the first page
Gestartet von: Kristin in: Toolset Professional Support |
|
2 | 2 | vor 4 Jahre, 1 Monat | |
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 4 Jahre, 4 Monate | |
Curious when the estimated launch of Types 2.3 will be
Gestartet von: Kristin in: Types Community Support |
|
2 | 2 | vor 4 Jahre, 4 Monate | |
Parametric search custom ordering results
Gestartet von: Kristin in: Toolset Professional Support |
|
2 | 6 | vor 4 Jahre, 7 Monate | |
Call to undefined function get_current_screen() in /classes/class.file.php
Gestartet von: Kristin in: Toolset Professional Support |
|
3 | 8 | vor 5 Jahre | |
Views Shortcode not loading within other plugins that support shortcode
Gestartet von: Kristin in: Toolset Professional Support |
|
2 | 13 | vor 5 Jahre, 6 Monate | |
upon update a view disappeared from the site. Happily would provide detail/login
Gestartet von: Kristin in: Toolset Professional Support |
|
2 | 2 | vor 5 Jahre, 7 Monate | |
wpv-if does not seem to be working even updating to Views beta3
Gestartet von: Kristin in: Toolset Professional Support |
|
3 | 6 | vor 7 Jahre | |
Custom field insert button not working in Views (conflict with Stream)
Gestartet von: Kristin in: Toolset Professional Support |
|
2 | 5 | vor 7 Jahre | |
How to create a new custom field type
Gestartet von: Kristin in: Toolset Professional Support |
|
2 | 3 | vor 7 Jahre, 1 Monat | |
Is there a way to track views search filter queries for statistics/analysis?
Gestartet von: Kristin in: Toolset Professional Support |
|
2 | 3 | vor 7 Jahre, 4 Monate | |
Post with child posts and/or field table is redirecting
Gestartet von: Kristin in: Toolset Professional Support |
|
3 | 4 | vor 7 Jahre, 5 Monate | |
Feature request: custom field meta box order / priority
Gestartet von: Kristin in: Toolset Professional Support |
|
2 | 2 | vor 7 Jahre, 9 Monate |