Skip to content

Instantly share code, notes, and snippets.

@sicksand
Created December 17, 2018 02:37
Show Gist options
  • Save sicksand/796c6f67786fbd3835c47e7d037a8905 to your computer and use it in GitHub Desktop.
Save sicksand/796c6f67786fbd3835c47e7d037a8905 to your computer and use it in GitHub Desktop.
wp-rand.php
p<?php query_posts('orderby=rand&showposts=1&cat=75,76,77')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment