Using Widget logic for custom post type page for specific taxonmy
-
Hello,
Thanks for an awesome plugin.
I have created custom post type named “wap-community” and I have created a taxonomy called “tax_community”.
Now I want to display widget on single page of “wap-community” post type having specific taxonomy.
And I have used following widget logic code for that:
is_singular( ‘wap-community’ ) && has_term(‘north’,’tax_community’)
Where north is the specific taxonomy of community custom post type.
But above code is not working.
Please and let us now Asap.
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using Widget logic for custom post type page for specific taxonmy’ is closed to new replies.