Category Archives: IT & Tech

WordPress – add_editor_style() not adding stylesheets to TinyMCE Editor

Today I had a strange one. I’ve been adding editor styles to my sites using add_editor_style() now for a while, so that editors can see what the posts will look like when they post them. Today when I added in the same code as I always do, the stylesheets just wouldn’t work. Continue reading WordPress – add_editor_style() not adding stylesheets to TinyMCE Editor

WordPress theme – is custom-made or pre-built best for my site?

It’s becoming commonplace that people go to one of the many commercial WordPress theme marketplaces, search through the list for a theme that suits what their business does, purchase that, and use it on their site. In theory, this is great. It lets you get a head-start in functionality as everything you need is “all included” in that theme. But there are also downsides to it. Continue reading WordPress theme – is custom-made or pre-built best for my site?

WordPress gallery only links to image files? Help!

This was a cry for help that I got from a client a short while ago when they wanted to change their galleries to link from the image files to the attachment pages so they could get more content on the site, and offer a bit more functionality than displaying only a standard image could. While it seems to be a  very quick and easy fix, it turned out to be a little more complicated than it should have been.

Continue reading WordPress gallery only links to image files? Help!

Removing duplicate rows in MySQL (the “easy” way…)

I recently had to sort out a database for a client. It was a mess….

The database was for people to contact, sort of like a telemarketing system (their choice, not mine…). The problem that they were having was that the database contained a lot of entries that had people with different names at the same address with the same phone number. As you can imagine, calling the same people over and over again just because their phone number has come up again was not the best way to make friends.

Continue reading Removing duplicate rows in MySQL (the “easy” way…)