![blocks blocks](https://www.akshargrouptechnologies.com/wp-content/uploads/2020/12/blocks.jpg)
The layout XML code below helps to achieve the above requirement. It will show the static block my-sidebar-1? on right sidebar of category with id 10?. Similarly, static block my-sidebar-2? is displayed on the category page with id 12?.
my-sidebar-1
my-sidebar-2
About Author:
Kalpesh Chavada
Kalpesh Chavada is Our Founder & CEO of Akshar Group Technologies. He is serving with 11+ years of experience in different technologies like Magento, WordPress, Laravel, jQuery, Shopify, Branding, and Digital Marketing. He is very good with creative logic and always ready to take on challenges.
![Kalpesh Author Kalpesh Author](https://www.akshargrouptechnologies.com/wp-content/uploads/2022/05/kalpesh-author.jpg)