New Paste

 

Recent Pastes

Administrate




PageLines PasteBin.

PasteID: 53
Pasted by Anonymous, 2012-04-12 12:34:16 GMT
Expires Never
Paste size 403 b
Toggle Expand   Wrap   Raw
Copy Contents   Copy URL
 
  1. add_action( 'pagelines_before_postloop', 'my_power_slider_action' );
  2.  
  3. function my_power_slider_action() {
  4.  
  5. 	the_power_slider( array(
  6. 		'category' => 1,
  7. 		'limit' => 10,
  8. 		'width' => 600,
  9. 		'height' => 300,
  10. 		'style' => 'white', // 'white', 'none'
  11. 		'animation' => 'fade', // 'fade', 'horizontal', 'vertical'
  12. 		'speed' => 600,
  13. 		'delay' => 4000
  14. 		) 
  15. 	);
  16. }
 
 
 

 
 
 
 
 
Written by Xan Manning, 2010.
YOU NEED FLASH!