سؤال

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 مع الإسناد
لا تنتمي إلى wordpress.stackexchange
scroll top