fleety88
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Spectra One] How to create a child theme?@ste_yeu Great job!
Many thanksForum: Themes and Templates
In reply to: [Spectra One] How to create a child theme?Fantastic, many thanks for that!
Forum: Themes and Templates
In reply to: [Spectra One] How to create a child theme?@ste_yeu, well done!
Bonus points for pushing this along to the point that might be a conclusion for many of us that have been quietly watching this saga get stretched out for a ridiculous amount of time.
I know i for one would really appreciate an attachment[email protected]A way to deal with this issue is to first remove the existing hooks.
Then call the hooks in the way that are required otherwise the result is likely a 500 error.
*It would be helpful if the developers commented their code, especially for a ‘pro’ plugin. It doesn’t take long or take much work.
Not to comment your code is lazy and unprofessional.Incase any other users need to achieve alphabetical ordering of terms inside a multi taxonomy filter adding this snippet in a child theme’s functions.php will work:
// Remove existing CAF hooks before adding the new filter terms hook
if( has_filter( ‘tc_caf_filter_order_by’, ‘existing_tc_caf_function_filter_order_by’ ) ){
remove_filter( ‘tc_caf_filter_order_by’, ‘existing_tc_caf_function_filter_order_by’ );add_filter(‘tc_caf_filter_order_by’, ‘tc_caf_function_filter_order_by’, 10);
function tc_caf_function_filter_order_by($terms) {
sort($terms);
return $terms;
}
}
//End changeForum: Plugins
In reply to: [LiteSpeed Cache] Whitelist the QUIC.cloud IPsThe problem is that they aren’t a comma separated list.
This website converted the column for me: https://convert.town/column-to-comma-separated-list- This reply was modified 3 years, 4 months ago by fleety88.
Thanks for the fast reply.
Perhaps i should have been more explicit.
Balistylenetwork.com = live site
Balistylenetwork.com/staging/ = staging in subdirectory
Both are using the same domain.
I hope this information helps you, to help us follow development best practices.- This reply was modified 3 years, 5 months ago by fleety88.
Thanks for the fast response!
I pasted the snippet into the functions.php of my child theme as suggested and i got a critical error.
Is there a different way i can approach this?