This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Content Mixx


This plugin retrieves one or more random post/page or both of them from your WordPress installation
from (string)
– show only posts, or pages, or both
– possible values: post | page
numberposts (integer)
– number of posts/pages to return
categories (integers, separated by commas)
– limits returned posts to posts filed under categories found in arguments
exclude (integers, separated by commas)
– limits returned posts to posts NOT filed under categories found in arguments

Sample Code:
    $myposts = contentmixx( 'from=post&numberposts=2&categories=8' );
    foreach( $myposts as $post ) {
        setup_postdata( $post ); 
        <div class="sideBarPost">
            <h3><a href="<?php the_permalink() ?>"><?php the_title() ?></a></h3>
            <p><?php the_excerpt(); ?></p>
            <p><a href="<?php the_permalink() ?>">Read More...</a></p>

         $results = contentmixx('numberposts=3');
         foreach($results as $post) :
        <h2><a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>"><?php the_title(); ?></a></h2>
        <?php the_content(); ?>
     <?php endforeach; ?>

Please submit any bugs or suggested improvements to

Need this plugin customized or need a plugin created, contact me via my contact form at

Also available through twitter, @bmsterling


Copyright 2007 Benjamin Sterling (

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of

See the GNU General Public License for more details:


  1. Unzip into your /wp-content/plugins/ directory. If you’re uploading it make sure to upload the top-level folder. Don’t just upload all the php files and put them in /wp-content/plugins/.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


There are no reviews for this plugin.

Contributors & Developers

“Content Mixx” is open source software. The following people have contributed to this plugin.


Translate “Content Mixx” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.