WordPress get Category id by name

By using following function you can get category id. Parameter for this function are category name

<?php $cat_id=get_cat_ID( $cat_name ) ?> 
Parameters $cat_name=String category name
returns 0, if failure and ID of category on success. 


Get Category Id By WordPress Codex
Hire a WordPress Expert for your website to create wordpress themes