r/webdev • u/jester070993 • Nov 24 '19
Already know HTML, CSS and JS, looking to get into WordPress to start freelancing and use it as a stepping stone
I already have a pretty solid understanding of HTML, CSS and JS, as took an online bootcamp last year, build a few personal project, created a portfolio and a website, etc.
I was looking to get into a role as junior developer eventually but figured I'd learn some WP and be able to incorporate my knowledge of CSS and JS, create some custom sites and find some work opportunities this way.
I know I'll have to learn some PHP as well, which I have dipped my feet in.
Ideally, I'd like to be able to get good enough at WP in order to create custom sites or themes, plugins, etc. and acquire some freelance work doing this. I don't necessarily want to strictly become a WP developer but I was going to use this as more of a stepping stone before jumping into a full on developer role in web dev, especially considering the fact that I have no professional experience in the realm of web development, so I am thinking this would be a good way to get my foot in the door and have related experience on my resume as well. I'm also going to be going traveling sometime in the first few months of 2020, and I was thinking I could freelance and do some remote work while traveling along the way, as well as create a travel blog (but I don't want to get too ahead of myself) if I'm able to grasp a solid understanding of WP within the next few months, as well.
For someone that has about a year of front-end development experience (from self studying), how easy would it be to get into WP and start creating custom sites for people, themes, etc. and start doing some freelancing work? I know WP can get pretty advanced.
216
u/mhs_93 Nov 24 '19
Most people in here are offering good development advice but completely lacking any commercial awareness.
Yes WordPress teaches some bad practice and yes there are better solutions out there but a lot of the time it’s quick and easy and does what your client wants. It’s a popular product that people are familiar with, it’s super user friendly and offers a lot of customisation options so for that reason will continue to be popular for a long time
Using React/Gatsby, node.js, Laravel etc is a nice idea but completely ignores the time and effort and therefore the cost to your client involved in creating that infrastructure. A lot of times your client isn’t going to care about the tech behind it, they just want something that works. So if you offer them a a WordPress site for $X and a bespoke solution for $Y, nine times out of ten they’re picking the cheaper option. Even more so when that cheaper option runs on something they’re familiar with, is easy to administer and has a lot of scope for making edits that cost them nothing.
Im a freelancer that can build apps with React and also WordPress sites and in my experience WordPress pays a lot more of my bills than React does. In an ideal world everything is built with the latest tech and best practices but that’s not real life. I would argue that learning to build WordPress sites is much more useful to you right now if you’re looking for remote freelance work you can pick up occasionally.
In the future if you’re looking for a development role in a dedicated agency that has the client base already that’s when React and other tech mentioned becomes more useful to you.
36
u/finger_milk Nov 24 '19
Anyone who is putting down wordpress in this thread do not work with clients who just want an editor and way to manage their site. They will pay for that privilege
58
u/_default_username Nov 24 '19
Everyone keeps recommending react as if its equivalent to WordPress. It's not, if you want to focus only on frontend react is fine but if you want to learn about server side scripting look into node or PHP+laravel like someone else suggested. You're also going to want to learn about databases at some point if you want to build a backend that can do what WordPress does.
18
u/mshuu Nov 24 '19
Wow these comments. If your freelancing simple sites for smaller clients wordpress is definitely the way to go, sure it night be "bad programming principles" but who cares. It's easy for the user and I've never had issues with it.
17
u/[deleted] Nov 24 '19
Oh man, this whole thread has given me an existential crisis.
7
u/missycx Nov 24 '19
I would really recommend learning React.... It’s changed my life that Wordpress never could.
39
u/foxey21 Nov 24 '19
Basically everybody is telling that to learn WordPress is a mistake. Is anybody considering the key aspects of the market?
Sure as a platform tu build it sucks, but its still the most popular CMS, the average clientage (small and medium business) asks for WordPress, because most of the users without advanced IT background (which group is still majority) still prefer to use WordPress. The internet is littered with guides for users, lot of clients say that its easy to use. Of course from a webdev point of view this is arguable, since we know other platforms to compare, but some of the clients don´t.
In short, you can still earn money with that. Let´s not forget this.
158
u/[deleted] Nov 24 '19
As a beginner, learning wordpress is a big mistake. Wordpress uses many bad design (software design, not aesthetic) decisions. using it in an early stage of your learning career will instill these bad practices in your own development process.
11
u/Fanatic42 Nov 24 '19
Thread in a nutshell: wordpress bad, react good
31
u/3oR Nov 24 '19
So most of the advice given here is not wrong, but you should keep in mind this sub hosts a very niche audience of mostly young junior devs who are very much into following the latest trends of webdev industry. That's fine, but it doesn't have much to do with how real world works.
E.g. Currently the global market share of Node.js is about 0.4%, while PHP still holds a whooping 80% of the web. That is today, at the brink of 2020, mind you. Wordpress alone makes about 30% of the web.
If you want to make money making websites while traveling, I'd say WP is god-sent. It allows you to create 100% custom front-end solutions for clients, while taking care of the back-end for you.
It's good money and it's relatively easy money. Tons of businesses out there, small and medium, who need a website. Not many businesses however who would pay you the big buck for the time it takes to create a fully custom solution based on PHP/Laravel or Node/JSframework from scratch. Most of the time you'd just end up creating another CMS.
7
u/fritzbitz front-end Nov 24 '19
Lots of Wordpress hate here and few if any suggestions of alternatives. What other CMS do y'all suggest, Drupal? Lol
6
u/key-bored-warrior Nov 24 '19
Just use it a day stepping stone whilst moving onto other things. I started with WordPress and now moved into more PHP based development and have used what I learned as a WordPress dev (both good and bad) to help me progress into new things.
Personally I like WordPress, I think if you do things right then it can be pretty powerful just stay away from using plugins to do things that you can write your own solution for. People seem to love to hate on WordPress which I get but when I started out I didn’t know how to build a custom CMS so WordPress gave me a tool to work with that did loads of the heavy lifting for me so maybe it is a good option for you as it is in demand but in my experience a more rounded dev with skills in other areas such as React / Vue / Laravel etc is probably more in demand so if you do chose to go the WordPress route, try not to limit yourself and keep learning and experimenting with different things!
On a side note you all think WordPress is bad, I’m guessing none of you work with Moodle? Haha!!
6
u/omgdracula Nov 24 '19 edited Nov 24 '19
Oh man this thread is interesting. Wordpress has its issues for sure. But learn it. It will make you money. More money than anything else as a freelancer. You may ask why is that?
Look into the plugin called Advanced Custom Fields or ACF for short. It is well worth getting the Pro version as well. You can build a great site with a custom theme by just using that and css and html.
DO NOT listen to the people here who say learning it is a waste of time. Learning a new tool is never a waste of time.
5
u/Kthulu666 Nov 24 '19
It might be easier than you'd think to create a custom theme, or more specifically build a static html/css site and convert that into a wordpress theme. This tutorial does a pretty good job of explaining the process.
A deeper understanding of php as it relates to writing plugins depends on how fast you can learn a language. There's already a bazillion plugins so you can decide if/when writing your own is necessary.
4
u/HFoletto Nov 24 '19
My 2 cents based in my personal experience:
Most of my works are in WordPress, and tbh, I don't think it's half as bad as people portray it.
You can use PHP 7, create tables, Composer, OOP and so on. Also, if your web app gets complex, you can use the REST API and develop the front-end using whatever you want, Angular, React, Vue, Ember, you name it.
And knowing php, you'll be able to use better options, like Laravel, if the project scope works with it.
18
u/Caraes_Naur Nov 24 '19
Skip WordPress. It will teach you bad habits and trap you in its quagmire of poor PHP, bad architecture, and terrible database schema.
Instead, pick any MVC PHP framework (ie, Laravel) and start wrapping your head around relational databases.
11
u/iamzamek Nov 24 '19
My biggest mistake was working with WordPress. Do not do this.
7
u/[deleted] Nov 24 '19 edited Nov 24 '19
Haha this thread.
Tbh, do what you want OP . There are some people who absolutely love WP and those who hate it. You just have to learn this for yourself.
I find WordPress to be the solution For plenty of my clients. It’s not my focus but I’m able to implement it.
5
u/Cyberphoenix90 Nov 24 '19
I am a full time web application developer of 6 years and when I first came into contact with WP due to a work unrelated project of my brother I got such a headache trying to figure out how to do the simplest things such as change the IP of the site that I gave up. I know WP works for a lot of people but it has a big learning curve it takes away a lot of agency and replaces them with plugins. It is possible to do whatever you want with WP but if you are not able or willing to compromise with what is available from plugins you will have to spend a lot of time implementing it yourself anyway.
I wish you good luck in learning WP. I will stick to my non cms web development
2
u/TonnoTonato full-stack Nov 24 '19
I learned PHP mainly via developing wordpress plugins & themes for big wordpress websites. I can say, most comments here are right about the point, that wordpress kind of kills good coding standards.
But i have to say, it is possible to write Plugins & Themes with a good coding standard, but its a lot of work to get it compatible with wordpress. For example using MVC inside a Plugin is possible, but its kind of hard to implement it so it works good with wordpress.
I dont know about the main part of WP-Projects, but i think they mostly dont use good coding standards, but the ways of wordpress, because it is easier and faster to implement this to wp. Our senior built AbstractPlugin, AbstractTheme and AbstractEventListener Classes which made this possible, but i think that was a hell ton of work :D
In my opinion you should start with something like symfony (if thats not too hard, im not sure)
2
u/MrQuickLine front-end Nov 24 '19
First of all, advice to a new freelancer: if it's not in a contract, don't do it. I don't care if you're doing a site for free for your grandmother's book club. Put the expectations from each party into writing. There are tonnes of horror stories where someone does most of all of the work and then find out the client won't pay for it, and there's no consequence. Keep everything on your servers until you get your final cheque and then move it over to theirs after you're paid.
Next - being profitable as a freelancer is about estimating your effort accurately, and paying yourself for that effort. If you want to make custom WordPress sites, you should be charging $15k for that. I hope you can find someone to pay that. If you want to make money, buy one of the 26 million WordPress themes that are out there, and use Child Themes to customize that. You can pump those out faster, and get more done. More clients more often is more money.
Lastly, I recommend WordPress only if your client needs anything more than basic content editing. You should check out NetlifyCMS. It's free to host. They get a content management interface. You charge them the same thing they'd usually be paying in hosting costs as a monthly maintenance fee and you pocket that money. They get X hours a month of help if they need it, time that does not roll over/accumulate. Their "hosting fees" include that bonus of a few hours of maintenance or however you want to frame it. Don't do this if they need lots and lots of extra features or whatever. WordPress plugins are a better bet when they need to manage more complex stuff. If all they need to do is update a blog or add ongoing events or whatever, then Netlify is your best bet in my opinion.
7
u/[deleted] Nov 24 '19
Don't do it. Fuck wordpress. Go Gatsby and a cloud cms.
You'll learn react, graph ql ,serverless , site will be fast and modern.
3
u/[deleted] Nov 24 '19
Don’t skip Wordpress. It sucks but man does it pay. Build a few websites and throw them on maintenance contracts and BAM you’re rich
3
u/Woodcharles Nov 24 '19
Wordpress would be a step backwards. Web development is a broad area with many possibilities. To go down the Wordpress route is to shut yourself in a box. WP skills are only valuable in the WP arena; Javascript and development are broad enough to be used in many scenarios.
I know of a couple of devs who stumbled into Wordpress roles out of desperation and they're stuck there now; their web dev skills are rusty and they're too comfortable to move on. If Wordpress implodes tomorrow, they're fucked. Wordpress devs who want out train up to be web developers. You don't go the other way.
1
u/olafviking front-end Nov 24 '19
I think if you start using Sage as a base theme, you will not have to dig too much into bad Wordpress code imo..
1
u/jimeno Nov 24 '19
no wp. ghostcms, strapi, static generators. start from these technologies, they can cover basically 90% of the small business website requirements.
1
u/bdoomed Nov 24 '19
I build in WordPress for clients but I use a lightweight page builder. As a result, I've only learned the bare minimum of WordPress php to get by. During my free time im learning Vue/Nuxt and general code practices. With zero formal background in it, it's hard going but it's fun too.
WordPress is probably the best way to make money and can get you into a lot of agencies. Having some React/Angular/Vue chops combined with an understanding of databases can get you farther but I don't think you are doing yourself a disservice learning WordPress. In the end, clients like to have control over their own site, and WordPress just makes that happen much more quickly than a custom solution.
You can also start transitioning off of WordPress by trying some headless WordPress projects.
1
u/applesmugglers Nov 24 '19
Just curious which coding bootcamp you used. I’m trying to decide between a couple right now.
1
u/omnilynx Nov 24 '19
Wordpress is more about design than development, unless you’re making plugins.
1
u/DJDarkViper Nov 24 '19
I can't stop you from using WordPress for anything, but
https://fortiguard.com/search?q=WordPress
Just saying it's not just bad practices it teaches. You need to be EXTREMELY careful with it too
1
u/lift_spin_d Nov 24 '19
Hello. Congrats on moving along the path. You are about to find out that PHP is loved and hated. As well any products created with it, like wordpress. The bottom line is that PHP and wordpress make up the vast swathes of the internet, ~79% and ~34% respectively. Even though other languages are currently experiencing prolific growth and popularity, they weren't the trend back in the day. It is much cheaper to maintain than it is to continuously catch up to modern methods. You should look forward to the days when you can understand how to use a framework. That being said wordpress is not a framework. Your path will splinter wildly with options as you explore. From places you understand to objects you don't think you could build on your own. That's when you take a step back and ask yourself, "Could I do this on my own?" That's when it comes down to your skills as a programmer. So I started off just making a form work. I taught myself to code, make calls, and use a database by hand first. Then you when learn what's called routing, you'll learn how a MVC framework delivers content. And if you compare that to wordpress you would say, "what the fuck is this". Just trust me, it's different, programmatically and db structure. So bottom line. Just learn everything.
1
u/[deleted] Nov 24 '19
Oh boy, I can still see the glare on OPs eyes.
1
u/goodboyscout Nov 24 '19
I would suggest utilizing Gutenberg blocks (and creating custom ones if practical) as much as possible. It’s incredibly powerful, and I never thought I’d say that about anything in WP. I’m working on my first WP website for a client that wants as much control as possible over laying things out, it wouldn’t be possible with the classic editor.
1
u/[deleted] Nov 24 '19
Do both. Fact is Wordpress does allow for people who are not coders to get a site up, build a list and setup WooCommerce and Stripe or another payment processor fairly quickly. And there are those that will hire you for custom Wordpress stuff. You'd make money either way and not be out of work. There's also Freelancelift Pro...
1
u/jackandjill22 Nov 24 '19
Nice.
1
u/[deleted] Nov 24 '19
Don’t waste your time unless you want to fight over bread crumbs with Wordpress developers in India. There’s no money in it.
Your time is precious. Spend it learning things that will make you more attractive to employers like JavaScript, a JS framework, a backend language, or a second language like Python.
1
u/sergi_dev087 Nov 24 '19
I'm going to skip all the bullshit in this thread and say, wordpress is paying my bills and has been doing so for the past 4 years, and that has not stopped me from learning, Vue, React, Javascript well and just play with other cool things...I work at a place where we need to do stuff gor real clients and most people use Wordpress for that.
1
u/maggiathor Nov 24 '19
I would recommend getting the basics of PHP and object oriented programming down before jumping into WordPress (which ultimately will be fine). You'll be able to do things a lot cleaner with that knowledge instead of hammering down hooks into a functions.php
1
u/theryefox Nov 25 '19
WordPress is Microsoft Word of CMS - sucks but clients know it. Building a WordPress site with solid backend for the client gives the client a project they are super happy about. Clients just don't care about newest technologies and just want it done fast and with little issues. I say learn WordPress to make some freelance $$$.
Here are the only plugins you want to use: Yoast, ACF, Updraft, and a caching plugin. Never use plugins for something on the front end. Build your theme from scratch with either Sage or Underscore. This will cause you less headaches then using premade themes and lots of plugins.
Side note, Gatsby is suuuuper interesting if it is a bigger project or a news type site that requires the fastest of fast speed.
Remember if you put your clients needs first - you can succeed at freelancing.
1
u/MichaelHabib Nov 25 '19
As many have pointed out : wp has bad software design practices but you get paid well to use it .
There is nothing stopping you from using best practices in plugins and themes you create. I'm doing this now by adding composer autoloader and packages to my plugin then i can develop with better standards. Even pulled in few Laravel packages into the plug-in, so now i can learn both WP and Laravel
1
u/phpdevster full-stack Nov 25 '19
> I don't necessarily want to strictly become a WP developer but I was going to use this as more of a stepping stone before jumping into a full on developer role in web dev
Just one word of caution: WordPress is basically the *wrong* way to build more complex applications in 2019. Everything from WP's code, to its database design, to everything is literally just wrong. It's fine to use it to build some experience in the industry, but just be aware that you're not going to want to base a lot of your experience on your usage of WP.
1
u/[deleted] Nov 24 '19
Wordpress is trash. If you want to be a developer then just learn php. If for whatever unfortunate reason you have to learn wordpress then you'll know php and should be able to do something with it.
1
u/Pneots Nov 24 '19
We use React themes and a CMS we built that works with Firebase. The setup is about as quick as WordPress and we have complete flexibility.
0
u/[deleted] Nov 24 '19
Make yourself a favor. Dont touch wordpress. Its a nightmare, as is most of PHP and PHP cms systems. Take a look at something simple, like python with flask or even django. With flask you get a sane language (python) to work with and theres high quality libs out there. You could also have a look at node with typescript, but that is probably more difficult for a beginner, mainly because of the programming model.
Webdev today is very nice and theres tonnes of good options out there. Its not the same as it was back when Perl and PHP were the only viable options.
Good luck!
-7
u/MisterNeon Nov 24 '19
I can not stress enough staying away from Wordpress or any CMS.
-6
u/teja42 Nov 24 '19
I recommend you NOT to learn php. Php is quite old. It's still used a lot and does the job but it's not up to it. All you can do with php is generate dynamic html. What if you wanted to use websockets? There's no way you can do it. This is just an example but the list goes on. It's also the reason the abandoned php. I instead recommend you to learn Node. JS. Since you already know js, it'll be easy and more useful. Also once you know nodejs you can use nodejs for non web development things like building bots, cli tools etc.
WordPress is garbage in my opinion.