Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Why not use the WordPress Admin editor feature?

Why wouldn't you use the admin editor feature found under Appearance -> Themes or Appearance -> Plugins? I get that would be "cowboy editing", but shouldn't it be worth mentioning that WordPress has this capability?

1 Answer

Hi James,

That feature is more aimed at a WordPress user in my opinion, so for example someone that is a little knowledgeable about IT might have a web host install WordPress for them(godaddy do this) and then not have the ability to pull down and edit code locally but they can Google something and whip a code snippet in there.

An awful working practice on a live site really but if you made the edit locally, tested it and ran it live when you know all is well then you have cut out the "cowboy coding".

I personally would not edit a plugin file, one major reason is that the moment they edit the plugin and you update your custom code just got flushed down the loo and you have plenty of wok trying to remember why and what you did and how to make it work with they new code.

I hope this is somewhat helpful :)

Craig

Thanks Craig. I do agree. I was mainly wondering why Zac didn't mention that WordPress has this capability.