-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
executable file
·269 lines (172 loc) · 10.6 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
=== Unique Headers ===
Contributors: ryanhellyer
Tags: custom-header, header, headers, images, page, post, plugin, image, images, categories, gallery, media, header-image, header-images, taxonomy, tag, category, posts, pages, taxonomies, post, page, unique, custom
Donate link: https://geek.hellyer.kiwi/donate/
Requires at least: 4.3
Tested up to: 6.4
Stable tag: 1.9.3
Adds the ability to use unique custom header images on individual pages, posts or categories or tags.
== Description ==
= Features =
The <a href="https://geek.hellyer.kiwi/products/unique-headers/">Unique Headers Plugin</a> adds a custom header image box to the post/page edit screen. You can use this to upload a unique header image for that post, or use another image from your WordPress media library. When you view that page on the front-end of your site, the default header image for your site will be replaced by the unique header you selected.
This functionality also works with categories and tags.
= Requirements =
You must use a theme which utilizes the built-in custom header functionality of WordPress. If your theme implement it's own header functionality, then this plugin will not work with it.
= Paid WordPress development =
If you would like to pay for assistance, additional features to be added to the plugin or are just looking for general WordPress development services, please contact me via <a href="https://ryan.hellyer.kiwi/contact/">my contact form</a>.
== Installation ==
After you've downloaded and extracted the files:
1. Upload the complete 'unique-headers' folder to the '/wp-content/plugins/' directory OR install via the plugin installer
2. Activate the plugin through the 'Plugins' menu in WordPress
4. And yer done!
Now you will see a new custom header image uploader whilst editing posts, pages, tags or categories on your site.
Visit the <a href="https://geek.hellyer.kiwi/products/unique-headers/">Unique Headers Plugin</a> for more information.
== Frequently Asked Questions ==
= I upgraded to WordPress 4.4 and the taxonomy meta plugin broke. What should I do? =
Older versions of WordPress required the taxonomy meta data plugin to add support for categories and tags. However, that functionality was rolled into the core of WordPress 4.4 and the old plugin stopped working with no upgrade path. You can simply delete the plugin, and your site will behave as normal, but the old header images for categories and tags will be missing. To work around this problem, please <a href="https://wordpress.org/support/topic/wordpress-44-fatal-error?replies=9#post-7762404">follow the instructions in this helpful support thread</a> for that plugin. Please note that I am not connected with the taxonomy meta data plugin and can not provide any assistance with it.
= I set a category header image, but why are my individual posts not showing that header image? =
Setting a category (or other taxonomy) header image, only causes that header image to show on the category page itself. It does not make the header image show on the single posts of that category.
To add this functionality, please install the <a href="https://geek.hellyer.kiwi/plugins/unique-headers-single-posts/">Unique Headers single posts extension plugin</a>.
= Your plugin doesn't work =
Actually, it does work ;) The problem is likely with your theme. Some themes have "custom headers", but don't use the built-in WordPress custom header system and will not work with the Unique Headers plugin because of this. It is not possible to predict how other custom header systems work, and so those can not be supported by this plugin. To test if this is the problem, simply switch to one of the default themes which come with WordPress and see if the plugin works with those, if it does, then your theme is at fault.
= My theme doesn't work with your plugin, how do I fix it? =
This is a complex question and not something I can teach in a short FAQ. I recommend hiring a professional WordPress developer for assistance, or asking the developer of your theme to add support for the built-in WordPress custom header system.
= Does it work with custom post-types? =
Yes, as of version 1.5, support for publicly viewable custom post-types was added by default.
= Does it work with taxonomies? =
Yes, as of version 1.5 of the Unique Headers plugin and version 4.4 of WordPress, support for all publicly viewable custom taxonomies was added by default.
= Where's the plugin settings page? =
There isn't one.
= Other plugins work out the width and height of the header and serve the correct sized header. Why doesn't your plugin do that? =
I prefer to allow you to set the width and height yourself by opening a correct sized image. This allows you to provide over-resolution images to cater for "retina screen" and zoomed in users. Plus, it allows you to control the compression and image quality yourself. Neither route is better in my opinion. If you require this functionality, please let me know though, as if most people prefer the other route, then I may change how the plugin works. I suspect most people won't care either way though.
= Does it work in older versions of WordPress? =
Mostly, but I only actively support the latest version of WordPress. Support for older versions is purely by accident. Versions prior to 4.4 will definitely not work with categories and tags.
= I need custom functionality. Can we pay you to build it for us? =
Yes. Just send me a message via <a href="https://ryan.hellyer.kiwi/contact/">my contact form</a> with precise information about what you require.
== Screenshots ==
1. The new meta box as added to the posts/pages screen
2. The custom header image uploader for adding new header images
3. The new meta box for categories and tags.
== Changelog ==
= 1.9.3 =
* Fixed a bug in the DotOrg_Plugin_Review() class. The switch to === broke the no debug check, so this has been fixed.
= 1.9.2 =
* Fixed a bug in the nonce system for taxonomy terms.
= 1.9.1 =
* Temporarily preventing the DotOrg_Plugin_Review() class from loading due to a bug report relating to it. It will be re-added later.
= 1.9 =
* Updated WordPress coding standards support
= 1.8.3 =
* Confirmed support for newer WordPress versions
* Added Composer support
= 1.8.2 =
* Bug fix for when array value doesn't exist
= 1.8.1 =
* Bug fix for offset value error
= 1.8 =
* Bug fix for "WP_Scripts::localize was called" notice
= 1.7.12 =
* Bug fix for when no object set in Unique_Headers_Taxonomy_Header_Images::modify_header_image_data()
= 1.7.11 =
* Version bump to force dot org update
= 1.7.10 =
* Correctly checking for presence of object before setting width and height
= 1.7.9 =
* Checking for presence of object before setting width and height
= 1.7.8 =
* Fixing filter bug
= 1.7.7 =
* Fixing filter bug
= 1.7.6 =
* Fixing bug in taxonomy setup
= 1.7.5 =
* Fixing bug in taxonomy setup
= 1.7.4 =
* Fixing bug in taxonomy setup
= 1.7.3 =
* Bug fix for srcset with taxonomies
* Changed to class autoloader
* Moved instantiation class to it's own file
* Added extendible core class
= 1.7.2 =
* Bug fix for custom taxonomies
= 1.7.1 =
* Bug fix to make srcset work correctly on regular header images
= 1.7 =
* Added support for srcset.
* Confirmed support for TwentySixteen theme.
= 1.6.1 =
* Added checks in file to see if WordPress is loaded.
* Hooking class instantiation in later, due to taxonomies sometimes not being loaded in time.
= 1.6 =
* Removed admin notice from everywhere but the plugins page.
= 1.5.3 =
* Fixing flawed bug fix from version 1.5.2.
= 1.5.2 =
* Fixing bug reported by multiple users, which caused PHP errors on some setups.
= 1.5.1 =
* Overhauled outdated FAQ section of readme.
= 1.5 =
* Introduced unlimited taxonomy support.
* When using a blog page set to a static page URL, the image from the static pages custom header will be used.
* Adding support for all publicly viewable post-types.
* Adding support for all publicly viewable taxonomies.
= 1.4.8 =
* Fixing a bug triggered by WordPress assigning non-URL's as the URL.
= 1.4.7
* Setting a more sane plugin review time.
= 1.4.6 =
* Fixing bug with handling taxonomies. Added plugin review notice back, but without the non-existent MONTH_IN_SECONDS constant.
= 1.4.5 =
* Removing plugin review notice due to unsolvable errors.
= 1.4.4 =
* Adding plugin review class back, with correct time stamp set.
= 1.4.3 =
* Temporarily removing plugin review class until bugs are fixed.
= 1.4.2 =
* Adding a plugin review class.
= 1.4.1 =
* Instantiating the plugin later (allows for adding additional post-types in themes).
= 1.4 =
* Adding backwards compatibility to maintain header images provided by the Taxonomy metadata plugin.
= 1.3.12 =
* Added French language translation.
= 1.3.11 =
* Moved instantiation and localization code into a class.
= 1.3.10 =
* Added Deutsch (German) language translation.
= 1.3.9 =
* Fixing error which caused header images to disappear on upgrading (data was still available just not accessed correctly).
= 1.3.8 =
* Modification translation system to work with changes on WordPress.org.
= 1.3.7 =
* Addition of Spanish translation.
= 1.3.1 =
* Adjustment to match post meta key to other plugins, for compatibilty reasons.
= 1.3 =
* Total rewrite to use custom built in system for media uploads. Also adapted taxonomies to use ID's and added support for extra post-types and taxonomies.
= 1.2 =
* Converted to use the class from the Multiple Featured Images plugin.
= 1.1 =
* Added support for tags.
= 1.0.4 =
* Added support for displaying a category specific image on the single post pages.
= 1.0.3 =
* Correction for $new_url for categories.
= 1.0.2 =
* Bug fix to allow default header to display when no category specified.
= 1.0.1 =
* Bug fixes for post/page thumbnails.
= 1.0 =
* Initial release.
= Credits =
Thanks to the following for help with the development of this plugin:<br />
* <a href="http://www.redactsolutions.co.uk">redactuk - Assistance with debugging.
* <a href="http://www.datamind.co.uk/">crabsallover - Assitance with debugging.
* <a href="http://onmytodd.org">Todd</a> - Assistance with implementing support for tags.
* <a href="http://westoresolutions.com/">Mariano J. Ponce</a> - Spanish translation.
* <a href="http://www.graphicana.de/">Tobias Klotz</a> - Deutsch (German) language translation.
* <a href="http://nakri.co.uk/">Nadia Tokerud</a> - Proof-reading of Norsk Bokmål (Norwegian) translation.
* <a href="http://bjornjohansen.no/">Bjørn Johansen</a> - Proof-reading of Norwegian Bokmål translation.
* <a href="https://www.facebook.com/kaljam/">Karl Olofsson</a> - Proof-reading of Swedish translation.
* <a href="http://www.jennybeaumont.com/">Jenny Beaumont</a> - French translation.