wordpress - WP - conflict with theme files -
i'm developing theme , using 2 post types. default posts blog , news posts (custom type) news. when open news - uses proper theme file, marks nav bar menu item of blog. blog using home.php (default general posts). news using 'category-news.php'. ideas why clashing?
update
     wp_query object (     [query_vars] => array         (             [page] => 0             [news] => blog-2             [post_type] => news             [name] => blog-2             [error] =>              [m] =>              [p] => 0             [post_parent] =>              [subpost] =>              [subpost_id] =>              [attachment] =>              [attachment_id] => 0             [static] =>              [pagename] =>              [page_id] => 0             [second] =>              [minute] =>              [hour] =>              [day] => 0             [monthnum] => 0             [year] => 0             [w] => 0             [category_name] =>              [tag] =>              [cat] =>              [tag_id] =>              [author] =>              [author_name] =>              [feed] =>              [tb] =>              [paged] => 0             [comments_popup] =>              [meta_key] =>              [meta_value] =>              [preview] =>              [s] =>              [sentence] =>              [fields] =>              [menu_order] =>              [category__in] => array                 (                 )
        [category__not_in] => array             (             )          [category__and] => array             (             )          [post__in] => array             (             )          [post__not_in] => array             (             )          [tag__in] => array             (             )          [tag__not_in] => array             (             )          [tag__and] => array             (             )          [tag_slug__in] => array             (             )          [tag_slug__and] => array             (             )          [post_parent__in] => array             (             )          [post_parent__not_in] => array             (             )          [author__in] => array             (             )          [author__not_in] => array             (         
 
  
Comments
Post a Comment