How to show only specific category in home page's footer?


Is there anyone know how to show only specific categories in footerand sidebar

i created a widget to show categories in footer and side bar (Blog page). but there are categories “A” or “B” that for other purposes are not suppose to be displayed here.

how can I hide those unnecessary categories from the footer and especially side bar.

thanks so much for your help in advance


Maybe you can try to manage it using this plugin.

Hope it helps.