Are you having problem displaying Number of Post Per Page on your WordPress code or on WordPress Recent Post Plus Widget?
This problem occur when you have sticky post posted on your site, the sticky post will override the settings on your wordpress query. For an example, you set the number of posts value to 5, then you have 3 sticky posts, the result of that query will show 8 total number of posts.
To fixed this problem, just add the query “ignore_sticky_posts” then set the value to “1“, this will ignore the sticky attributes of a post.
Hope this will fixed your problem! Thank you for reading…