You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.txt
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ Using this plugin is simple:
34
34
If you don't meet the below requirements, I highly recommend you upgrade your WordPress install or move to a web host
35
35
that supports a more recent version of PHP.
36
36
37
-
* Requires WordPress version 3.2 or greater
38
-
* Requires PHP version 5 or greater ( PHP version 5.2.4 is required to run WordPress version 3.2 )
37
+
* Requires WordPress version 6.4 or greater
38
+
* Requires PHP version 7.4 or greater
39
39
40
40
= The Easy Way =
41
41
@@ -64,6 +64,8 @@ The `[random_post_on_refresh]` shortcode supports a few attributes to give you m
64
64
65
65
* **post_type** - Provide a post type or a comma-separated list of post types to pull from. You must use the internal post type name. Default is `post`. Example: `[random_post_on_refresh post_type="page"]`
66
66
67
+
* **posts_per_page** - Provide the number of posts to fetch. Defaults to 100. Posts are randomly selected from the posts fetched.
68
+
67
69
* **search** - Provide a custom search term to limit the random posts returned. Example: `[random_post_on_refresh search="relativity"]`
68
70
69
71
* **taxonomy** - Provide a custom taxonomy to pull from. Requires the `terms` attribute to be set as well. Example: `[random_post_on_refresh taxonomy="post_tag" terms="2,4"]`
0 commit comments