How to Create a Custom WordPress Widget

 

 

Advance option with hide_empty and exclude dynamic from widget