Browsing articles from "February, 2014"
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: […]

Feb
19
2014

Of Course There Is a Default Image Plugin

I found the plugin I needed to set a default featured image. I’m finding out just how robust the WordPress ecosystem has become over the years. I haven’t really even looked at it in ages. Maybe one of these days I’ll find something I need that there isn’t a plugin for and be motivated to […]

Feb
18
2014

Site5 Free Themes Are Very Nice

I’m not doing my web hosting with the Site5 company but I did get some themes from them. They are all pretty decent looking themes that work well, a big improvement over most of the free theme sites out there. Check it out: http://www.s5themes.com/themes/