Space removed / trimmed inside conditional output
Started by: michaelA-13
in: Toolset Professional Support
1
2
4 years, 6 months ago
michaelA-13
Maps display is not working properly anymore
Started by: fabriceS
in: Toolset Professional Support
2
9
4 years, 6 months ago
fabriceS
Custom search error admin-ajax 503
Started by: umbertoZ
in: Toolset Professional Support
2
4
4 years, 6 months ago
Waqar
Filter using slider
Started by: LennyS7960
in: Toolset Professional Support
2
3
4 years, 6 months ago
LennyS7960
Filter view page without sub-taxonomy.
Started by: LennyS7960
in: Toolset Professional Support
Quick solution available
Problem:
The issue here is that the user wanted to remove their child terms from their taxonomy frontend filters in views.
Solution:
The can be done by using the hook below.
add_filter( 'wpv_filter_taxonomy_frontend_search_available_terms', 'prefix_modify_list_of_terms', 10, 3 );
function prefix_modify_list_of_terms( $terms, $taxonomy, $view_id ) {
$curated_terms = array();
if($view_id == 478 && $taxonomy =='category'){
foreach ( $terms as $term ) {
if ( $term->parent == 0 ) {
$curated_terms[] = $term;
}
}
}
return $curated_terms;
}
In order to get this to work for you, you will need to change 478 to the ID of your view and 'category' to the slug of the taxonomy that you want to remove the child terms for.
Add the code to your Toolset custom codes in Toolset -> Settings -> Custom Code and ensure that you've activated it.
Relevant Documentation:
For more information on this hook you can take a look at the link below.
https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_taxonomy_frontend_search_available_terms
2
3
4 years, 6 months ago
LennyS7960
Changes are not saved in a content template – Update button inactive
Started by: Daniel
in: Toolset Professional Support
2
3
4 years, 6 months ago
Daniel
I can’t reply to my tickets
Started by: zenariM
in: Toolset Professional Support
Quick solution available
Problem:
Solution:
You must be auto-logged out. Can you please try to logout and login again and then refresh your ticket page and then try to reply.
Relevant Documentation:
2
4
4 years, 6 months ago
zenariM
Edit text “Add new” in my Toolset form
Started by: zenariM
in: Toolset Professional Support
Quick solution available
Problem: I would like to replace the text "Aggiungi nuovo" shown in Forms for repeating fields.
Solution: Use custom code to filter this text:
add_filter( 'gettext', 'tssupp_custom_translate', 20, 3 );
/**
* @link http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
*/
function tssupp_custom_translate( $translated_text, $text, $domain ) {
if ( $text == 'Add new' && $domain = 'wpv-views' ){
$translated_text = "YOUR TEXT HERE";
}
return $translated_text;
}
2
3
4 years, 6 months ago
zenariM
Split: email notifications.
Started by: matthiasV-2
in: Toolset Professional Support
3
17
4 years, 6 months ago
matthiasV-2
Creating Custom URL routing for toolset filter?
Started by: viktorI
in: Toolset Professional Support
2
2
4 years, 6 months ago
Luo Yang
Related Area Page
Started by: Pete
in: Toolset Professional Support
2
15
4 years, 6 months ago
Pete
Is boolean logic possible across or within taxonomies?
Started by: mikeS-32
in: Toolset Professional Support
2
2
4 years, 6 months ago
Waqar
View shortcode exclude argument
Started by: jeremyW-5
in: Toolset Professional Support
2
4
4 years, 6 months ago
Luo Yang
Problem after moving WordPress install to root directory
Started by: rudolphv
in: Toolset Professional Support
Quick solution available
Problem: After moving my site's WordPress installation to the root directory, my site key no longer works and I see an error message that the Toolset plugins cannot connect to Toolset.com. In the installer support page, I see that the site key does not match the current site URL.
Solution: Delete the old site key from @https://toolset.com/account/sites and generate a new registration key. Unregister the Toolset software and then re-register with the new key.
2
3
4 years, 6 months ago
rudolphv
Empty Reusable Block makes Content Template un-editable
Started by: SeanR4675
in: Toolset Professional Support
2
3
4 years, 6 months ago
SeanR4675