Contributors: navanathbhosale
Donate link: https://www.paypal.me/NavanathBhosale
Tags: multisite, network, wpms, css, js, google analytics, tracking, custom code, network wide custom code
Requires at least: 5.2
Requires PHP: 5.6
Tested up to: 5.9.3
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
This plugin allows to add custom CSS & JS code in the WordPress Multisite network admin which will be enqueued on all sites under the network.
This plugin is for WordPress Multisite setup. It allows to add custom CSS & JS code in the network admin which will be enqueued on all sites under the network. The custom code can be anything like Google analytics, Facebook Pixel or a simple CSS snippet.
It has two simple options:
- Add code in the header (CSS + JavaScript)
- Add code in the footer (CSS + JavaScript)
- Upload the plugin files to the
/wp-content/plugins
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
- In the network admin, a new menu will be added -
Custom Code
which will take you to plugin's page. - You can add your custom code there.
Q. Where this code added on individual sites?
A. The code can be added in the header as well as footer.
Q. Is this plugin works for single site?
A. At the moment, the plugin is made for WordPress Multisite only.
Q. What type of CSS/JS caan be use?
A. It can be any kind of CSS or JavaScript code. The custom code can be anything like Google analytics, Facebook Pixel or a simple CSS/JS snippet.
Q. Any site user can add code?
A. No, only superadmin user can insert custom code over here.
- Access this page from
Network Dashboard --> Custom Code
- Frontend execution with CSS aapplied as border red color & log added by JavaScript.
- Initial release