Hello All,

I have a wordpress blog with latest topics on the front page, its in a grid line, thus all the topics show's the thumbnails on the front page and when you click they go to the page.

Code: 
<?php } elseif(get_option('fp_homepage_layout') == 'grid-items') { ?>
                
                <div class="post-item-grid">
                
                    <?php if (  (function_exists('has_post_thumbnail')) && (has_post_thumbnail())  ) { /* if post has a thumbnail */ ?>
                        <a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_post_thumbnail('grid-thumb'); ?></a>
                    <?php } ?>
                    
                    <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
                    
                    <div class="post-item-meta">
                        <span>In <?php the_category(', ') ?></span>
                        <span>On <?php the_time( get_option('date_format') ); ?></span>
                    </div>
                    
                </div>
That is the code, i want around 9 other of these same thumbnails and posts to be random.

please assist with this code, thanks,.
Sponge Bob Reviewed by Sponge Bob on . Wordpress Show Random Posts Help Hello All, I have a wordpress blog with latest topics on the front page, its in a grid line, thus all the topics show's the thumbnails on the front page and when you click they go to the page. <?php } elseif(get_option('fp_homepage_layout') == 'grid-items') { ?> <div class="post-item-grid"> <?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { /* if post has a thumbnail */ ?> Rating: 5