natejones / wpds

A WordPress digital signage solution that uses Zurb’s Foundation.
http://pixelydo.com/work/wordpress-digital-signage/
GNU General Public License v3.0
105 stars 74 forks source link

post slider - speed and order #28

Open cmgarst opened 9 years ago

cmgarst commented 9 years ago

Is there a way to control how fast the screen rotates through posts?

Also configure the order of posts vs. random?

Thanks, this is awesome!

j0nz commented 9 years ago

The Speed can be adjusted as per this query/answer

Timing the transition between posts display

which says

Sure is. Just edit line 12 of /javascripts/foundation/foundation.orbit.js timer_speed: 8000, It's in milliseconds.

Not sure about the randomness

islanddog commented 8 years ago

I know this was last year but in case you were curious to do ordered posts simply go to index.php under: wp-content\themes\wpds-master and alter the following lines:

            $args=array(
                'post_type' => 'post',
                'post_status' => 'publish',
                'orderby' => 'ID',
                    'order' => 'ASC',