Needed to Update the version of WordPress to 4.6. Well technically didn’t need to, but thought it best to. There are two routes to updating:
- Online using ftp to download the updates
- Offline using http GET to download the compressed file to disc and then manually updating at you leisure.
Option 1 seemed good – so gave it a try. Everything start OK then failed with the message ‘Could not create directory’. Slightly worrying as I thought I had full permissions across the WordPress directory. Also a bit annoying that it didn’t say which directory it could not create, however as always Google is your friend. Several web pages on this topic. The one that I found most useful was how-to-solve-wordpress-could-not-create-directory. From the web page about the only issue I could see was that root was the group owner of the directory that owned the WordPress directory. Changed that, retried, and everything went like clockwork. Did have a slight pause for concern when it seemed to be stuck on step six or seven (cannot remember which one), but it was just a case of waiting and letting it run
Updated to 4.7.3. With the ownership problem solved as above the whole process was straightforward. It does pause for a while on step 6 ‘Disabling Maintenance mode…’ which is when it is actually doing the installation, as this is the last step, but wait just a few minutes, then up comes the shiny new 4.7.3 logo.
It has been a while since I visited the Web Site, and even longer since I added to the blog. Reason – I started a new contract in Belfast – Great place btw – but it has meant that my focus has been on getting things together there, as opposed to setting up the web site. However back now.
The first thing I had to do was a refresher course on my Dev env set-up, passwords and state of the whole web site when I had left. Second thing was to register and delete the fifty or so SPAM ‘likes’. They are an annoyance, but that is all. The final thing was decide what my priorities were.
- Improve the blog visuals. Made a couple of small improvements. Need to run through the WordPress templates to get a better layout and text font.
- Bring everything up to date version wise.
- Investigate (and better still solve) the layout problem with the Web pages on certain devices
- Merge my Site with WordPress, including getting WordPress pages on the Quintic site menu and getting the theme for the WordPress pages aligned with the Quintic styles.
First part of the about. Start learning how WordPress sites are organised and work. Am starting with Themes.
WordPress themes are under …/wp-content/themes/<theme_name>. WordPress comes with a small number of standard themes named after the year they were published. (eg twentysixteen).
With each theme directory are two important files:
As you can probably guess, these are the bootstrap files for loading the themes CSS and PHP functions.
Have created my first ‘Theme’. The easiest way to create a Theme is to sub-class from an existing theme, which is what I did. I sub-classed twentysixteen and then set the background of all <p> elements to a very light grey. Worked a treat. The instructions on the WordPress site are great and easy to follow.