Custom filter on all post page (admin backend)

Use the restrict_manage_posts action to add other HTML content beside the Category/Date dropdown filters. Try something simple like: add_action( ‘restrict_manage_posts’, ‘my_posts_restrictions’ ); function my_posts_restrictions() { echo ‘xxxxx’; } This should give you xxxxx at the end of yoru filters line. Be warned, as this will appear on any Custom Post Types as well. You need … Read more

Random post order and taxonomy filter

Better to use get_posts. This is how you can use “rand” <?php $args = array( ‘orderby’ => ‘rand’ ); $rand_posts = get_posts( $args ); foreach ( $rand_posts as $post ) : setup_postdata( $post ); ?> <!– Do the things here… –> <?php endforeach; wp_reset_postdata(); ?>