I'm fairly new at wordpress but I am currently trying to figure out how to access someone's child theme that they created from a parent theme. I can access the editor section but it just gives me the php. Is it possible to access the HTML? I'm wondering if someone can explain how come there isn't like an index then a post page. I just need to reorganize the content since the layout orientation isn't correct.

  • Do you have access to the themes files? – Laxmana Mar 27 '17 at 15:38
  • @Laxmana This is what I can see in the editor. I don't know if that means if I have access to the theme files. ibb.co/fmbZfa – logan26 Mar 27 '17 at 15:41
  • I mean if you have access to the files where the site is hosted. FTP access. So you can open the index.php with an editor and not through WordPress Admin Panel – Laxmana Mar 27 '17 at 15:42

You are looking at the right files area. The HTML is created through the php files. These files can be accessed/edited through the editor as you are viewing or through FPT as Laxmana suggested.

Through ftp it would be in your public_html/wp-content/themes/your-child-theme folder.

It may not only be the index.php file that you're looking to change though, or you may need to change something other file entirely.

It's better to make the changes via ftp because you can back up your files before you start making changes in case something goes wrong. If you don't have that option the editor works as well. Just select all the content for the file you are editing and copy it to your desktop (word or notepad etc) so you have a safe recovery point.

Without knowing exactly what you are tying to change this answers your question as best as possible.

  • I got access through the files on the FTP and I was wondering if there was a way of editing the theme locally to see the changes without it being changed on the live site? – logan26 Mar 27 '17 at 17:05
  • Unfortunately it's not that easy. You would need to create a back up of the whole site to have it not be live unless you create a template.php and with the edits you're going to do and assign to a private page. – rudtek Mar 27 '17 at 17:10
  • Oh okay, that makes sense. Thanks. It will be just a single template page that I will be restructuring actually. (Learning as I go through this process). – logan26 Mar 27 '17 at 17:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.