Any tip ? I find myself really helpless on this issue…
I tried this :
http://wordpress.org/support/topic/custom-post-type-tagscategories-archive-page?replies=24
It seems to be the same issue, but using regular tags, not custom taxonomies. That didn’t seem to change anything. I saw that in the code provided, there was a conditional checking if it was a category or a tag. I tried to add a condition about my custom taxonomy using the function : is_taxonomy(‘name’) but that returned false no matter what.
I got curious, so I tried to see all the registered taxonomies with this :
$taxonomies=get_taxonomies('','names');
foreach ($taxonomies as $taxonomy ) {
echo '<p>'. $taxonomy. '</p>';
}
And my custom taxonomies didn’t show up ?!?
Isn’t more-taxonomies plugin registering the custom taxonomies ? Any experience on that ?
Without any help, I might drop the plugin and try to get it done manually… too bad, it really worked smoothly up to this point.
BTW, I have a public development page now :
http://dev.jesuschurch.no/
If you click on “Prekner”, you’ll see my custom taxonomies (by themes and by preacher). If you click on Vekst, a preaching should show up, but it’s an empty archive.
http://dev.jesuschurch.no/preaching-themes/vekst/
This preaching should be listed :
http://dev.jesuschurch.no/preaching/preken-veier-til-vekst-dap-stephan-christiansen-06-mars-2011/
OK, finally I figured it out, after many hours of testing and Googling…
The problem was in theme, the query_posts of my archive.php didn’t display custom custom types. I created a file called taxonomy.php, and modified my query post from this :
query_posts("$query_string);
to this :
query_posts("post_type=preaching&".$query_string);
Now it seems to work perfectly 🙂