Mechanics Beats Theory
My friend was frustrated on the other end of the phone.
“I just don’t understand how my WordPress (.com) blog can be a website,” she said.
I briefly explained the difference between posts and pages, and the way different themes worked to display information. Throughout my monologue she mumbled sounds of a vague and unconvincing understanding. My brilliance wasn’t cutting through her fog.
“It actually really easy to do. You just don’t know the mechanics of the process,” I concluded.
“You hit it on the head!” she said. “I don’t get what steps to take.”
Something clicked for me in that conversation. My friend helped me understand that many people need practical, concrete examples before they can grasp the systems and information flow that many WordPress developers take for granted.
I look forward to playing with new approaches to teaching people learning and teaching styles.
How to Paste from Microsoft Word
During the “21 Tips From the Organizers” segment at WordCamp Detroit, my buddy Anthony talked about pasting from MS Word the “right way.” Someone I met at the conference asked if I knew how to do this.
Sure do!
The Background
When you copy text from Microsoft Word (or a webpage), the clipboard also grabs hidden formatting instructions. This allows you to bring the formatting along with the text when you paste it.
Sometimes (but not always*) these invisible instructions confuse WordPress’ TinyMCE editor and your post “looks funny.” Yes, that’s the technical term.
When it happens, you the HTML view will show extra markup. If you know HTML it’s frustrating and you can clean it up. If you don’t, it’s just frustrating.
So, how do you prevent this problem?
Option 1. Use the “Paste from Word” tool (easier)
- Copy the text from MS Word.
- If your toolbar appears as one row, you need to click the circled icon to expand the “kitchen sink.”

- Click the “Paste from Word” icon in the second row.

A box will pop up. - Click in the box and paste your text there.

