开发者

Get category name being displayed in wordpress outside of loop

开发者 https://www.devze.com 2023-04-11 14:48 出处:网络
When I\'m displaying a category from the url /category/blah, h开发者_StackOverflow社区ow do I get the name of that category in my php?single_cat_title() should do outside the loop, according to http:/

When I'm displaying a category from the url /category/blah, h开发者_StackOverflow社区ow do I get the name of that category in my php?


single_cat_title() should do outside the loop, according to http://codex.wordpress.org/Category_Templates

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号