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

Clipboard access

Okay, here’s a tested method to snoop freely anywhere you’d like. Use it to explore interesting places where you have no  legitimate reason to be.

Get a cheap wooden clipboard with a metal clip. Add a pad of standard-size lined paper; yellow works nicely. Rumple the paper a bit so it doesn’t look new. Carry your board in the crook of one arm so it looks ready for use. Keep a few pens in your shirt pocket. Walk with authority, as though you’re going somewhere, but don’t rush. Look  around. Act like you don’t expect to be challenged. You won’t be.

Please don’t everybody try this at once, you’ll ruin it.

© 2019-2024 Pushbutton Technologies