Differentiation between index.php and page.php

Would my index and page files be correct in outputting the content
like this?

No. If you attempt to search, or browse posts by tag or category, then you won’t see any posts because your index.php file doesn’t loop through any posts, according to your description.

All templates in the template hierarchy should use the standard loop because WordPress will query the correct posts and then use the appropriate template to display them. As you can see from the template hierarchy diagram, there are several post archives that will use your theme’s index.php template, so it’s important for that template to include the loop. The only exception is the 404.php template, which will not need to display any posts (since none have been found).

Since you have single.php and page.php templates in your theme, your index.php file only needs to be optimised for displaying lists of multiple posts, for things like date and category archives, and search results.

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş