I stumbled upon this while trying to create a custom page template on my WordPress website. The solution i found to that had given me quite a number of options so i thought it only fair to explain how to do this as well. Doing this usually depends on your hosting company, however the processes are very similar or rather the same.
Step #1: Log into your cPanel account, locate file manager under files. Once this opens, locate your public_html folder.
Step #2: This next stage depends on what file you want to edit. However, all you need to when you find the file you want to edit is right click and click edit. That’s all.
Watch this example video made by inmotion hosting company to see what it looks like.