I'm using magento 2 and I would like to configure my sidebar from the category page , for example , now in my sidebar I have also Compare products and My whish list , and I would like to get rid of them from there. There is any option in the admin panel to do that , or which is the file to edit so I can hide the code for that ?
You can just add below code to your theme
default.xml file and remove sidebar wishlist and compare product block using xml.
<referenceBlock name="wishlist_sidebar" remove="true"/> <referenceBlock name="catalog.compare.sidebar" remove="true"/>
Remove cache and check.