Headless Wordpress/Drupal is galloping into view with Sleepy Hollow references tagging along for the ride

wordpress-logo-stacked-rgb.pngHeadless Wordpress is becoming a thing, now that Wordpress 4.4 has been released and has some core support for a REST API. The Drupal world has seen Headless Drupal work for a couple years now, and the Wordpress community has seen the light as well. The advantages of decoupling the website rendering from content management are many, the biggest perhaps being the rapidly changing best practices landscape for delivering content to the display device.

How to back up your Raspberry Pi SD card, or copy it to another (larger?) Raspberry Pi SD card

SD Cards aren't exactly the most reliable of data storage devices. What happens if you've put hundreds of hours of work into a Raspberry Pi system, it's all on your SD Card, and the card craps out. Have you saved your work? Or maybe you need to move to a larger SD Card because you've run out of space. Or maybe you want to duplicate the card to have additional systems. These tasks are pretty easy, but not intuitively obvious. It'll take some time at the command line, but fortunately the commands are easy.

Detect website visitors running ad blockers, gently remind them your livelihood is impacted

wordpress-logo-stacked-rgb.pngThe adblockocalypse was supposed to make it impossible for website owners to make a living, because everyone is going to run ad blockers and we'd get no advertising revenue. Those of us who write on our websites have for years lived under the belief/hope that running advertising would give us a livable income letting us get on with the business of writing.

Hell Bent from Gallifrey straight to Big Finish - Maisie/Jenna as Me/Clara from now til the end of time

p039ph43.jpgWhatever else we make of the Doctor Who Season 9 finale, one thing is clear: Maisie Williams and Jenna Coleman have a long career ahead of them playing immortals "Me" and Clara, traveling the universe in their own TARDIS. That's how the episode ended, eh? Clara insisting on a return to Gallifrey to finish things, but to take the long way around.

Revisiting software development on Chromebooks - rapidly improving state of Chrome apps for developers

Chromebooks make surprisingly great laptops for software developers. If you don't know much about the Chromebook model, you might dismiss it as just a web-browser with delusions of grandeur. I'm a long-time software developer, writing code for a living since the mid-80's primarily on Unix/Linux/MacOSX systems, and I've pretty much abandoned my MacBookPro in favor of a Chromebook. The Chromebook is much faster than the MacBook (primarily due to the SSD drive), and lots lots lots cheaper to buy/own than any MacBook or MacBookPro.

Drupal Book node hierarchy went missing, necessitating database patching and a couple scripts to help

Twice now I've had the Book hierarchy on a Drupal 6 site go bonkers. The first time was on this very site, back in 2009, while this site was being converted from Drupal 5 to Drupal 6 (it's now on Drupal 7). The /book page simply became empty, and I managed to fix the book hierarchy with some database twiddling. That was over six years ago and I'd since converted this site to Drupal 7. I have another site still running Drupal 6, and the same problem (empty /book page) just happened on that site.

Ensuring your Wordpress filter affects text generated by a shortcode

wordpress-logo-stacked-rgb.pngSuppose you've developed a Wordpress plugin to expand a shortcode. That's easy enough, the Shortcodes API is straightforward enough and it's pretty simple to do.

Ensuring custom post types show up on Wordpress categories & tags archive pages

wordpress-logo-stacked-rgb.pngThe default behaviors built into Wordpress drive me batty sometimes, because they've made certain assumptions that aren't always right. One of these are that the built-in Categories and Tags taxonomies are somehow special. In particular if you create a custom post type, then associate that post type with either Categories and Tags, the category or tag archive pages won't show posts for your custom post type.

Embed an Amazon aStore on Wordpress with a functional URL that accepts ASIN etc arguments

wordpress-logo-stacked-rgb.pngThrough the Amazon affiliate program you can create what's called an Amazon aStore - which is a functional "store" filled with products you specify from the Amazon website, that then earn you affiliate commissions. You curate the products shown on your store, and presumably that'll be what makes your store more valuable is the effort you take to select appropriate products for your audience.

New Wordpress plugin: External links nofollow, open in new tab, favicon

wordpress-logo-stacked-rgb.pngI've just release my first Wordpress plugin - External links nofollow, open in new tab, favicon. It was an interesting process getting to this point.

Pages

Subscribe to Front page feed