Skip to content

ronalfy/static-random-posts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static Random Posts for WordPress

Static Random Posts for WordPress 3.5+

Description

Allows the display of random posts as a widget, but allows the admin to determine how often the random posts are refreshed.

View the post stable: https://wordpress.org/plugins/static-random-posts-widget/

Installation

  • Create a random search by creating a Random Posts post type.
  • Select in the widget your random search post type.

Frequently Asked Questions

###Why the backwards interoperability I wanted to bring the plugin into modern times, and could not do so without breaking a few things

WordPress Template Function

$posts_ids = SRP_Get_Posts( 3405 );
//now run foreach on post ids and do with as you wish