How To Get WordPress Categories Link List?
Fist error I see is a syntax error: depth => 0 should be “depth” => 0 Second error is that you are using a category object like a post object. None of these lines will work: There is no post data to setup. Remove this line: setup_postdata($category); A category object has no category_modified property. Maybe … Read more