Latest posts

WordPress.com Stats and Jetpack Plugins and WordPress Page Navigation

W

I never did get to the bottom of the issue I was having with the Jetpack plugin and page navigation in WordPress. So, it seemed I would either have to do without site statistics provided by the Jetpack plugin or this site would have to forego page navigation.

I’ve been using site statistics provided WordPress.com for some time. The popular posts widgets in the sidebar and on single post pages rely on these statistics to display this site’s most viewed posts and pages.

(more…)

Entering File and Folder Paths on the macOS Command Line

E

The one thing that trips me up time and again when using the command line in Terminal or other terminal emulator is being able to navigate the directory structure and target files or folders. After struggling getting the correct file or folder path I’m usually greeted with No such file or directory reminding me that the command line doesn’t like spaces in file and folder paths.

With that in mind here are a few ways to enter file and folder paths on the command line.

(more…)

Displaying Statistics from WordPress.com Stats

D

I recently had a problem with the WordPress.com Stats plugin I use. On reading the documentation for an answer I saw that, on an unrelated note, it’s possible to retrieve statistics, such as post view counts, using the WordPress.com Stats API.

I never did find an answer to my problem and it since appears to have rectified itself, but I thought I’d have a go at getting view counts for my posts using the API and including them on my blog.

(more…)

Expandable Sidebar Lists in WordPress

E

A few people have been asking about the expandable lists I have in the sidebar, so I thought I’d share how I did this. The effect is actually quite easy to achieve and uses some simple JavaScript to change the CSS display property of the element containing the list. However, there are a few things to note.

(more…)

Accessing localhost and Virtual Hosts Across a Local Network

A

I have several computers on my local network each with a local server environment provided by XAMPP. As it stands, the local server on each computer can only serve pages stored on that machine. This means that if I have a local site on computer A that I wish to access on computer B I have to replicate that site’s entire folder structure on computer B and on all other computers I want to access the site from.

No big deal really as I currently use ChronoSync to synchronise my site’s folder structure across computers. However, it is possible to have any computer on a local network serve pages that are stored on another computer on that same network. Here’s how.

(more…)

Recent Comments

Recent Posts