-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
121 lines (77 loc) · 3.73 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
=== Old Post Notice ===
Contributors: medavidallsop
Tags: old, post, notice, old post, old post notice
Stable tag: 1.3.2
Tested up to: 6.6.2
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Display a notice on old posts.
== Description ==
**Simple plugin to display a notice on all posts that are older than a specified number of days.**
It is particularly beneficial for blogs with numerous older posts, as it allows you to alert your visitors that the information may be outdated.
= Features =
- Enable or disable the notice
- Set your own notice text
- Insert the post published/modified date in the notice
- Set how many days old a post needs to be for the notice to display
- Display based on the published or modified date of the post
- Position the notice above or below the post content
- Default styling included
- Color options for the background/text color
- Styling can be disabled to allow styling via custom CSS
- Dashboard page under the posts menu that lists all posts displaying the old post notice
- Dashboard widget that lists a selection of posts displaying the old post notice
= Usage =
After installation you'll find the settings in **Settings > Old Post Notice**, once enabled the notice will appear as per the settings you have applied on old posts.
= Contribute =
Help contribute towards the development of this plugin via the [GitHub repository](https://github.com/medavidallsop/old-post-notice).
You can also help [translate this plugin into your language](https://translate.wordpress.org/projects/wp-plugins/old-post-notice/).
== Screenshots ==
1. Notice
2. Settings
3. Page
4. Widget
== Frequently Asked Questions ==
= Can I see a list of posts displaying the old post notice? =
Yes. Enable the dashboard page and/or widget setting.
= Can I set the colors? =
Yes. Ensure the styling setting is set to default, then use the color settings to choose your colors.
= Can I use my own custom CSS? =
Yes. It is best to set the styling setting to none, then use the `old-post-notice` class to apply your custom CSS rules.
== Installation ==
= Installation =
Please see [this documentation](https://wordpress.org/support/article/managing-plugins/#installing-plugins-1).
= Updates =
Please see [this documentation](https://wordpress.org/documentation/article/manage-plugins/#updating-plugins).
= Minimum Requirements =
* PHP 7.0.0
* WordPress 5.0.0
== Changelog ==
= 1.3.2 - 2024-11-10 =
* Update: Contribute information
= 1.3.1 - 2024-11-04 =
* Remove: Sponsor information
= 1.3.0 - 2024-10-16 =
* Add: Dashboard widget posts setting
* Update: Color variables naming consistency to match option names
* Update: register_setting sanitize callback
= 1.2.1 - 2024-10-09 =
* Add: Days setting max attribute
* Update: Dashboard page configure settings button renamed
* Update: Dashboard widget title changed
* Update: Information in readme.txt
* Update: Nag text
= 1.2.0 - 2024-10-07 =
* Add: Dashboard page under the posts menu that displays all posts that are displaying the old post notice, disabled by default
* Update: Dashboard widget now loads a limited amount of data and includes a link to view all via the dashboard page
* Update: Dashboard widget now loads data via AJAX
* Update: Dashboard widget visibility only to users with edit_posts capability
= 1.1.0 - 2024-10-04 =
* Add: Dashboard widget displaying a selection of posts that are displaying the old post notice, disabled by default
* Update: Public CSS for old post notice is now only enqueued if the old post notice setting is enabled and the styling setting is not none
= 1.0.1 - 2024-10-02 =
* Add: Donate link in readme.txt
* Update: Conditions in uninstall.php
* Update: FAQs in readme.txt
= 1.0.0 - 2024-10-01 =
* New: Initial release