-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
55 lines (36 loc) · 1.99 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
=== Network Wide Custom Code ===
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.
== Description ==
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)
== Installation ==
1. Upload the plugin files to the `/wp-content/plugins` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. In the network admin, a new menu will be added - `Custom Code` which will take you to plugin's page.
4. You can add your custom code there.
== Frequently Asked Questions ==
**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.
== Screenshots ==
1. Access this page from `Network Dashboard --> Custom Code`
2. Frontend execution with CSS aapplied as border red color & log added by JavaScript.
== Changelog ==
= 1.0 =
* Initial release