Use is_single() and is_page() to determine if single and more should be set. http://mosquito.wordpress.org/view.php?id=969 Props: coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2378 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ffad6205f9
commit
b06afb7b33
@ -174,7 +174,7 @@ $posts = query_posts($query_string);
|
|||||||
// Extract updated query vars back into global namespace.
|
// Extract updated query vars back into global namespace.
|
||||||
extract($wp_query->query_vars);
|
extract($wp_query->query_vars);
|
||||||
|
|
||||||
if (1 == count($posts)) {
|
if ( is_single() || is_page() ) {
|
||||||
$more = 1;
|
$more = 1;
|
||||||
$single = 1;
|
$single = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user