+ 1

What do you recomend me to learn to work with WordPress's code?

Hi everybody, I am working with WordPress right now helping people to translate some words and something else, but I don't really understand all the code. Please, if someone can help I would be gracefull with you.

15th Aug 2019, 2:16 AM
Jolfran Palacios
Jolfran Palacios - avatar
7 odpowiedzi
+ 2
First you need basic knowledge in html, css, javascript and php (if not, you should begin with these stuffs first) . Then the best way is find a tutorial and phractice. For now i prefer you to look out this: https://www.youtube.com/playlist?list=PLriKzYyLb28nUFbe0Y9d-19uVkOnhYxFE
15th Aug 2019, 3:28 AM
Thống Nguyễn
Thống Nguyễn - avatar
+ 7
Assuming you answered yes to both questions 1 and 2, it sounds like you are trying to understand the WordPress SDK / APIs for themes and / or plugin development. In this case, the following tips will help accelerate your learning... 1. Review the WordPress Codex to research and really understand the following: - WordPress Action and Filter Hooks - WordPress Page Lifecycle - WordPress Taxonomies, Post Types, wp_options, wp_query - The WordPress Loop and the various post functions used within the loop. - These are the big ones that come to mind. The rest should fall into place. 2. Setup an IDE with a solid debugger for stepping through PHP code with strong support for WordPress API. I personally recommend PHPStorm for its fantastic debugging, refactoring, and intelligence capabilities. However, I'm sure any others you are familiar with will be fine. I can't emphasize tip #2 enough. It was the key for me getting a handle on the WordPress architecture. This should get you started. 🤓👌
15th Aug 2019, 5:21 AM
David Carroll
David Carroll - avatar
+ 6
Jolfran Palacios It's been a good number of years since I've cracked open the inner workings of WordPress. But I'm sure much of the core is still the same. It depends on how you answer the following questions... 1. Do you are already possess the following skills? - PHP, MySQL, HTML, CSS, and Javascript. - Software development experience with client server web development in any other language / platform. - Using WordPress as an end user and admin. 2. Have you already evaluated and decided not to use any of the various translation plugins available? 3. Are you trying to modify an existing theme or building one from scratch? 4. Are you trying to build a plugin to extend the existing post content to allow for translations to be added?
15th Aug 2019, 5:02 AM
David Carroll
David Carroll - avatar
+ 4
Jolfran Palacios Considering that WordPress is written in PHP, I recommend PHP. Also, you'll need to understand HTML, CSS, and Javascript as these are generated by the PHP code on the server. I'm not sure what you mean by "start coding in WordPress pages." Technically, there aren't any pages in WordPress. Everything flows through the root index.php file or the ajax handler.
15th Aug 2019, 7:00 PM
David Carroll
David Carroll - avatar
+ 1
Hahaha I mean, edit the codes from WordPress, but thank all for your answer :) i will try to be more meaningfully and specific in the future.
16th Aug 2019, 12:20 AM
Jolfran Palacios
Jolfran Palacios - avatar
0
I sorry. I mean. Wich programmer languages do you recomend me to start coding in WordPress pages?
15th Aug 2019, 2:07 PM
Jolfran Palacios
Jolfran Palacios - avatar
0
And understand them
15th Aug 2019, 2:08 PM
Jolfran Palacios
Jolfran Palacios - avatar