This makes the filter disappear but it doesn't pre-filter. It would be great if the first filter is activated as soon as you load the site for the first time.
I've got the same issue. I've tried to use your code but the site wont load after I copied it in the functions.php Do you got any futher advice for me?
Comments
Change the “categoryname” to the name of the first category on your installation.