SpikeTheLobster Posted May 22, 2012 Share Posted May 22, 2012 I spent an hour or so learning PHP yesterday evening, since I have a few projects I'd like to build, but I have yet to find a decent reference or tutorial for using it in WordPress - specifically revolving around custom fields, post types, creating taxonomies, custom forms, variables on user profiles and that kind of thing. I'm just about to rush off again right now (dinner!), so I thought I'd ask if anyone's seen a decent site with this kind of information. Any pointers appreciated. Quote Link to comment Share on other sites More sharing options...
Administrators Tony Posted May 23, 2012 Administrators Share Posted May 23, 2012 http://codex.wordpress.org/ While this is straight from the source, I don't think it is very clear unless you are familiar with php already. Does anyone have a good tutorial site that goes into greater depth on their examples? Quote Link to comment Share on other sites More sharing options...
SpikeTheLobster Posted May 23, 2012 Author Share Posted May 23, 2012 (edited) The WP Codex is rather tough going, since it assumes a fair knowledge of several things - PHP, the way WP is built and so on. It's sort of like reading the dictionary to find a word definition - a great idea if you have the time, since you'll pick up a ton of other information, but not really something you want to do as soon as you've learned the language. It's also very hard to "work through", since it lacks any proper learning structure. For example, I dived into the themes section (which is immediately after the total noob section about installing plugins and stuff) and got lost in minutes, because there's no real "basics" introduction to cover the essentials. It goes from "Click the install button" level to "WordPress can load different Templates for different query types. There are two ways to do this: as part of the built-in Template Hierarchy, and through the use of Conditional Tags within The Loop of a template file." - that's a pretty big jump. I'm ideally looking for something between the two. Perhaps a "this is how I built a theme, step by step" sort of thing so I could see by example, then use the Codex to figure out the parts I'm missing. As you know, I'm not a total noob (I just taught myself PHP in an hour, after all) - I don't need absolute basics but I do need some kind of foundation upon which I can build, rather than the "let's throw everything in together and let them work it out" approach the Codex frequently favours. I'll have another search a bit later, I think, and see if I can turn up anything useful (that doesn't require buying nonsense ebooks!). Edited May 23, 2012 by SpikeTheLobster Quote Link to comment Share on other sites More sharing options...
JHTech100 Posted May 24, 2012 Share Posted May 24, 2012 I, honestly, have yet to completely understand WordPress's code completely. It switched me to PyroCMS so that I could actually understand and theme it. But on topic: You will need quite good PHP knowledge to even begin to comprehend the WordPress source code. It's pretty wild. Quote Link to comment Share on other sites More sharing options...
SpikeTheLobster Posted May 24, 2012 Author Share Posted May 24, 2012 Not the source code - the stuff that's designed to be written and added to (themes, custom fields, taxonomies and so on). I don't want to understand the source code... that would be going a bit too far!! Quote Link to comment Share on other sites More sharing options...
JHTech100 Posted May 24, 2012 Share Posted May 24, 2012 I got that, but I feel it is similarly difficult... Quote Link to comment Share on other sites More sharing options...
bryce12 Posted May 27, 2012 Share Posted May 27, 2012 I think you will have a better luck if you search for what exactly you want to do. For instance, few years back I wanted to create my own Wordpress themes so I searched for Wordpress Theme tutorials and found some good sites that explained theme creation in detail. The WP Codex is more like a reference so unless you are somewhat familiar with the code and its structure, you won't be able to do much with it. Quote Link to comment Share on other sites More sharing options...
SpikeTheLobster Posted May 27, 2012 Author Share Posted May 27, 2012 (edited) I think you will have a better luck if you search for what exactly you want to do. For instance, few years back I wanted to create my own Wordpress themes so I searched for Wordpress Theme tutorials and found some good sites that explained theme creation in detail. The problem is that no one's done what I want to do (or if they have, they're selling it, not giving it away in a tutorial). The theme creation "tutorials" I've found so far have all gone only one step of the way: creating a generic theme. This is all very fine and good but it doesn't help with anything more than the very basic stuff, which I can figure out on my own, anyway. I'm still looking, of course, and if you have any good tutorial URLs I'd love to see them. Edited May 27, 2012 by SpikeTheLobster Quote Link to comment Share on other sites More sharing options...
Victor Leigh Posted May 28, 2012 Share Posted May 28, 2012 I think I am going to join in this study so that I can benefit from any tips given here. Who knows I might even be able to learn something that I can share. Up to this point, though, I never had the urge to modify any Wordpress theme. Quote Link to comment Share on other sites More sharing options...
__Darknite Posted May 28, 2012 Share Posted May 28, 2012 The problem is that no one's done what I want to do (or if they have, they're selling it, not giving it away in a tutorial). The theme creation "tutorials" I've found so far have all gone only one step of the way: creating a generic theme. This is all very fine and good but it doesn't help with anything more than the very basic stuff, which I can figure out on my own, anyway. I'm still looking, of course, and if you have any good tutorial URLs I'd love to see them. Hi SpikeTheLobster, Can you give an overview of what you are trying to implement? Cheers, Quote Link to comment Share on other sites More sharing options...
SpikeTheLobster Posted May 28, 2012 Author Share Posted May 28, 2012 (edited) Can you give an overview of what you are trying to implement? Not without giving away the site idea, no. The essentials are covered in the question: custom fields, post types, creating/using taxonomies, custom forms, variables on user profiles (so I can calculate stuff like payments, account balances, etc.) and that kind of thing. Edited May 28, 2012 by SpikeTheLobster Quote Link to comment Share on other sites More sharing options...
__Darknite Posted May 28, 2012 Share Posted May 28, 2012 Hmm, Sounds like CRM? what about sugarCRM? SugarCRM (open source and free?) Quote Link to comment Share on other sites More sharing options...
SpikeTheLobster Posted May 29, 2012 Author Share Posted May 29, 2012 It's not CRM. There is no package that does what I want. That's the point. Quote Link to comment Share on other sites More sharing options...
Mansi30 Posted May 27, 2019 Share Posted May 27, 2019 On 5/23/2012 at 9:43 PM, SpikeTheLobster said: The WP Codex is rather tough going, since it assumes a fair knowledge of several things - PHP, the way WP is built and so on. It's sort of like reading the dictionary to find a word definition - a great idea if you have the time, since you'll pick up a ton of other information, but not really something you want to do as soon as you've learned the language. It's also very hard to "work through", since it lacks any proper learning structure. For example, I dived into the themes section (which is immediately after the total noob section about installing plugins and stuff) and got lost in minutes, because there's no real "basics" introduction to cover the essentials. It goes from "Click the install button" level to "WordPress can load different Templates for different query types. There are two ways to do this: as part of the built-in Template Hierarchy, and through the use of Conditional Tags within The Loop of a template file." - that's a pretty big jump. I'm ideally looking for something between the two. Perhaps a "this is how I built a theme, step by step" sort of thing so I could see by example, then use the Codex to figure out the parts I'm missing. As you know, I'm not a total noob (I just taught myself PHP in an hour, after all) - I don't need absolute basics but I do need some kind of foundation upon which I can build, rather than the "let's throw everything in together and let them work it out" approach the Codex frequently favours. I'll have another search a bit later, I think, and see if I can turn up anything useful (that doesn't require buying nonsense ebooks!). You have given an answer It would be helpful to me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.