Web Designing, Web Development, Website Design, Website Development, SEO

0091 98233 72069

COGS: CUSTOMISED, OPTIMISED, GENERALISED WEB DESIGN & WEB DEVELOPMENT SOLUTIONS

random post on home page of wordpress

use following code

query_posts(array(‘orderby’ => ‘rand’));
if (have_posts()) : while (have_posts()) : the_post();