Hello!
I am wondering how to change the separator between accordion sort links from / to |.
An old thread I found (https://kriesi.at/support/topic/customize-accordion-sortable-all-tag/) referred me to code I am not finding in the functions.php file.
Can you tell me where to find this?
Thanks for your help!
Hi Julie!
Thank you for using our theme.
Currently there is no filter for that.
I will suggest one to Kriesi to add to the core – maybe it will come in one of the next updates.
At the moment you must modify the core file
themes\enfold\config-templatebuilder\avia-shortcodes\toggles.php line 270:
$output .= "<span class='tag-seperator'>/</span>";
and replace to:
$output .= "<span class='tag-seperator'>|</span>";
When Kriesi adds the filter you can put the following code in functions.php:
add_filter( 'avf_toggle_sort_seperator', 'my_toggle_seperator', 10, 2 );
public function my_toggle_seperator( $sep, $atts )
{
return '|';
}
Regards,
Günter
Hi Gunter,
Perfect, this is exactly what I needed.
Thank you so much!
Hi!
Happy we could help you out.
Btw, If you have a moment, I would very much appreciate if you could quickly rate our theme, which wiII heIp us keep the deveIopment.
We really appreciate your feedback and input and again, thanks a lot for using our theme!
Cheers!
Basilis