Support » Themes and Templates » Using get_cat_id to search category with '&'

  • Hello,

    I try to get category id using get_cat_id like this:

    $cat_id=get_cat_id(“Product & Services”);

    but i didn’t find any result.

    maybe because my category name have “&” operator ??

    how to solve this problem?

    Thank you.

  • The topic ‘Using get_cat_id to search category with '&'’ is closed to new replies.