• BoBB

    (@bobb)


    I used the following code in wp-1.2 to determine if the page would be a single post or multiple posts and set the body id accordingly and it no longer works aftr upgrading to 1.5 … any ideas?

    <?php if ($pagename == ‘archives’ || ($single) || ($withcomments)) {$body = “archives”;} elseif ($pagename == “eurotrip”) {$body = “eurotrip”;} elseif ($pagename == “about”) {$body = “about”;} else {$body = “blog”;} ?>

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘$single and $withcomments’ is closed to new replies.