Skip to content

Commit b735e1b

Browse files
committed
Update readme
1 parent 2e4368d commit b735e1b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

readme.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Using this plugin is simple:
3434
If you don't meet the below requirements, I highly recommend you upgrade your WordPress install or move to a web host
3535
that supports a more recent version of PHP.
3636

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
3939

4040
= The Easy Way =
4141

@@ -64,6 +64,8 @@ The `[random_post_on_refresh]` shortcode supports a few attributes to give you m
6464

6565
* **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"]`
6666

67+
* **posts_per_page** - Provide the number of posts to fetch. Defaults to 100. Posts are randomly selected from the posts fetched.
68+
6769
* **search** - Provide a custom search term to limit the random posts returned. Example: `[random_post_on_refresh search="relativity"]`
6870

6971
* **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

Comments
 (0)