-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
179 lines (122 loc) · 5.29 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
=== Hide from Search ===
Contributors: wpscholar
Donate link: https://www.paypal.me/wpscholar
Tags: search engines, WordPress search, hide from search, exclude from search, hidden posts
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.7
Stable tag: 1.1.7
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Hide individual WordPress pages from search engines and/or WordPress searches, such as confirmation and download pages.
== Description ==
The **Hide from Search** plugin allows you to hide individual WordPress pages from search engines and/or WordPress search results.
= Why? =
It isn't uncommon to have pages on your site that are public, but not intended to be found. Take, for example, a download page where people who have signed up for your email newsletter can download your amazing white paper. You don't want just anyone to be able to download your white paper, but the page has to be public because people who sign up for your newsletter aren't going to be logged into your site. You can't have people who perform a search for the title of your whitepaper finding it in search. The solution? Download this plugin and hide your download page from WordPress search as well as search engines!
= How? =
Using this plugin is simple:
1. Install the plugin
2. Activate the plugin
3. Go to a post you want to hide and check the 'Hide from search' checkbox on the bottom right of the screen.
4. Save your changes
= Features =
* Works with custom post types
* No settings page, just a simple, easy-to-use checkbox
* Clean, well written code that won't bog down your site
== Installation ==
= Prerequisites =
If you don't meet the below requirements, I highly recommend you upgrade your WordPress install or move to a web host that supports a more recent version of PHP.
* Requires WordPress version 4.7 or greater
* Requires PHP version 5.6 or greater
= The Easy Way =
1. In your WordPress admin, go to 'Plugins' and then click on 'Add New'.
2. In the search box, type in 'Hide from Search' and hit enter. This plugin should be the first and likely the only result.
3. Click on the 'Install' link.
4. Once installed, click the 'Activate this plugin' link.
= The Hard Way =
1. Download the .zip file containing the plugin.
2. Upload the file into your `/wp-content/plugins/` directory and unzip
3. Find the plugin in the WordPress admin on the 'Plugins' page and click 'Activate'
= Usage Instructions =
Once the plugin is installed and activated, go to a post you want to hide and check the 'Hide from search' checkbox on
the bottom right of the screen and save your changes. Viola! The post has been hidden!
== Screenshots ==
1. Using the plugin is simple, just check the box to hide a page or post.
== Changelog ==
= 1.1.7 =
* General maintenance
= 1.1.6 =
* Version bump to fix automated release process.
= 1.1.5 =
* Fix issue with wp-forge/container package not being compatible with PHP versions older than 8.0
= 1.1.4 =
* Minor maintenance release
= 1.1.3 =
* Fix PHP notice when Yoast SEO is active
* General security updates for dependencies.
= 1.1.2 =
* Fix issue where posts were hidden from users when searching within the WordPress admin area.
= 1.1.1 =
* Bugfix: Function _wp_register_meta_args_whitelist changed to _wp_register_meta_args_allowed_list in WordPress 5.5.
= 1.1 =
* Implemented ability to hide from search engines as well.
= 1.0.2 =
* Tested in WordPress version 5.4
= 1.0.1 =
* Tested in WordPress version 5.3.2
= 1.0.0 =
* Tested in WordPress version 4.7
* Escaped translated strings, for security.
* Converted singleton to static class.
* Updated .pot translation file to include additional plugin information.
= 0.4.3 =
* Tested in WordPress version 4.5.2
= 0.4.2 =
* Tested in WordPress version 4.4.3
= 0.4.1 =
* Tested in WordPress version 4.2.4
= 0.4 =
* Tested in WordPress version 4.0
* Added additional comments to the code
* Tweaked how translations are loaded.
= 0.3 =
* Tested in WordPress version 3.5.1
* Deleted MPRESS_HIDE_FROM_SEARCH_VERSION constant and created a public static variable instead
* Fire class on plugins_loaded action instead of on load.
* Added call to load_plugin_textdomain()
= 0.2 =
* Added MPRESS_HIDE_FROM_SEARCH_VERSION constant
* Made class a true singleton
= 0.1 =
* Initial commit
== Upgrade Notice ==
= 1.1.6 =
* Maintenance release.
= 1.1.5 =
* Fix issue with wp-forge/container package not being compatible with PHP versions older than 8.0
= 1.1.4 =
* Minor maintenance release
= 1.1.3 =
* Bugfix and security release.
= 1.1.2 =
* Fix issue where posts were hidden from users when searching within the WordPress admin area.
= 1.1.1 =
Updated to work with WordPress 5.5.
= 1.1 =
Implemented ability to hide from search engines as well.
= 1.0.2 =
Plugin updated to reflect that is works with WordPress version 5.4.
= 1.0.1 =
Plugin updated to reflect that it works with WordPress version 5.3.2.
= 1.0.0 =
Plugin updated to reflect that it works with WordPress version 4.7. Escaped translated strings for security.
= 0.4.3 =
Plugin updated to reflect that it works with WordPress version 4.5.2
= 0.4.1 =
Plugin updated to reflect that it works with WordPress version 4.2.4
= 0.4 =
Updated plugin structure and how translations are loaded.
= 0.3 =
Made plugin fully translatable and made some minor tweaks to the code.
= 0.2 =
Minor code improvements