Mishmash of notes and quotes for building the next PBS Idea Lab article…
The story
- MOOCs Miss the Mark: MOOCs don’t work for most learning situations.
- Old Is the New New: Look to F2F classes for what does work.
- Edu Evo: “Discussion Up” courseware.
Mishmash of notes and quotes for building the next PBS Idea Lab article…
Bottom of page testing info:
<!-- (<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds uses <?php echo round(memory_get_peak_usage() / 1024 / 1024, 3); ?>MB peak memory -->
Or:
<!-- (<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds) =TEMPLATE: <?php echo $GLOBALS['pagenow']; ?> -->
Or:
<?php echo '<p>' . get_num_queries() . ' queries in ' . timer_stop() . ' seconds uses ' . round( memory_get_peak_usage() / 1024 / 1024, 3 ) . ' MB peak memory.</p>'; ?>
http://webpagetest.org
https://developers.google.com/speed/pagespeed/insights/
Add CPT(s) to WP search:
function search_cpt( $query ) {
if ( $query->is_search ) {
$query->set( 'post_type', array( 'post', 'page', 'feed', 'custom_post_type1', 'custom_post_type2') );
}
return $query;
}
add_filter( 'the_search_query', 'search_cpt' );