Okay, so I installed the plugin and added the following if statement to the category page:
<?php /* If this is a category archive */ if (is_category('26')) {
include(TEMPLATEPATH . '/harlequin.php');
} elseif (is_category(18)&&is_category(26)) {
include(TEMPLATEPATH . '/combined.php');
and used this url
https://romanticadvances.com/?cat=26,18&intersect=1
and it pulls up harlequin.php instead of combined.php and there is an error message at the top.
WordPress database error: [Unknown table 'wp_post2cat' in where clause]
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN wp_post2cat AS p2c0 ON (wp_posts.ID = p2c0.post_id) LEFT JOIN wp_post2cat AS p2c1 ON (wp_posts.ID = p2c1.post_id) WHERE 1=1 AND wp_post2cat.category_id IN (26, 27, 32, 33, 34, 35, 36, 37, 68, 85, 96, 18) AND (post_type = 'post' AND (post_status = 'publish' OR post_status = 'private')) GROUP BY wp_posts.ID ORDER BY post_title ASC LIMIT 0, 10
I think at this time, I might give up. I can do the tag unions using UTW but I can’t figure out how to get the unique php files to come up.
Is it as simple as
if (is_utwtag('harlequin') && is_utwtag('july')) {
because i know that in the url for the tag union, you use a + sign, but the php conditional for an intersection is &&
Thanks so much for all your help. I know that this is a volunteer forum and I really appreciate the time you all have spent looking at this issue and directing me to the right places, even if I can’t quite figure it out. ??