Home / admin / Increasing categories selection height
  • How to Increasing categories selection height

    no thumbnail sorry: Increasing categories selection height

    Adding this PHP code to your functions.php of your wordpress theme will increase the height of your categories in the wordpress admin. This is great for people that have a lot of categories

    ( click code to copy )

    wordpress snippet : PHP

    <>
    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>
    	';
    }
    

    ( WordPress codex functions, hooks, in this snippet. )

    query, admin_head, add_action,