 Saya adalah pembangunan pembangunan. Jangan risau, kita berbincang banyak. Jadi, saya bercakap tentang menggunakan Team Child. Okey, sedikit tentang saya. Saya adalah pembangunan pembangunan. Tapi bukan oleh pilihan saya. Saya juga telah membuat... Biasanya saya telah membuat pembangunan yang lebih kecil. Saya telah membuat pembangunan yang lebih kecil. Saya telah membuat pembangunan yang lebih kecil. Saya suka melihat diri saya sebagai pembangunan sistem. Tiada apa-apa yang berlaku. Saya hanya suka menggantikan sistem. Jadi, saya telah membuat pembangunan pembangunan yang lebih kecil. Jika anda fikir saya melihat diri yang lebih kecil. Ini adalah pembangunan saya. Jadi, jika anda melihat pembangunan ini mungkin saya. Jika anda melihat saya di WordPress.org dan sebagainya, saya juga. Ia adalah perkara yang saya menikmati. Jadi, tidak penting, tapi sebenarnya... Saya tahu perkara yang saya bercakap tentang. Sebab itulah saya perlu jauh dari sini. Jadi, saya telah melihat perkara yang saya menikmati. Ia adalah pembangunan pembangunan. Tapi, saya akan bercakap tentang apa yang ia akan berlaku. Tapi, saya akan bercakap tentang 10 saat. Kenapa saya menggunakan satu dan bagaimana ia berlaku? Dan saya akan menikmati cara memilih pembangunan yang baik. Mungkin saya tidak akan menjadi pembangunan mempunyai bagaimana masin saya berlaku. Tapi, tanpa pembangunan, saya akan melihatnya dengan sepatutnya. Jadi, saya akan menikmati untuk mempunyai pembangunan pembangunan. Dan bagaimana ia berlaku. Jadi, pembangunan adalah... mempunyai banyak perkara yang berlaku. Banyak perkara yang berlaku, perkara yang berlaku, perkara yang berlaku, perkara yang berlaku, perkara yang berlaku, dan sebagainya. Jadi, semua perkara ini hanya berlaku. Jadi, di dalam tempat anda, tidak ada sebuah magic yang berlaku. Dan, tentu saja, anda dapat mengikuti pembangunan juga. Tapi, semua perkara ini berlaku, yang dapat... Maaf, saya tidak berlaku. Pertama saya menikmati perkara yang saya menikmati. Bagaimanapun, idea ini adalah, semua perkara ini dapat dibuatkan dengan lebih mudah. Bagaimanakah anda akan membuat perubahan... jika anda tidak membuat perubahan? Jadi, lebih daripada yang tersebar, dalam pengalaman saya sendiri, apabila saya membuat perubahan, saya sebenarnya mengeditkan perubahan dengan segera. Kemudian, apabila perubahan berlaku, saya mencari perkara ini, saya akan membuat perubahan. Dan semua perubahan anda, terutamanya jika anda tiada kembali, atau tiada perubahan, ia semua sudah hilang. Jadi, saya akan membuat perubahan. Perubahan adalah perubahan. Ia adalah sesuatu yang mengawal perubahan anda, perubahan yang penting anda. Jadi, anda dapat menambah keadaan, dan perkara yang terbaik adalah, ia tidak mengajar perubahan anda. Jadi, apabila perubahan anda berubahan, dan ini boleh menjadi sebabnya, perubahan, perubahan, dan sebagainya. Dan jika anda telah menggunakan perubahan 20, sesuatu perubahan, 16, 15, 14 dan di bawah, anda akan melihat bahawa, setiap beberapa bulan sebenarnya ada perubahan. Walaupun ia adalah perubahan visual, dan sebagainya ada perubahan. Jadi, lebih daripada setiap beberapa bulan, Ya, hai. Jangan risau. Sebenarnya, ia akan berada di perubahan. Saya akan memberikan link nanti. Ia tidak selesai, sebabnya, sebabnya, saya baru selesai perubahan ini. Jadi, ia tidak terlalu terang. Kita akan menguploadkan kepada Engenias.SG. Engenias.SG. Jadi, kita pasti akan meletakkan perubahan dan Facebook. Jadi, jangan risau. Jangan risau. Tapi, jika anda mahu ambil gambar, jika ada masa untuk ini, jom. Okey. Jadi, kenapa menggunakan gambar perubahan? Jadi, anda dapat meletakkan secara selamat seperti yang saya bercakap tentang. Ia mudah untuk digunakan. Bagus. Perubahan perubahan menolakkan untuk mengubah perkara sangat mudah. Ia adalah sebagainya. Jadi, bagaimanapun, anda menerima sesuatu, tapi anda tidak menerima gambar perubahan untuk page 404. Atau, pakaian archived atau pakaian post-page. Perubahan perubahan ada gambar perubahan untuk mengawal ini. Jadi, jika anda tidak menerima gambar perubahan, ia di sana. Jadi, ia akan kembali kembali. Saya akan mengusahkan sedikit untuk memastikan anda berhenti perubahan perubahan dan kenapa anda harus menggunakan gambar perubahan. Ini bermakna kerana saya rasa satu sebabnya adalah secara selamat. Jadi, gambar perubahan yang saya usahakan adalah ia disebabkan gambar perubahan. Kemudian, jika anda menerima gambar perubahan, sedikit secara selamat sepanjang sekejap. Jadi, jika anda tidak menggunakan gambar perubahan dan pastikan bahawa perubahan anda adalah stabil dan sebagainya, anda akan dapat ke dalam perangkat yang sangat keras, apabila anda tidak bergerak, kerana anda akan terlalu bangga perubahan anda, telah diberi dan anda akan mendapatkan perangkat. Ya, jadi saya dengan perangkat doktor di perangkat dan banyak di sisi sokongan. Jadi, salah satu perkara yang kita lihat banyak adalah sebenarnya, orang tidak mendapat perangkat kerana mereka berat perangkat perangkat yang lebih berlainan. Kemudian mereka mendapat perangkat dan kemudian ia berlainan dalam perangkat yang sangat keras, cuba mengemar kemudian mereka mempercaya mereka perlu bergerak ke perangkat tetapi mereka tak tahu apa yang telah berubah dalam perangkat yang penting. Macam mana ia berubah? Perangkat perkara itu ia berlainan untuk beaucoup BETHT Demikian Ontario dan semua yang anda perlu lakukan adalah menjelaskan apa-apa yang anda mahu. So, another of course reason is that parent teams offer you a great range of functions and some level of aesthetic looks that you want, but to really supercharge your site, make it look like a race car, make it look great, you want to use a child team to do so. So, I just want to show you how different it could be. So, this is Canvas and Canvas is by Wu Tims, who here has heard of Wu Tims. By the way, I'm not an advocate of Wu Tims. I might be listed there but no relation in that at all. I just like them because I started using them and I use all the products. So, Canvas is one of the parent teams. Actually, pretty much the only one I use it to design for all my clients. So, anyway, since I can design it for my clients, go ahead and use it too. It's a good team. Look at it. It's very simple, clean, but it doesn't look good. So, one of the sides that we design for my clients is this. So, it can look really, really different. Anyway, anyone who has been to this restaurant for Vintok Singaporeans? Yes. Yes, good. So anyway, if you go to the website, if it's messed up, it's not my fault because they did it. But this was the original look. So, this sort of how it looks like. It can be very, very different. So, now then, how do we create a child team? So, there are two ways. I'm going to cover one is true code and it's going to be, don't worry, very, very simple, the initial ways. And the other way is actually just selecting a good child team. So, there are three essential files. The WordPress.out is going to tell you there are two essential files and one optional one. But to me, there are three essential files. One is the style.css. So, these are all standard commands you can copy-paste from any team. Yeah, good teams. And at the last part, one last part template, this is actually controls who's a parent team. So, you create this and download them. My parent team is Canvas and you actually link it to the parent team. The second file is functions.php. This is... Oh, I copy-paste wrong. I'm so sorry about this. I'm going to fix this in the latest one. By functions.php, you actually tell me to load both the parent team style and the child team style. That's the basic that you can do. And the third one is actually just a screenshot.png file. So, you can put it in so that I'm going to show you what's going to happen. So, this is the parent team and this is the child team. So, by just putting this few files in and you get that and you can actually, if you hold her, you can activate the team. So, of course, changing how it looks and changing the code that's further up but it all starts from here. So, please don't look at the rest. This is the team I'm reviewing right now for the dot org. So, another way of which is that good parent teams actually come with a lot of child teams for you to choose from. Like, if you look at the dot org team repository, you'll see a lot of child teams so 26, 2015, 14, 13, and so on. So, these are quite a few child teams that are based on Canvas. So, as you see, it can look really, really different even with the functionality and the backend use as well. So, a little bit to before you can create a child team, you might want to identify what is a great parent team. It was one of the things that I realized from the dot org forums is that people don't actually choose a good parent team and then by the time they finish doing the child team, they realize the parent team is lacking in many ways. Possibly, the quite strong managed security. So, this is a bit cool but I don't even understand if you don't want to but more importantly, good parent teams have a plug-over functions. So, this is it checks if the function exists. So, the idea is you could copy this entire function from a parent team into your child team and then change it a little bit. You don't like the markup. You don't like the picture that's displaying. You can delete it and it will work. So, make sure that it has plug-over functions. Make sure that your parent team comes with good commands on the code so it tells you what you're actually editing. When I started out, when I passed this it was quite essential and I didn't know what this team would write. Generic default styles so you could go bootstrap, you could go any other ways but for example, things like this it helps you control a three-column layout or two-column layout, single-column. All these codes you just reuse and reuse without actually writing your own. So, generic default styles and make sure the last important is well supported. So, take one from a reputable company or a long-term developer who's going to support it for many, many years to come. Because in possibly five years later they're going to discover some security issue then you've got to upgrade your parent team. And since your child team is based on your parent team and if your parent team is not updated your child team is going to suffer a bit as well. So, some good parent teams 2016 which is going to come up soon in 4.4 but it's already available for you to download. If not the 2015, 2014, 2013 those are very good parent teams as well. underscore is a bareback framework for you to create your own team so you can get it at underscore if you just search underscore skip you'll get it. Canvas is a paid parent team but you sort of can just buy it and then use it for a very long time but this is sort of what I've done not expensive. Genesis Framework is also a paid parent team but it's more of a framework that you can use to design your other teams. Foundation Press is free you can just Google Foundation Press and then you'll get it and it's also a parent team that can use to develop all your child teams. So, we were mentioning this right and then actually in one of our meetups we were talking one I think one of our users said how do I submit a team to say.com or .org team repositories. So, I'm going to cover the .org part and the little Jack's going to cover .com part just so that does anyone not understand the difference between .org and .com WordPress Yes, hi. Great. Okay. So, just a quick thing correct me if I get it wrong .org is based on the WordPress foundation it's free you download the software you install in your own server or your own hosting and you run it you get to install basically anything you download and then you can install it so, WordPress.com takes and of course they also contribute to the WordPress.org code you take the code they run their service and you have a select number of teams am I correct and plugins that you can use and you can choose to go commercial if not there's a free version that you can use there are different submission guidelines because these are two different entities that support each other Ya. Got it? Ya. So, I'm going to cover a bit about WordPress.org team submission guidelines so if you have after this you have decided that I want to design a small team to submit to the WordPress.org whether it's to actually boost up your portfolio or just want to give back to the open source community you can do that so the process is actually there's a very, very concise list of guidelines for you to follow and then you basically just need a WordPress.org account is free and upload the file required for submission so, and if you have uploaded it and you don't really get a reply you can actually log on to Slack it's our team chat system and it's free access to anyone with a WordPress.org account go to the team review channel and say I've got team but no one's looking to read and someone will then the team review review it and then test it what we call the team unit test and you can use this link to actually upload your team itself and once it's been reviewed you'll be given a list of tips to go through whether it's things to change or things to improve and when you've completed it they will release your team under the WordPress.org repository yes so there's quite a few good advantages around this of course you get a little bit of exposure and if you're running a company a lot of commercial companies actually do this they upload the theme there and then they have another version that's paid for a professional version or they have multiple other themes that they want to buy so this is usually what people do so you give a little bit back and also people visit your site and so on I encourage everyone to try this it's not always about just something free and download but it's a good exchange so I'm just going to go through very quick some of the guidelines actually there's quite a long guideline but it's all very straight forward good code no errors you've got to sanitize the code if there's sanitize the code yes so sorry what is your question what do you mean sanitize so okay functions if you have a text box make sure you sanitize when you clean the input and then when you export you escape as well so you make sure that people don't actually put in the script into the text boxes that you have created so and when you actually output it make sure you escape it so things like don't worry because actually in the WordPress.org codex there's actually a list of things for you to follow and if you they'll tell you sanitize there's a link click how do I sanitize so keep WordPress functions and use them if there's a WordPress function over the PHP function use the WordPress function do not hard code and make sure your parent team or whatever team you're designing is child team reading naming do not use WordPress name inside the team or do not use the word team so if you say your team will say my name is John WordPress John as a team name then it's going to look very official when it's not so that's not encouraged make sure it's GPR compatible that's license everyone here hopefully with the GPR license if you are going to put the options for them to change your theme upload the new image change the title and so on use the WordPress included customizer instead of your own team option framework all these are inside here this link and you can go and look at it so this is a little bit of a process of how it looks like someone submitted a theme and then I give a list of items to follow what should things and so on and after this is all followed then we will approve your theme and you will be on WordPress.org so actually I finish this a lot faster than I thought but all these slides are going to be on speakerdeck.com it's not been uploaded yet but I'm going to fix some of the errors I saw just now and it's going to be uploaded there so I'm open for Q&A if anyone has any questions there are a lot of teams usually they will put functions in the global scope yes and some put them put all the functions inside the class you just made an instance and made an instance global are there any pros and cons or advice on this yes as a PHP programmer and as a general programmer don't use the global space if you don't have to but for sure WordPress uses a lot of programs global for example I would say I have not encountered a lot of a lot of usages having to use the global space I mean keep it to your class space or anything below that and generally if we notice there are very different levels of reviewers unfortunately and some of them will actually spot it early on then maybe you will pass to someone who will review your team again and they will probably advise you do not use the global space if you don't have to but depending on how because WordPress is a large team and they are varying different levels of specialities and so on but to answer your questions do not use the global space if you don't have to so it means I should probably put my so-called functions inside class of itself okay for me as a general way of developing PHP just use class and name space and write all your functions inside if you can then call instance of your class and run everything I think that's the cleanest way to do things not everyone does that and we don't actually force this on the the team submission guidelines but it's a good practice because in the end it's easier for you to manage as well I take norm code questions as well so if you're interested you don't have any questions any team development questions that's okay too no? Yes I saw off but I don't think it truly works right now because I'm not sure I don't have a full demo but I can show you some of the files that will return so if you notice Canvas is the parent team and actually it's all these files that controls exactly how your web page looks like your website looks like and then your team which I called Canvas Child Oh no where is it? Uh oh Okay Do we have internet here? Okay I'm going to connect to the wifi guest For people who want to know that I was hearing some discussion this is PHP storm it's a very good development platform a lot of people in the WordPress community use it Oh no I was making sure it was connected Okay Okay I'm just going to open up So just now I was showing the parent sorry functions.php of the child team so this is actually a little bit of this is the front-end CSS alright yes so this is a little bit of what we can include here so this line actually loads the parent team style and then this line loads the child team style and then it takes make sure that parent team is loaded before loads up child team so this is actually a full range of other code I use to run the child team I don't actually have a fully working demo when this computer isn't truly connected but in the end if you notice that canvas itself has a lot more files and well my child team is much lesser I only edited the ones that I wanted so what I do actually is I copy the file from the parent team and then I copy to the child team and then I start editing from there so in this way your parent team always stays with the same code you can update it while you change whatever you want with the child team so I'm sorry I don't have a demo can I do I have any questions no okay then leave it to Valentine you can move on to Jack yes do anyone needs a toilet break like a 5 minute toilet break yes Jack needs if you have a 2 minute break why is it so hot