We have recently had a client come to us and want us to migrate their site from a WordPress.com hosted site to a self-hosted WordPress.org bog with new pages, new functionality and a new style. Normally that’s not too bad, but they were rushed, so we had to do a lot of work before we […]
Category: IT & Tech
Long multi-line strings in JavaScript
The other day I needed to make some dynamic entries into a JavaScript object array. One of the values for these was a block of HTML code that needed to be output. The problem is that the blocks have new line characters in them, and setting them up with standard quotes (single or double) doesn’t […]
Responsive grid columns with CSS Flexbox
Recently I needed to set up a site with columns that were responsive (3 columns in desktop, 2 columns in tablet and one column in mobile), and the desire was to have all of the columns display like a table, so that the background colours would all sit in line without any big gaps. Thanks […]
Help – z-index doesn’t work!
I have had this problem a few times, and I always forget the reason for it, even though it’s relatively simple.
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.
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 […]
Converting Postscript Fonts to Web Fonts
We’ve got problems with old fonts here. The designers want to use them on websites, but thanks to the way that Macs handle older Postscript Type 1 fonts, they are always seen as 0kb files to my PC. That means that they can’t be saved or converted into web fonts.
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. […]
Using @font-face Fonts Cross Domain
On a new project I hit a restriction trying to use some nice font-face web fonts. The client has around 10 different domain names, and all of them point back to one central site. When you visit the main URL, everything is great. When you visit any one of the other URL’s… the fonts don’t […]
Fixing the WordPress menu items limit
WordPress can be a strange beast sometimes. This is one issue that’s haunted it for a long time, and is still around today.