Exclude category from category archive

If everything else is doing what you want, change this line:

$categories = get_categories('hide_empty=0');

To this:

$categories = get_categories('hide_empty=0&exclude=10');

Swap ’10’ with the category number you want to exclude.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)