Mar
31
2014

Using Git Subtree to Pull Out New Plugins

In the post about my development workflow I didn’t explain why I decided to track the entire website instead of just parts of it. Since I’m not doing any development of the WordPress core itself, the option exists to just track my own plugins and themes by creating a new git repository in their directories. […]

Mar
31
2014

My Development Workflow

After getting my server environment set up I needed to come up with a plan for getting the code off of my live site and on my development box. In addition, I want to be able to track the changes I make so I know what needs to be uploaded back to the server, and so […]

Mar
18
2014

Notepad++ is a Must Have

I haven’t made it to discussing what tool I want to edit code in yet. That’s no excuse for not going ahead and promoting Notepad++ though. Whether you prefer a full integrated development environment (IDE) or a simple text editor you should have Notepad++ on hand. You’ll be editing configuration files from time to time […]

Mar
15
2014

A Web Server for WordPress Development

The first requirement I mentioned in the intro seems obvious enough. I need “a web server that can run PHP and WordPress and has the ability to serve multiple sites so that I can work on multiple projects.” Fortunately, this easy enough to do on Windows 2008 Server by downloading an Apache web server distribution called XAMPP. […]

Feb
23
2014

Code to Add a New Menu Item Type

My latest diversion. The code at this link adds a new meta box on the Appearance>Menu screen. The defaults are Page, Custom, and Category. This particular one adds a divider type. It doesn’t have any code beyond getting the meta box to show. There is a plugin that adds a custom menu item called Dynamic […]

Feb
22
2014

SQL to Pull WordPress Menu Info

I wanted to see how WordPress stored its menus. I assumed there must be a table in the database somewhere but I couldn’t find it. Turns out that’s because menu items are stored as posts with a ‘nav_menu_item’ post type. In all there where about 4 or 5 tables the information was spread over. I […]

Feb
20
2014

NameCheap Suffers DDOS Attack

Well this explains why page load times went to 30 seconds here earlier. And here I thought maybe I had finally added one too many plugins. Given the scope of the attack (100Gbps and a new technique) it is fairly impressive they dealt with it in 3 hours. The official response from management below. Source: […]

Pages:12»