WordPress.org

Ready to get started?Download WordPress

Forums

Suggested improvements to the "add new post" - categories selection area (10 posts)

  1. yoramzara
    Member
    Posted 2 years ago #

    Currently, when you write a post, you select a category in one of 2 tabs:
    1. All categories
    2. Popular categories

    I suggest 2 improvements:
    1. Popular categories - currently it shows 10 categories only - please allow to select the number of popular categories to show (I have 400 so 10 is too little)
    2. All categories - when you have many categories, you have to move a slider to find the category you need. This is very inconvenient. Please allow to show the categories as an open list that does not need scrolling.

    Keep up you wonderful work.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Please allow to show the categories as an open list that does not need scrolling

    And with 400 categories, how large a screen do you think that will need?

  3. yoramzara
    Member
    Posted 2 years ago #

    THe screen is large enough. It is the small scrolling window that can make you crazy if you have many categories.

  4. 400 categories is ... a lot.

    Anyway. You can adjust the window size if you want via your own Admin Theme: http://codex.wordpress.org/Creating_Admin_Themes

    The code you want is... I think.

    .categorydiv div.tabs-panel, .customlinkdiv div.tabs-panel { height: 200px:}

    Change 200 as you want.

  5. yoramzara
    Member
    Posted 2 years ago #

    Hi. Thanks for the tip. I had a programmer do this jquery hack which is dynamic http://goo.gl/vqRbJ
    jQuery hack

    This is a bit better hack because it will change the height dynamically to fit all the categories.

    add_action('admin_head', 'categories_list_height_jquery');
    
    function categories_list_height_jquery() {
    	echo'
    	<script type="text/javascript">
    		jQuery(function($){
    			$("#category-all.tabs-panel").height($("#categorychecklist").height());
    		});
    	</script>
    	';
    }

    Both hacks go inside functions.php file inside your theme folder.

    Can this be a part of core? It is much nicer.
    My site is an obituaries site that lists all the deaths in Israel. 400 categories are cemeteris and employers. You have to admit that is an original use of WordPress.

  6. Someone uses WP to track beekeeping and trade bees ;) I'm no longer amazed at the originality, and consider it expected behavior from a diverse user base!

    400 categories are cemeteris and employers

    I'd probably use employers as the categories, assuming that more that one cemetery would be owned by an employer, and then tags for the cemeteries themselves. Or possibly a custom taxonomy.

  7. jazzybeat28
    Member
    Posted 1 year ago #

    Does anyone knows how to make Most Used tab to show all categories or to increase the size of how many it should show at least ?

  8. yoramzara
    Member
    Posted 1 year ago #

  9. jazzybeat28
    Member
    Posted 1 year ago #

    I install your pugin but for some reason it does not show all categories I haveabout 30 and it shows 22. Any idea why. Is there is a number set on how many categories to show ?

  10. yoramzara
    Member
    Posted 1 year ago #

    It should be 50. I had a freelancer create it for me https://www.elance.com/s/ctrlc/
    If it does not do what you want you can request him to work on it. It will probably be cheaper than starting from scratch.

Topic Closed

This topic has been closed to new replies.

About this Topic