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.

I have created a custom content type (and taxonomy) for my theme that will mostly replace the default post type. I know as for singles, i can create a template single-customtype.php to handle this but what about for everything else?

what about http://mywebsite.com/posttype (is my only option forcing my theme user to create a page and select a template?)

what about search, 404, archive and widgets? Would i have to customize them all. I can tell i am missing something huge here but i cant put my finger on it

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted
  • for search you might need to adjust query to include your custom post type, search.php template or around that;

  • 404 page is completely unrelated to post types;

  • for archive you use archive-customtype.php template;

  • sidebars/widgets are completely unrelated to post types.

share|improve this answer
    
how can i replicate "home" behavior for my custom type (or is my only option forcing theme user to create a page and to choose a template?) –  Jeele Yah May 30 '11 at 22:01
    
@Jeele Yah see Showing custom post types on your home/blog page –  Rarst May 30 '11 at 22:20
    
Thanks! I believe i have finally found that BUMP in the wordpress learning curve –  Jeele Yah May 31 '11 at 0:24
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.