- This topic has 2 replies, 2 voices, and was last updated 5 years, 10 months ago by
WordPress Eden.
- AuthorPosts
- April 11, 2016 at 7:46 pm #57933
Stolz Holz
ParticipantHi there!
My content increased alot in the last year, and now i have +100 categories! If my users klick on “Add Post” they get the hole category list with checkboxes to scroll down. As you can imagine this is really annoying for some of my users and very confusing too.
Ist it possible to replace the horizontal Checkbox list with a dropdown list? My users would have to scroll for ages no more!
(Something like this http://www.ambrosite.com/images/listcats.gif )Edit: Edit: I managed to get a dropdown, so i am on the half way. I replaced “wp_category_checklist(0, 0, $selected);” with “wp_dropdown_categories(‘orderby=ID&order=ASC&hierarchical=1’);” . But when i choose a option from it i directs me to the category page. (post_form.php)
Thank you very much!
- This topic was modified 5 years, 10 months ago by
Stolz Holz.
April 19, 2016 at 10:28 am #57948Stolz Holz
ParticipantYes, no, maybe?
April 19, 2016 at 4:20 pm #57949WordPress Eden
KeymasterHi,
Sorry for delay. Don’t change checkbox. Keep it. But adding some css you can make category panel fixed height and scrollable.In category panel add following css,
height=200px;overflow:scroll;
Check this screenshot https://www.evernote.com/l/AUezLLsqD9BOnaMBUqb1oj-rMMSWtdQMpqkB/image.png
Thanks.
- This topic was modified 5 years, 10 months ago by
- AuthorPosts
- You must be logged in to reply to this topic.