GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Looking for a WP post rotation plugin (https://gfy.com/showthread.php?t=973647)

Sarah_Jayne 06-16-2010 04:01 AM

Looking for a WP post rotation plugin
 
Is there one where certain posts can be excluded from the rotation? For example, I may have some posts that were pretty time specific and themed towards past current events. I want to rotate posts but not those. Anybody know a WP plugin that will do that?

Thanks!

The Duck 06-16-2010 04:28 AM

I second that request however I do not require to exclude certain posts.

naughtylaura 06-16-2010 04:31 AM

I think its called oldest to newest

http://ryowebsite.com/wp-plugins/old2new/

ruff 06-16-2010 05:11 AM

The closest thing I have found is "Old Post Promoter". It just rotates posts randomly. Still might be worth something. You can find it here: http://www.blogtrafficexchange.com/wordpress-plugins/

asianseekerz 06-16-2010 05:36 AM

hoping somebody could suggest which of the pluggins is the best!!!!!

fris 06-16-2010 06:07 AM

Quote:

Originally Posted by Sarah_MaxCash (Post 17250826)
Is there one where certain posts can be excluded from the rotation? For example, I may have some posts that were pretty time specific and themed towards past current events. I want to rotate posts but not those. Anybody know a WP plugin that will do that?

Thanks!

I would do a custom loop and exclude those posts, although their might be a plugin for this.

Code:


// 1,2,3,4 are post ids.

<?php $args = array('orderby' => 'rand','showposts'=>5,'post__not_in'=>array(1,2,3,4));?>

<?php $custom = new WP_query($args);?>

<?php if ($custom->have_posts()) : ?>
<?php global $wp_query; $wp_query->in_the_loop = true; ?>
<?php while ($custom->have_posts()) : $custom->the_post(); ?>

<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>

<?php endwhile; ?>
<?php endif; ?>


Sarah_Jayne 06-16-2010 06:24 AM

Yeah, you would think other people would have wanted something like it in the past.


All times are GMT -7. The time now is 09:59 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123