When I’m interested in CSS/HTML/JS of some element on the site, I preview it and test modifications in the browser devtools. It is clear to me here. And how is it in PHP? I have a page placed on WordPress and I’m interested in some element. I would like to find out where is the PHP code that generated this element. Then I’d like to modify this code and view the changes. What’s the smartest way to do that?
I know I need files in Design -> Theme editor. I also use child theme. I implemented some JS scripts in functions.php. Now I’m interested in e.g. element containing information about the author in main collection and single post. Or another issue: in editing the post we have the “author” field. As an alternative I’d like to add another field called “added by” (many of my posts are only links with short description, so it’s hard to talk about authorship here). I understand that I’m entering the WordPress Development area. I have no complete idea how to start. Courses, manuals, documentation? How should I start exactly? What should the working environment consist of?