Page 2 of 2

Creating development WordPress site with XAMPP on Windows

I’m using XAMPP on Windows. While it’s great, it doesn’t help me to create a development WordPress site quickly (like domain.dev). I had to do many things manually like adding the virtual host configuration, download WordPress and install. When the number of development sites increases, it takes a lot of time. So, I write a batch script to do the job automatically.

Continue reading → Creating development WordPress site with XAMPP on Windows

SVN best practices for WordPress developers

Although GIT is everywhere, SVN still is the version control for all the themes and plugins hosted on WordPress.org. I’ve been playing with both SVN and GIT together recently when I need to repeat the same tasks again and again. This article is a small log of useful SVN commands when working with WordPress themes or plugins (only plugins actually, because WordPress.org doesn’t allow us to work with the theme repository directly).

Continue reading → SVN best practices for WordPress developers

Installing and using WordPress Coding Standards with auto fixer from command line on Windows

While coding for WordPress (themes or plugins), one of the most important things is the consistent coding standards. The WordPress core team published the WordPress Coding Standards quite a long time ago and if you are using PHPStorm, you can turn on its support for WordPress (not only coding standards but also hooks and many useful things). However, if you’re using another editor/IDE (Sublime Text for example), it’s hard to auto format the code to match WordPress rules. Is there a way to automatically fix all the PHP files and make them styled beautifully? This article shows you how to install and use a command line tool to check and fix coding standards for all PHP files. As I’m using Windows with XAMPP, the guide focuses on this environment.

Continue reading → Installing and using WordPress Coding Standards with auto fixer from command line on Windows

Top productive keyboard shortcuts for PHPStorm

I’ve been a fan of PHPStorm for several years. Before PHPStorm, I tried many IDEs and editors, including some very popular names like NetBeans, Eclipse or Sublime Text 3 but I chose with PHPStorm for the number of features and support for WordPress. It gets better and better over time. If you’re a Sublime Text user, you might argue that Sublime Text is more lightweight and more productive because of its keyboard shortcuts. I can agree with the “lightweight” term, but not the other. PHPStorm has a very nice list of productive keyboard shortcuts as you can see below.

Continue reading → Top productive keyboard shortcuts for PHPStorm