Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.

Hi everyone,

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.

MAKEUSEOF VIDEO OF THE DAY
SCROLL TO CONTINUE WITH CONTENT

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!

James Net
2013-04-29 12:28:12
No one can help me?
James Net
2013-05-07 00:29:27
???