Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Having trouble getting the achieve page of a custom taxonomy to know its that page.

It just shows the detail from the default is_archive blog page...

This is what i've tried..

<?php  } elseif ( is_archive() && is_tax() == 'article-area') { get_template_part( 'includes/inc-article' ) ?>

When all its doing is showing the details from this...

<?php  } elseif ( is_archive() ) { get_template_part( 'includes/inc-blog' ) ?>

Any ideas, as i'm stumped? :(

Thanks for looking.. :)

share|improve this question
    
Sorry, sorted it thank you anyway :) –  Jezthomp Jan 16 '12 at 11:35
add comment

1 Answer 1

up vote 0 down vote accepted

shouldn't it be

is_tax('article-area')

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.