I have the following:

<?php if ( array( 'is_category', 'is_tag' ) ) { ?>

What I want to do is (that doesn't quite work):

<?php if ( array( 'is_category('13')', 'is_tag' ) ) { ?>

So what I'm asking is, how can I include that ID in code that will work? That's how I would do it anywhere outside of an array, so I am unsure exactly how to include it here.

Thanks

没有正确的解决方案

许可以下: CC-BY-SA归因
scroll top