spider110
Forum Replies Created
-
NO ,markdw! thanks !
Just I had discovered the mistake,
originally was my target classification regards classifies the page, has been good,
the question had already solved,
Ths!!!oh! markdw!
Ths!
but when i run it
it’s not show category-3.php
But is archive.php
I want to know that what its read order is?
why will demonstrate archive.php , but will not be category.php
and,is this needs to delete arvhive.phpMoreover I want to ask that if uses category-3.php,
does not need to revise other places?
is the naming is category-3.php?Forum: Themes and Templates
In reply to: Help with double single php’sOh,jonimueller
thank you for reminding!
I just want to solve the problem!
No other meaning!Now ,is anyone have some ways to solve it?
Forum: Themes and Templates
In reply to: About Category judgement on the templateI want a different category show different templates
category_templates inside said, you can use the following code<?php $post = $wp_query->post; if ( in_category('3') ) { include(TEMPLATEPATH . '/Category-3.php'); } else { include(TEMPLATEPATH . '/Category.php'); } ?>but for some reason, its not working for me,
meaning:when I run this code , ALL the other pages show my “Category.php”my meaning :How can I use the above code, before we can call a Category-3.php
Or, have other ways to make different category pages, show different templatesPS: I speak English to the not so good! ^_^
Ths!
Forum: Themes and Templates
In reply to: Help with double single php’sMe too,
if u have any ways to solve it
please contact me
Ths!
MSN: xiaoniao8880@Gmail.comit’s very cool;
if you understand ,i can help U