function wpb_rand_posts() { $args = array( 'post_type' => 'post', 'orderby' => 'rand', 'posts_per_page' => 5, ); $the_query = new WP_Query( $args ); if ( $the_query->have_posts() ) { $string .= ''; /* Restore original Post Data */ wp_reset_postdata(); } else { $string .= 'no posts found'; } return $string; } add_shortcode('wpb-random-posts','wpb_rand_posts'); add_filter('widget_text', 'do_shortcode');

Halloween haiku (plural!)

The local newspaper had a Halloween haiku contest. These did not win.

loose good and plenties
jelly apple lint dusted
throw away later

generous spinster
gives us candy and quarters
the catch, we must sing

new foreign neighbors
apprehending some danger
keep houselights unlit

© 2019-2024 Pushbutton Technologies