WordPress

How to add a mega menu to WordPress

Mega Menu

Have you ever wanted to add a mega menu to WordPress? There are plugins that claim to do it, but why use a plugin when you can add just a bit of code. Here is one, pretty simple, solution that works for me.

This code was tested in the default WordPress theme. It can work in any theme, however the instructions may very based on how the theme creator coded the theme.

Archiving tweets for future reference.

archiving tweetsHow many times have you shared something on Twitter and then tried to find that tweet again a week or two later? But you couldn’t. Happens to me all the time.

I share a lot of things on Twitter that I find handy. Good tutorials, new software, Stack Overflow solutions, news & events, and chances are, I’m going to want to reference them again in the future. So that’s why I decided to archive all my tweets.

I’m doing this with WordPress and the Ozh’ Tweet Archiver plugin. The plugin checks Twitter a few times a day and pulls in the latest tweets. I can then use WordPress’ built-in search, or Google, to find previous tweets I’m looking for.

My parents should be so proud of me because I’m addicted to the internet, not drugs.

Addicted to the Internet

Dear Mom and Dad and the D.A.R.E. people,

I listened. I’m not addicted to drugs, instead I’m addicted to the internet.

I’m not wasting all my money on meth and crack and things like that. Though I do spend money on hosting, Flickr Pro, online backup and Amazon. Not to mention all the apps and music I get from iTunes. But that’s not the point, I’m being good.

I don’t go around, stealing things just to get a fix. Wait, that’s not exactly true. I have been known to “borrow” the internet from the library across the street when mine goes out just to send an email. And I do know where to find free internet if I need it. Again, not the point.

How to update pagination and mass remove WordPress comments

If you’ve ever gotten a ton of spam comments that went live and are mixed into your site’s good comments, cleaning them up can take time with the default WordPress settings. Here are a few tricks to make that go much faster.

To mass remove comments in WordPress, you just select the check box in the header and then select ‘delete’ or ‘mark as spam’ from the Bulk Actions drop down menu.

Select All On Page Check box

Select All On Page Check box

By default WordPress gives you 20 comments on a page. To increase the number of comments seen on the screen, simply click on the ‘Screen Options’ link at the top and update 20 to 100 or more.

Merge two WordPress blogs into one in three simple steps.

WordPress SparklesHave you ever wanted to combine two, or more, WordPress blogs into one? Well it’s actually quite simple.

Before you start, make sure that WordPress is updated on both blogs. It’s just easiest that way. I’m not sure it makes a difference, but do it anyway.

First: Go to the blog you want to move, log into the admin, and go to Tools -> Export -> Download all Content. This will grab all your posts, comments, tags, menus and custom fields.

Cleaning up the database.

WordPressI never fully realized how bad WordPress’ database gets after a while. Plugins leave all sorts of junk behind and it’s just a huge mess. So I started deleting information. Hopefully I didn’t break anything.

This all started because my site got suspended yesterday for using to many server resources. I thought that was odd as I didn’t have a spike in traffic or any new posts. So I started looking for other possibilities.

When looking though the site I found that my subscribe to comments plugin (the original) was capturing thousands of spam emails. I had over 6000 and I think spammers were just attacking it.

Passwords and backups should be two of the most important features on your site.

Blog SecurityYour website may be amazing, but if it doesn’t have secure passwords, and it’s not being backed-up regularly, it could all disappear tomorrow.

People never realize how important those things are until someone compromises their stuff. Then what are you going to do?

I’ve heard two stories this week about two different developers who got all pissed off and their clients site suffered. Unfortunately neither company had changed passwords when they ended their relationship with the developers and neither had backups. Now they are left in a panic, and what’s left of their site.

Testing out WordPress custom post formats.

WordPressI’ve been waiting for WordPress 3.1 to come out for months now. I was so excited for post formats as I thought that’d make my WordPress blog cool like my Tumblr blog. Turns out, maybe not.

The first thing I forgot was that I’d have to update my theme to make them work. Not only adding the custom function, but also writing the code to figure out if a post was a custom format or not. Then styling those differently as that is the whole point behind custom post formats.

For Best Results, Visit Your Website Every Day

Website HealthHow’s your website doing? Mine is good today, thanks for asking, but it’s not good every day.

If you own your own website, you should visit it every day to ensure its working properly. Better yet, a few time a day.

If you visit your website at least once a day, you can see how it’s doing. Think of it as a quick health checkup.

Once and a while I’ll find some strange issue that just appears out of nowhere. Like when it was giving all visitors a 403, access denied, error the other day. That killed my StumbleUpon traffic.

Using Posterous To Post Photos To My WordPress Blog

WordPress + PosterousI may have found a use for Posterous!

I’m currently testing out using Posterous as a gateway between my phone and my blog.

By tying the two together I can take cool photos with my phone, attach them to an email with some text, send that off to Posterous, they’ll format it, post it and then send it over here to post.

All of this without leaving my phone.

It’s not perfect though. I will have duplicate content on my Posterous site and here, plus adding categories will have to be done later, but it’s a really easy way of creating content without sitting in front of my computer.