How to display pages instead of posts in the blog box

If you want to display pages instead of posts in the blog box on the homepage;

-Go to Appearance->Editor

-Open homeblog-template.php file (on the right side of the page)

-Find the following code;

array('posts_per_page' => $latestblogpostspaged)

-Change it with the following

array('posts_per_page' => $latestblogpostspaged, 'post_type' => 'page')

-Click Update File button.

Be careful and don’t change any other thing

Screenshot_1