-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
187 lines (138 loc) · 7.23 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
=== Custom Login Admin Front-end CSS ===
Contributors: arunbasillal
Donate link: http://millionclues.com/donate/
Tags: css, admin css, login css, frontend css, custom login css, custom admin css, admin, admin interface, multisite
Requires at least: 3.0
Tested up to: 6.3.1
Requires PHP: 5.5
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Loads custom CSS on WordPress Login Pages, Admin and Front-end via admin interface. Works on Multisites as well.
== Description ==
Loads custom CSS on WordPress Login Pages, Admin and Front-end via the admin interface. Can be used with WordPress single install and WordPress multisites.
Custom LAF CSS is very useful on multisite networks. Admins can customize the look and feel of the network and add CSS for the entire network. Adding CSS to the front-end via this plugin is handy when common features need styling and you are not sure which theme the user will be activating.
**Main features:**
* Loads custom CSS on Login, Admin and Front-end pages regardless of the active theme.
* CSS for Login, Admin and Front-end is separately saved and used.
* CSS is beautified and neatly presented in the admin.
* CSS minification.
* Multisite compatible.
* Translation ready.
* Compatible with [Admin CSS MU](https://wordpress.org/plugins/admin-css-mu/) plugin with inbuilt feature to import CSS.
You can add your custom CSS in **WordPress Admin > Appearance > Custom LAF CSS** of your WordPress install or the base site on a WordPress multisite network.
**Upgrading From Admin CSS MU**
Follow these steps if you are upgrading from the [Admin CSS MU](https://wordpress.org/plugins/admin-css-mu/) plugin.
1. Install Custom LAF CSS plugin. Do not delete the Admin CSS MU plugin yet.
2. Go to the plugin page and in the 'Admin CSS' section, check the box that says 'Import and append CSS from Admin CSS MU'.
3. Click 'Save CSS'. Your CSS should be imported now.
4. Deactivate and delete the Admin CSS MU plugin.
== Installation ==
For WordPress single install:
1. Install the plugin through the WordPress admin interface, or upload the folder /custom-login-admin-frontend-css/ to /wp-content/plugins/ using ftp.
2. Activate the plugin via WordPress admin interface.
3. Go to WordPress Admin > Appearance > Custom LAF CSS and add the custom CSS you want.
For Multisite:
1. Install the plugin through the WordPress admin interface, or upload the folder /custom-login-admin-frontend-css/ to /wp-content/plugins/ using ftp.
2. Network activate the plugin via WordPress admin interface.
3. In the base website go to WordPress Admin > Appearance > Custom LAF CSS and add the custom CSS you want.
== Frequently Asked Questions ==
= Some CSS Samples =
To change the size of the h1 tags in WordPress Admin add this to Admin CSS:
`h1 {
font-size: 40px !important;
}`
To change the background color of the Login Page, add this to Login CSS:
`.login {
background: #ECCFFF !important;
}`
= I found this plugin very useful, how can I show my appreciation? =
I am glad to hear that! You can either [make a donation](http://millionclues.com/donate/) or leave a [rating](https://wordpress.org/support/plugin/custom-login-admin-front-end-css-with-multisite-support/reviews/?rate=5#new-post) to support the development of the plugin.
== Screenshots ==
1. Admin Interface in Appearance > Custom LAF CSS
== Changelog ==
= 1.8 =
* Date: 04.October.2023
* Tested with WordPress 6.3.1
* Enhancement: Added compatibility with PHP 8.x
= 1.7 =
* Date: 16.May.2023
* Tested with WordPress 6.2
* Enhancement: Added support for `justify-content`. `align-items`, and `flex-wrap` in CSSTidy.
= 1.6 =
* Date: 9.February.2023
* Tested with WordPress 6.1.1
* Enhancement: Added support for `flex-direction` in CSSTidy.
= 1.5 =
* Date: 19.October.2022
* Tested on WordPress 6.0.3.
* Security Fix: Deleted unwanted files in CSSTidy. Thanks Darius from Patchstack for the heads up.
= 1.4.1 =
* Date: 17.May.2021
* Fixed compatibility issue with Admin CSS MU where redeclaration of Class csstidy caused PHP Fatal error.
= 1.4 =
* Date: 17.May.2021
* Tested on WordPress 5.7.2.
* Updated CSSTidy to v1.7.3.
* Added support for CSS properties grid-gap and grid-template-columns.
* Fix PHP warning: PHP Warning: "continue" targeting switch is equivalent to "break" in class.csstidy.php on line 859
= 1.3.1 =
* Date: 21.September.2017
* Tested on WordPress 4.8.2. Result = Pass
* Minor corrections in the settings page text.
= 1.3 =
* Date: 29.August.2017
* Tested upto WordPress 4.8.1. Result = Pass
* Updated CSSTidy classes to meet PHP 7.x standards. [Thanks](https://stackoverflow.com/a/37100413/8255629)
* New: Added options to enable or disable Login, Admin and Front-end CSS individually.
* New: Added option to minify CSS. CSS is only minified during use and the CSS editor will show the un-minified and more readable version for easy editing.
* New: Added option to import Admin CSS from [Admin CSS MU](https://wordpress.org/plugins/admin-css-mu/). This will help with easy migration from Admin CSS MU to this plugin.
* Fixed: Conflict with [Admin CSS MU](https://wordpress.org/plugins/admin-css-mu/) plugin.
* Code improvements.
= 1.2 =
* Minor bug fixes.
* Tested upto WordPress 4.7.
= 1.01 =
* Added complete multisite compatibility.
= 1.0 =
* First release of the plugin.
== Upgrade Notice ==
= 1.8 =
* Date: 04.October.2023
* Tested with WordPress 6.3.1
* Enhancement: Added compatibility with PHP 8.x
= 1.7 =
* Date: 16.May.2023
* Tested with WordPress 6.2
* Enhancement: Added support for `justify-content`. `align-items`, and `flex-wrap` in CSSTidy.
= 1.6 =
* Date: 9.February.2023
* Tested with WordPress 6.1.1
* Enhancement: Added support for `flex-direction` in CSSTidy.
= 1.5 =
* Date: 19.October.2022
* Tested on WordPress 6.0.3.
* Security Fix: Deleted unwanted files in CSSTidy. Thanks Darius from Patchstack for the heads up.
= 1.4.1 =
* Please upgrade with caution as the CSS validation and sanitization library (CSSTidy) was updated. Take a backup of your existing custom CSS and cross-check after the update to confirm everything works as before.
= 1.4 =
* Please upgrade with caution as the CSS validation and sanitization library (CSSTidy) was updated. Take a backup of your existing custom CSS and cross-check after the update to confirm everything works as before.
= 1.3.1 =
* Date: 21.September.2017
* Tested on WordPress 4.8.2. Result = Pass
* Minor corrections in the settings page text.
= 1.3 =
* Date: 29.August.2017
* Tested upto WordPress 4.8.1. Result = Pass
* Updated CSSTidy classes to meet PHP 7.x standards. [Thanks](https://stackoverflow.com/a/37100413/8255629)
* New: Added options to enable or disable Login, Admin and Front-end CSS individually.
* New: Added option to minify CSS. CSS is only minified during use and the CSS editor will show the un-minified and more readable version for easy editing.
* New: Added option to import Admin CSS from [Admin CSS MU](https://wordpress.org/plugins/admin-css-mu/). This will help with easy migration from Admin CSS MU to this plugin.
* Fixed: Conflict with [Admin CSS MU](https://wordpress.org/plugins/admin-css-mu/) plugin.
* Code improvements.
= 1.2 =
Fixed a minor bug and tested with WordPress 4.7.
= 1.01 =
Added complete multisite compatibility.
= 1.0 =
First release of the plugin.