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');

Musings

On comics
– Dagwood seems to be a closeted bulimic
– Mr. Dithers is a total prick

On language
– reviewing the article about the time my mother took me into New York City, I realize you can’t spell SLAUGHTERHOUSE without LAUGHTER

Sexiest voice
– chick that says “Zyrtec” on TV

Word of the day
– RANKLE

© 2019-2024 Pushbutton Technologies