WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. 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

This plugin retrieves one or more random post/page or both of them from your WordPress installation Arguments: 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:
    <?php
    $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>
        </div>
    <?php
    }
    ?>


     <?php
         $results = contentmixx('numberposts=3');
         foreach($results as $post) :
            setup_postdata($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 https://github.com/bmsterling/Content-Mixx/issues

Need this plugin customized or need a plugin created, contact me via my contact form at http://kenzomedia.com

Also available through twitter, @bmsterling

Requires: 2.3 or higher
Compatible up to: 3.1.4
Last Updated: 2011-4-24
Downloads: 797

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1