Featured Content Gallery | WordPress Plugin | iePlexus

Randomize the featured content?

New releases, ideas for the future, and known issues

Randomize the featured content?

PostBy mhains on Wed Feb 04, 2009 9:44 pm

The featured content on my site is varied and updated infrequently. I don't want regular visitors to see the same first image after repeated visits. Any way to randomize the list of featured content? If not, that'd be a great check-box option in a future revision.

Great work integrating into WordPress!
Michael
http://www.hainsworth.com
mhains
 
Posts: 2
Joined: Wed Feb 04, 2009 9:36 pm

Re: Randomize the featured content?

Thank you for using the Featured Content Gallery Forum
 

Re: Randomize the featured content?

PostBy admin on Fri Feb 06, 2009 10:11 am

great suggestion, we will put it on our development list
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: Randomize the featured content?

PostBy mhains on Sun Feb 08, 2009 12:35 pm

In the meantime, anyone looking to randomize their featured content can do so by replacing line 44 in gallery.php with:
Code: Select all
<?php query_posts('orderby=rand&category_name=' . get_option('gallery-category') . '&showposts=' . get_option('gallery-items')); ?>


Michael
mhains
 
Posts: 2
Joined: Wed Feb 04, 2009 9:36 pm

Randomize the Category Content

PostBy carolinestar on Thu Jun 04, 2009 12:06 pm

Hi there
I'm using your new updated version which lets you randomize Posts from the Select here to use individual post or page IDs Section. How can I randomize posts within a Category? Is this code correct if I put it into the gallery.php page on line 55:

<?php query_posts('orderby=rand&category_name=' . get_option('gallery-category') . '&showposts=' . get_option('gallery-items')); ?>
carolinestar
 
Posts: 1
Joined: Thu Jun 04, 2009 12:03 pm

Re: Randomize the featured content?

PostBy admin on Thu Jun 04, 2009 2:27 pm

should work
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA


Return to Development, Improvement, and Conflicts

Who is online

Users browsing this forum: No registered users and 0 guests

cron