Forum
perch_blog_custom filtering
<?php
$opts = array(
'category' => array('sue' , 'paul'),
'sort'=>'postDateTime',
'sort-order'=>'DESC',
'template'=>'blog/latest-blogs.html'
);
perch_blog_custom($opts); ?>
returns all post that are tagged "sue", "paul", and "sue & paul".
Is there a method to only get the posts tagged with "sue & paul"?
Try
Above is what I now have. I have one post tagged with both the 'sue' and 'paul' categories. With the above I get no posts. 'category-match' => 'all' , I get the post tagged with both tags and those with either. Is my syntax wrong?
Does this make a difference?
This did not make any difference.
What does debug output for your page?
That all looks like it's working as it should be, which suggests something more involved.
What should I check?
I'm not sure there's anything you can do immediately - I'll need to set up a test case and see if we can reproduce it here.