Using Backlight 3 JSON API from PHP, take 2

This is an update to my original post. It improves on error handling and has some other cosmetic changes. One of the new features of Backlight 3 is a JSON API. It is a standard REST API interface and is very easy to use. The documentation shows all the endpoints and provides even a JavaScript […]

Common WordPress End-of-Post Content

I like to have a common element at the end of all my blog posts, but before the comments section. Sometimes this is to highlight upcoming shows, other times it is a special sales discount, a cool tagline, or like here on the lab blog, the Buy me a coffee block. There are many WordPress […]

Customizing Language Selector

Backlight supports multiple languages which can be selected by clicking on the globe button in the top pallet. Although my site is only in english, I prefer language labels instead of a globe icon when browsing sites. Here I’ll show you how you can add this to your site. Doesn’t this look prettier? Changing the […]

Using dark-themed Google Recaptcha V2

To me, it is very annoying to have the bright Google Recaptcha V2 check on a dark background. With Backlight 3, I could move to Recaptcha V3 which doesn’t need human interaction, but with Backlight 2, this option is not available. Unfortunately, Backlight’s Designer doesn’t provide an option to select between light and dark themed […]

Using Backlight 3 JSON API from PHP

One of the new features of Backlight 3 is a JSON API. It is a standard REST API interface and is very easy to use. The documentation shows all the endpoints and provides even a JavaScript and a jQuery library. How cool is that? If you want to use it with PHP, I have a […]

Adding keyboard support to single image pages

I love the single image page view since it supports customizations using phplugins. Unfortunately, navigation requires a mouse or a touchpad. But there is a fix for that! With some php and javascript magic, support for simple keyboard navigation can be added: Left key: previous image Right key: next image Escape key: go back to […]

Customizing search results

As many things with Backlight 2, the search page can be customized using CSS and phplugins. In this example, I removed the section headers and matching albums, and added a result count: Interested? Follow along and I show you how to get there! Hiding Album and Photos sections One regular request is to hide the […]

Redirect to https for WordPress

If your site already has an SSL certificate, you have most likely enabled automatic redirect from http to https in the Backlight 2 admin panel: Unfortunately, this redirect doesn’t work for WordPress based pages. But there is an easy fix for that. Just add following few lines at the beginning of your .htaccess file for […]

Page specific PHP code

Phplugins is very powerful as it can be used to customize your Backlight 2 based site to an extend not possible with the Backlight admin interface. Sometimes, it is not desired, that such a customization targets the entire site, but only a single page or a group of pages. In this short post, I show […]

Web Design Consulting

Do you need help designing your web site or getting Backlight working the way you want? Contact me to discuss your idea or project.


Buy me a Coffee

If you like what I share here, please consider buying me a coffee or a print. This helps keeping me motivated to continue posting. Thank you!

Buy Me A Coffee

Categories