It's a relief that you've found the bug, as I love the functionality of your plugin, however my own experience with it has highlighted one thing that would be really useful in random mode. If a user could actually be able to explicitly define the number of posts being used for the pool from which the selected number of displayed posts are picked.
i.e. if I chose 5 posts to be displayed, then rather than simply displaying the next 5 posts after any offset is taken into account, it would be great if I could define that those 5 posts should be picked at random from the next x number of posts.
Available settings would then be:
- Max number of posts to use (-1 for all posts)
- Offset from most recent to exclude
- Number of posts to display
This would mean that the list will always be fresh (rather just the same ones displayed in a random order) and helps bring attention to older posts too.
Once last thing, and just in case you weren't aware, the plugin CSS defined in css-front.css is also being overridden on occasion by class-main.php. I found this when trying to change the H4 setting for the
/* The single post title. */ in css-front.css. I eventually found that
$srp_content .= $this->srp_create_tag('h4', $ptitlelink, $ptitle_heading_atts) in class-main.php renders the css edit useless.