Always expand threads in single views with p2theme
// as on this page i wanted to have comment threads only collapsed // on category/frontpage and search views but expanded on views with is_single() // to do so open the file in/js.php in your p2 theme and search for p2_toggle_threads // and replace $hide_threads = get_option( 'p2_hide_threads' ); ?> with if ( !is_single() ) $hide_threads = get_option( 'p2_hide_threads' ); else $hide_threads = 0; ?>
sourcebench 3:02 pm on November 28, 2009 Permalink |
Always expand threads in single views with p2theme (http://bit.ly/4oe4xb) #WordPress
This comment was originally posted on Twitter