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.
by Fabian Wolf · github.com/ginsterbusch/body-class-site-info · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ginsterbusch/body-class-site-info/archive/refs/heads/master.zipDeclares an update source (https://github.com/ginsterbusch/body-class-site-info), so updates arrive through the plugin's own updater.
Readme
=== Body Class Site Info === Contributors: usability.idealist Tags: body class, site, url, developer, body_class Donate link: http://paypal.me/FabianWolf Requires at least: 3.0 Tested up to: 4.4 Stable tag: trunk License: GNU GPL v2 License URI: http://www.gnu.org/licenses/gpl-2.0.txt
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!