20 posts
bojs says

I’m a senior frontend developer and designer. And I kind of do some backend stuff here and there, more like a copy-paste thing then actually programming :)

Lately, I started doing some basic PHP. I never learned PHP before, as I’m a frontend mostly, but lately I realized how much more I can do with Wordpress if I learn at least a little PHP. I realized I can do full custom Wordpress themes by myself with a basic PHP knowledge.

So I learned what are loops, variables, functions, arrays, and some similar pretty basic stuff. And I now use some of those when needed while doing my Wordpress work.

Now, I’m not into learning PHP to a very pro level. That would be too much for me right know, cause I definitelly don’t have time to go too much into it. But I want to learn it enough so that I can confortably use it with Wordpress codex, and resolve some basic everyday Wordpress requests.

I want to learn PHP enough to make some not-so-complexed plugins (I already know how to create some very basic widgets and shortcodes) and to understand PHP used in Wordpress better.

So, besides Wordpress codex, which I already use a lot… what would be the best way to learn PHP for Wordpress use. Currently, I don’t want to lose time learning PHP that is, in most cases, not used in Wordpress. I want to learn PHP the Wordpress way, because I use Wordpress for 99% of my projects, and that is where I will use PHP stuff.

So does this make sense, somehow learning PHP only for Wordpress and understanding what I should learn there and what not… or should I just continue learning PHP by itself, outside of Wordpress, and then later on, when I get enough knowledge of it, incorporate it with my Wordpress work.

Any kind of tips?

1164 posts
  • Has been a beta tester for an Envato feature
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Has referred 1+ members
+6 more
greenline says

I would say that first you should learn the language (PHP) and only after that the PHP&CMS (WordPress)

Personally I don’t know “PHP that is, in most cases, not used in Wordpress.” as you said. Any PHP code can be used in a WordPress theme or maybe in a plugin at a certain moment of time.

53 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Located in United Kingdom
  • Sells items exclusively on Envato Market
+1 more
SubatomicThemes says

I started by looking carefully at the Twenty Fourteen theme (or their earlier themes). Learning and using their code and functions definately helped me a lot. After all, who better to learn from than the people who made WordPress ;)

1 post
  • Has collected 1+ items on Envato Market
asbilly92 says

Bojs,

I had the EXACT same question. Did you ever find out a solution for learning the PHP we need for editing and working on Wordpress? I thought you question was super ;-)

So curious what you think…

Thanks!!!

312 posts
  • Has referred 50+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+3 more
visualkicks says

Open up a free theme in sublime text and get working :) Thats how I started! Also, when I did start I knew almost nothing about html, css, js and php. It will be hard and will take a long time but its worth it.

Just to clarify, it was roughly 2.5 years ago that I decided to learn code. At the moment I’ve sold just over 172k worth of theme since then, most of which was done this year :)

4 posts
  • Has been part of the Envato Community for over 1 year
  • Has collected 1+ items on Envato Market
Erawkz says

If you take it seriously, like school.. taking notes and such… google Codeacademy, its quite extensive to get the basics down plus its free. Thats where I I get my refresher courses, good to keep the mind sharp ya know? HOpe that helps.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by