- Click “Insert”
- You’re done.
- Copy the text from MS Word.
- Open a basic text editor like Notepad.
- Past the text into a blank text editor.
- Press Ctrl-A to select all the text in the editor.
- Copy the text again.
- Paste the text into the TinyMCE editor window on your WordPress site.
This method is repeatable, reliable, and strips ALL the formatting from the text to be pasted. It takes longer, and sometimes you want to keep your formatting.
If you’re serious about your writing, you might just want to forgo MS Word and take a look at the Full Screen mode.
*I think this was more likely to happen with MS Word 2003 and older versions of WordPress.
What to do if “WordPress can’t create an .htdocs file on my Mac”
One of the first things I wanted to do when I first got my MacBook was to install WordPress locally to use it as a development sandbox.
Even after following the tutorial at WP Candy I couldn’t get WordPress to work perfectly on the Mac. I uninstalled MAMP and tried using XAMPP, which I had used successfully on my PC. I had the same problem with both. First, you are not alone. (I was prompted to write this post when an EXPERIENCED developer friend had problems configuring WordPress properly on his brand new MacBook Air.)
After several futile Google searches and digging through the forums (http://wordpress.org/support/) I came up with this solution.
Symptoms
- WordPress asks for an FTP password when trying to update a plugin. It wouldn’t take my login password, so I reverted to doing a manual update. It worked, but it’s not what we want.

- If you try to update your permalinks, WordPress chokes while trying tocreate an .htdocs file. It complains about not having permissions to write to the file:

Solution
Here is how I fixed the problem. I used the terminal to do this (I worked as a Unix Sysadmin for several years). (If there is enough feedback I might do a follow-up on doing it using the GUI an a mouse.)
1. Find the directory where the problem lives:
$ cd /Applications/XAMPP/xamppfiles
2. Check the permissions and ownership on the htdocs folder:
$ ls -l
3. Find the username that your Mac knows you as. In my case it’s icet. I’ll use myuser for this example. Change the user and group of the folder. One command will do it; you will probably need to use sudo.
$ whoami
$ sudo chown -R myuser:staff htdocs
We’re getting closer but Apache still can’t write to the htdocs folder. We need to tell XAMPP to run Apache as someone else
5. Change to the directory where the configuration file lives:
$ cd /Applications/XAMPP/xamppfiles/etc/
6. Make a backup of the configuration file, then change permissions of the configuration file so you can edit it:
$ sudo cp httpd.conf httpd.conf.bak
$ sudo chmod 777 httpd.conf
7. Edit the User and Group lines in the httpd.conf file. I use vim because I’m already at the command line. The Mac’s built-in TextEdit application will work too.
$ sudo vi httpd.conf
7.1. Find the User and Group lines
# # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. # User daemon Group daemon
7.2 and change them so it looks like this (replace icet with your username from step 3):
# # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. # # User daemon # Group daemon User myuser Group staff
8. Stop and restart XAMPP
That should do it. You have given Apache the ability to write into the WordPress directory. It has worked fine for me for months.
Don’t do this on a production server! It probably introduces several security holes. Find a qualified server expert.
WordCamp Chicago 2011
I was lucky enough to share the stage with some cool people at WordCamp Chicago in July 2011. The slides from my presentation are available for download at http://maxim650.com/wcchi-2011. If/when the video from the presentation becomes available this will be updated with a link.
The before and after sites from the presentation are also available.
Business on a Budget
It would be great fun to start this post with the phrase, “I’m often asked what tools I use as a web developer, so I decided to write a blog post to answer that.” It would also be an outright lie, so I won’t do that.
Tools have been on my mind the last couple days, largely because my laptop just died. Also, writing this post would be an effective way to get another entry in SolidSmack‘s HP EliteBook Giveaway (you can enter their contest until December 19th, 2010 so click the link).

I have seen that machine, and it is beautiful. With a suggested retail price of $4899 it’s a lot more money than most casual users could ever justify, but the cool factor is through the roof.
Since my focus is helping small businesses manage their websites, I will devote a few (dozen) lines of text to hardware requirements.
The Computer
Nearly any modern computer will do, as long as it has a decent (not dial-up) internet connection. If you can run Windows XP or later (and by later I mean Windows 7, not Vista) and run a decent web browser (Firefox, Chrome, Safari, even Opera, but please stop using Internet Explorer) you can manage your WordPress site. (I don’t have any experience with Macs so I can’t tell you how old one has to be before it’s too slow to be effective.)
Yes, a faster processor and more RAM will improve your Internet “experience” but the latest and greatest hardware isn’t critical unless you plan to edit a lot of photos, audio or video to support your website. If you have to buy one, a solid laptop will run you $500 to $600, but a $350 model will do the job. If you are on a really tight budget, a netbook will work, but they have other limitations.
Input Devices
If you are writing a lot of blog posts (and you should be if you intend to promote your business effectively), you will need to be able to enter information efficiently. That means typing and pointing and clicking.
Mouse
I will be blunt: touchpads suck. (Indignant Mac users may rant in the comments section.) Yes, newer ones let you scroll, but click-and-drag and right-click actions are hard to perform. Sleeves and palms brush them and screw up your typing. You shouldn’t have to concentrate on the mechanics of performing actions, you should just be able to DO them.
If you are working with a laptop or netbook, you must get a real mouse.
Just order plain coffee instead of a latte for four visits and spend the $10 on an optical mouse with retractable cord. It will pay for itself in under an hour (unless you value your time at the U.S. minimum wage from 1987, in which case you should figure about three hours).
Keyboard
If you must take the bargain basement route, keep in mind that a netbook keyboard is smaller than a standard keyboard. It will take a touch typist a while to adapt to the smaller key spacing. Unless you are extremely comfortable with your keyboard or you do 100% of your work in coffee shops, get a keyboard to keep at your workspace.
I have spent enough years at computers that I have become a keyboard snob. (Most laptop keyboards put the delete key in the wrong place). I keep a full-size keyboard in the car, and yes, I do carry it into the library with me. (I’m more concerned with productivity and less worried about looking like a dork.) You don’t need a fancy ergonomic keyboard with buttons to launch email, control speaker volume, or start the espresso maker. Any decent office supply store will have a basic keyboard for $12 to $15.
Spend that extra money on yourself. You’re worth it.
The Monitor
If you think of your computer like a kitchen for concocting blog posts, then the monitor is your counter space. Can you imagine trying to cook a full-blown Thanksgiving dinner in a kitchen where the only counter space is 18 inches between the stove and the refrigerator? It can be done, but it’s not easy and it isn’t fun.
I have friends who do amazing amounts of work on a netbook, but they struggle with it:
WordPress can work with 1024 x 768 resolution in most browsers, but it’s tough. The menus on the left take a lot of space, and the editing box for writing posts is eclipsed by the control boxes on the right. There are workarounds, but the effects can range from mild annoyance to near-defenestration.
Just as adding counter space to your kitchen makes it easier to do more, adding screen space makes it easier to manage your blog.
If I’m a keyboard snob, I’m a monitor elitist.
You might be tempted to jump on the first deal you find for an inexpensive flat-panel LCD monitor. Before you plunk down your plastic, I suggest you check an under-rated specification: vertical resolution. Why? These screen shots show what writing this post would look like on different displays.
Note: Some images were cropped slightly to make up for the Windows menu bar. Also, other browsers (this is another reason to STOP USING INTERNET EXPLORER) leave even less room for your page, even before adding extra bloatware like the Yahoo! or Google toolbars.
Although not quite evil, monitor manufacturers have been doing something not very nice to boost sales: they dumb down displays to make them look like they are good for DVD movies. Yes, movies do fit nicely on them, but they’re less than optimal for creating content.
The reality is that most new widescreen monitors make your display a lot wider, but not much taller. If you can afford it, get a monitor with more vertical resolution. You will spend less time scrolling and more time doing important things.
Conclusion
Your website and blog should work for you, not the other way around. If you don’t live on the computer or edit photos or video for a living, you shouldn’t spend a lot of money on a computer. Sure, toys like HP’s new EliteBook make me drool, but I don’t do high-end CAD these days. A few dollars spent sensibly can help your website work for you without breaking the bank.
Three Tips for WordPress Site Maintenance
As software goes, WordPress is pretty stable and reliable. However, it relies on computers and it runs in a world of people. Things can go wrong. An internet connection could fail during an update, there could be a hardware problem with your server, your site could be hacked, or you could just plain break something while playing with new features (I do this more than I care to admit).
Fortunately, you can improve your security and gain peace of mind. These easy-to-use (and free!) tools and techniques will help.
1. Back Up Your Site
Just as you have an homeowner’s insurance for your house (or renter’s insurance for your apartment), you should have a policy for your website as well. There are two pieces of a WordPress website, and they both need to be backed up: the database and the installation.
The database contains the content (posts, comments, and pages, and information about your site configuration). The installation consists of the WordPress software, themes, uploads (like pictures or mp3 files), and plugins.
A weekly backup is sufficient for many sites, but if you add content often you might want to do it daily. Some large sites with multiple authors and aggressive publishing schedules will back up hourly.
I recommend enabling the email options in the plugins below to give yourself a little extra security. If you don’t want to clutter your inbox, set up a rule or filter to move them into a separate folder. You could also create another email account (gmail is good for this) and direct your backups to that.
Back up the Database
The WP-DB-Backup plugin is a useful tool. In addition to scheduling your database backups, it lets you create a full database backup on demand and download it to your computer. It also lets you decide whether to include additional tables (that other plugins may install).
Back up the Installation
I like the WordPress Backup tool. It lets you schedule backups on an hourly, daily, or weekly basis. It guards your uploads, themes, and plugins by creating separate zip files of each type of content and storing them in a directory on your site. Again, I suggest turning on option to email a backup to yourself. (If you have a lot of images, your uploads backup file can quickly grow too large for email.)
I always back up a client’s database and installation before I start any work. It’s cheap insurance against the little things that can go wrong.
2. Keep WordPress and Plugins Updated
WordPress is great, but it isn’t perfect. There are bugs, developers keep adding features, and hackers come up with new ways to attack your site. Updates fix bugs, patch holes in security, and add new features.
This became easy with newer versions of WordPress. If you have an older version (before WordPress 2.7) it’s more involved (you should call me, I can help).
I could go into a lot of detail about it, but I’m lazy and Wendy Cholbi just wrote about that (with a video!) last week.
3. Hide Your Dust with Maintenance Mode
Sometimes a store will put up a sign that says “Pardon Our Dust” while they are remodeling. Did you know that you can do just that with WordPress?
Adam Warner goes into detail about Maintenance Mode, a great trick that many WordPress users don’t know about. It lets you “hide” your site to visitors while you work on it. I have used the tool successfully (and probably should more often). If you are new to WordPress, that article is worth a look.
What’s the takeaway? You put a lot of time and energy into your website. These tips can help you protect your investment and reputation.
Theme Selection Resource
The people at WP Candy have put together a great tool for helping people find WordPress themes. ThemeFinder lets you do a quick visual search by color, layout, and price (free or paid). You simply select filters from the top of the screen and the tool highlights thumbnails that fit your criteria. Click any link to view a larger version of the them at the author’s site.
It’s not an inclusive list by any stretch, but I think they did a good job focusing on quality. They include work from several theme shops that I didn’t know about. It’s a fun tool, and it’s definitely worth a look.
Theme Selection Presentation at WordCamp Detroit
I presented about picking a WordPress theme at WordCamp Detroit in October 2010. The videos from this finally started hitting the web. You can get the slides from the presentation (with a few enhancements) to click along as you watch the presentation below.
Thanks to the great people at Coefficient Media for recording this.
The Two-Dollar-Bill Problem
Do you remember when the $2 bill was reissued? My grandmother thought they were a big deal. In fact, I still have the one she gave me for my birthday, complete with a postage stamp and cancellation code showing it was one of the first run.
A lot of businesses wondered what to do with it. The drawers in the cash register were designed to hold bills in denominations of $1, $5, $10, and $20. Where would the $2 bill go? For whatever reason, the $2 bill did not become ubiquitous so it was never a problem. Now people just hide them under the tray with the coupons and the Benjamins.
Some WordPress users face a variation of this problem. A friend called me to ask, “I created some subpages on my site, but they don’t show up in the menus at the top. How do I turn that on?”
I replied, “You can’t.” The theme he chose was never coded to support subpages. It doesn’t have the “slots” necessary to display that information from the site database.
There are two ways to fix this.
- Change your theme. Find and install another one that supports multiple levels of menus. Be careful, some only take one or two levels. If you aren’t sure, test it before you commit.
- Modify the existing theme. This requires some coding skills, and few people are equipped to try that. Depending on the theme and what is involved, it could take a couple of hours. If you choose this route, be prepared to pay a pro.
The lesson to be learned: Don’t fall in love with a theme, free or otherwise, before you know whether it will handle a $2 bill.









Do you want my two cents here?
Posted by TJ on August 22, 2010 · Leave a Comment
“It just doesn’t feel right to me,” didn’t seem like an adequate response. I struggled with it for a little while, and here are my thoughts on the subject.
Have you ever noticed the weekly flyer displayed at the front of a Target store? Would you expect to see comments scribbled on the wall below the ad? Imagine the flyer was posted Monday morning, and these comments were posted by 3 PM:
Maybe the plumbing problem is patched within 15 minutes and new stock is scheduled to arrive Tuesday morning, but the comments are stuck there until the next week’s specials can be posted.
I see pages on a website like that flyer. As the website owner, you are well within your rights to delete (or not approve) comments at any time.
For those of us who think too much, this could spark an ethical debate: Should you approve (or delete) bad comments? What if a problem were fixed immediately, or a product or service has been discontinued? Are the comments still relevant? Should you delete them?
I would rather avoid the hassle (and the questions).
Blog posts, on the other hand, provide a natural opportunity for discussion. I think of them more like a conversation with someone at the customer service counter. There is a specific context. You may be glad that a painful discussion fades away and loses impact as new posts are added. The reverse can also happen, where the record can turn into a testimonial for your business.
You will note that comments are disabled on pages on my site. I will happily accept comments below.
Filed under Business Lessons, Communication, WordPress · Tagged with blog, business, comment, strategy