Skip to content
Advertisement

Tag: taxonomy

WordPress Display Child Term of the Current Category Page?

Hi I am trying to display the child term of the current post category page. However I can figure out what am missing here. Thanks Answer In your code the taxonomy should be “category”, so your arguments for get_terms() should have “taxonomy” => “category”. $current_tax is irrelevant in this code then.

Get taxonomy name

I’m trying to modify a theme that has custom posts with custom taxonomies. At the bottom of the posts it displays a list of other posts (as in “you might also like…”) What I’m trying to do is to filter the posts that are displayed in that area so they match the category of the current post. It’s a tour

Advertisement