WP Manifestindependent plugin directory
manifest / developer / body-class-site-info

Body Class Site Info

WordPress plugin, which adds the current home or site URL as well as the site ID (if multisite) to the body class. A very simple way to distinguish between eg. your development and your live site.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ginsterbusch/body-class-site-info/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

dds the current home or site URL as well as the site ID (if multisite) to the body class. A very simple way to distinguish between eg. your development and your live site.

Description

Adds the current home or site URL as well as the site ID (if multisite) to the body class. A very simple way to distinguish between eg. your development and your live site. For the very same reasion, the protocol is added as part of the site URL (if available), too.

Installation

Download, install, active. Done!