Click Tracking with Google Analytics

I had enabled Google Analytics last September but, until recently, kept WordPress Statistics running as well. One reason was its terribly addictive up-to-the-minute stats view, but more importantly WP tracks outbound clicks and GA doesn’t. Until you write some code, that is. Google Analytics can record hyperlink clicks (and all kinds of other stuff) using … Continue reading “Click Tracking with Google Analytics”

Default OpenGraph Image for Jetpack

Jetpack’s “Publicize” feature automatically adds a set of OpenGraph tags to WordPress posts. (You don’t need to connect any publicize channels to get these tags, but you do need to activate the module itself in the Jetpack control panel.) Generally this works quite well, except for one situation: when you publish posts without images. Unfortunately … Continue reading “Default OpenGraph Image for Jetpack”

WordPress Theme on Static Site

Just finished a major redesign of the original Kynosarges website. I might claim its extremely basic old layout was the pinnacle of suave hipster minimalism, except it was actually because I’m clueless about web design. Seeing the pretty weblog here I wanted to have the same look for the static pages on the old website. … Continue reading “WordPress Theme on Static Site”

Sharing Buttons, Take Two

In December 2012 I had removed all social network sharing buttons from my website and weblog, due to lack of use. During these last fourteen months, visitor counts have been growing briskly and referrer activity shows that some people actually occasionally come to this obscure domain from Twitter or Facebook. Part of my decision to … Continue reading “Sharing Buttons, Take Two”

Greatest Hits in 2012/13

Time for some self-indulgence! Back in March 2012 I started posting on Blogger but switched to the far superior WordPress.com within a month, and then to a self-hosted WordPress setup in April 2013. Since I only have WordPress stats from April 2012 onward and didn’t write a year-end review in 2013, I’ll combine both years … Continue reading “Greatest Hits in 2012/13”

Switching Site Search to Google

My site search had been powered by DuckDuckGo over the last year, and this weblog had been using the WordPress search widget since I started self-hosting in April. Today I’ve changed both to Google Search, so as to deliver better search results to my visitors. I still recommend DuckDuckGo for general use, and keep it … Continue reading “Switching Site Search to Google”

Switching to Google Analytics

For years I crunched server logs with WebLog Expert to obtain visitor statistics for my website. During the last four months I also ran my own Referrer Filter to cut down on referrer spam. It was laborious but I thought I was getting a pretty accurate picture of human visitors, without the kind of intrusive … Continue reading “Switching to Google Analytics”

Cleaning WordPress Databases

WordPress is a fine blogging software but the standard package lacks a disturbing number of basic features, even including Akismet and Jetpack. Yesterday I discovered that WordPress, which automatically saves post revisions for every edit and preview, never ever deletes them! Not only does WordPress not delete old revisions automatically, it does not even offer … Continue reading “Cleaning WordPress Databases”

Resizable HTML Scroll Boxes

CSS offers two ways to shrink wide elements so that they fit a narrower browser window: The white-space property whose default value of normal breaks long text lines at spaces, as in a word processor. The overflow property (also available as overflow-x and overflow-y) that can be set to auto or scroll to put wide … Continue reading “Resizable HTML Scroll Boxes”

Eternal Sunshine of the Spamless Blog

About eight months after I opened this weblog, spam comments were approaching 100 per day. The very reliable Akismet caught most of them, but checking the rising flood for false positives was getting tiresome. Requiring commenters’ names and e-mail addresses is useless because spammers automatically generate those anyway. Short of shutting down comments entirely, the … Continue reading “Eternal Sunshine of the Spamless Blog”