Posts by Guilherme Alves • 26 points
2 posts
-
0
votes2
answers921
viewsA: Loop of the Wordpress category
Felipe, what you’re looking for is get_queried_object(); He seeks the object in question. Or by declaring $post as global and returning the category: global $post; $postcat = get_the_category(…
-
1
votes1
answer178
viewsA: Remove category posts specifies wordpress
Check out the Codex: http://codex.wordpress.org/Custom_Queries#Category_Exclusion you can use in loop arguments: 'category__not_in' => '-764' Or create an action in your functions.php…