Well, WordPress has some integrated functions for that. Two of those would be get_category_by_slug
(Codex link) or get_category_link
(Codex link).
I am not sure what of_get_option()
returns, but those two might help you.
Well, WordPress has some integrated functions for that. Two of those would be get_category_by_slug
(Codex link) or get_category_link
(Codex link).
I am not sure what of_get_option()
returns, but those two might help you.