Tagged Questions
-2
votes
1answer
202 views
How to define category ID in an array?
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 ...
0
votes
2answers
763 views
Order by & include array by specific post ids
I have the following:
<?php $num_cols = 2; // set the number of columns here
$args = array(
'post_type' => 'testimonials',
...