How to get php file based on URL in WordPress

I am trying to edit the home page for the wordpress site but I am not able to find the PHP file. The file should be under the theme file and I have checked almost all the file(which is not the correct way) but was not able to find it. Looking for some way through which I can get the exact file name via URL as in CodeIgniter we use ROUTES.PHP, if there is any way. Thanks in advance.

Read more here: How to get php file based on URL in WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *