I have made my own widget following the MakeUseOf How to Create WordPress Widgets post.
I would like to add to my widget settings in Appareance > Widget, so that I don’t have to edit them every time I edit the page via FTP. This is the full PHP code of my widget file: http://pastebin.com/Y2PsTGWr
Then instead of using this attribute:
$custom = new WP_Query('posts_per_page=4&cat=13&orderby=date');
I would like to add these two options to my widget settings: show the number of posts, category ID and order.
Actually as i have add the “Choose category:” option I can see all my categories but I can’t save and show them…
Thank you for your advice and help!