Version Description
- May 6, 2011 - Added internationalization (i18n) based on Patrick Skiebe's suggestion and code. He has provided a German translation. Feel free to send me other languages if you like.
Download this release
Release Info
Developer | planetmike |
Plugin | Ultimate Category Excluder |
Version | 0.7 |
Comparing to | |
See all releases |
Code changes from version 0.6 to 0.7
- languages/UCE-de_DE.mo +0 -0
- languages/UCE-de_DE.po +55 -0
- languages/UCE-en_EN.mo +0 -0
- languages/UCE-en_EN.po +55 -0
- languages/UCE.pot +52 -0
- readme.txt +15 -13
- ultimate-category-excluder.php +14 -10
languages/UCE-de_DE.mo
ADDED
Binary file
|
languages/UCE-de_DE.po
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Ultimate Category Excluder\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-04-18 23:19+0100\n"
|
6 |
+
"PO-Revision-Date: 2011-04-18 23:55+0100\n"
|
7 |
+
"Last-Translator: Patrick Skiebe <patrick@skiebe.eu>\n"
|
8 |
+
"Language-Team: Patrick Skiebe <patrick@skiebe.eu>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _e;__\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"X-Poedit-Language: German\n"
|
15 |
+
"X-Poedit-Country: GERMANY\n"
|
16 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"X-Poedit-SearchPath-0: ..\n"
|
18 |
+
|
19 |
+
#: ../ultimate-category-excluder.php:19
|
20 |
+
#: ../ultimate-category-excluder.php:29
|
21 |
+
msgid "Ultimate Category Excluder Options"
|
22 |
+
msgstr "Ultimate Category Excluder Einstellungen"
|
23 |
+
|
24 |
+
#: ../ultimate-category-excluder.php:19
|
25 |
+
msgid "Category Exclusion"
|
26 |
+
msgstr "Kategorien ausschließen"
|
27 |
+
|
28 |
+
#: ../ultimate-category-excluder.php:31
|
29 |
+
msgid "Use this page to select the categories you wish to exclude and where you would like to exclude them from."
|
30 |
+
msgstr "Auf dieser Seite können Sie Kategorien auswählen, die an bestimmten Stellen Ihrer Seite nicht erscheinen sollen."
|
31 |
+
|
32 |
+
#: ../ultimate-category-excluder.php:36
|
33 |
+
msgid "Category"
|
34 |
+
msgstr "Kategorie"
|
35 |
+
|
36 |
+
#: ../ultimate-category-excluder.php:37
|
37 |
+
msgid "Exclude from Main Page?"
|
38 |
+
msgstr "Von der Hauptseite ausschließen?"
|
39 |
+
|
40 |
+
#: ../ultimate-category-excluder.php:38
|
41 |
+
msgid "Exclude from Feeds?"
|
42 |
+
msgstr "Von Newsfeeds ausschließen?"
|
43 |
+
|
44 |
+
#: ../ultimate-category-excluder.php:39
|
45 |
+
msgid "Exclude from Archives?"
|
46 |
+
msgstr "Von Archivseiten ausschließen?"
|
47 |
+
|
48 |
+
#: ../ultimate-category-excluder.php:61
|
49 |
+
msgid "Update"
|
50 |
+
msgstr "Aktualisieren"
|
51 |
+
|
52 |
+
#: ../ultimate-category-excluder.php:83
|
53 |
+
msgid "Excludes successfully updated"
|
54 |
+
msgstr "Ausgeschlossene Kategorien erfolgreich aktualisiert"
|
55 |
+
|
languages/UCE-en_EN.mo
ADDED
Binary file
|
languages/UCE-en_EN.po
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Ultimate Category Excluder\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-04-18 23:19+0100\n"
|
6 |
+
"PO-Revision-Date: 2011-04-18 23:54+0100\n"
|
7 |
+
"Last-Translator: Michael Clark\n"
|
8 |
+
"Language-Team: Michael Clark\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _e;__\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"X-Poedit-Language: English\n"
|
15 |
+
"X-Poedit-Country: UNITED STATES\n"
|
16 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"X-Poedit-SearchPath-0: ..\n"
|
18 |
+
|
19 |
+
#: ../ultimate-category-excluder.php:19
|
20 |
+
#: ../ultimate-category-excluder.php:29
|
21 |
+
msgid "Ultimate Category Excluder Options"
|
22 |
+
msgstr "Ultimate Category Excluder Options"
|
23 |
+
|
24 |
+
#: ../ultimate-category-excluder.php:19
|
25 |
+
msgid "Category Exclusion"
|
26 |
+
msgstr "Category Exclusion"
|
27 |
+
|
28 |
+
#: ../ultimate-category-excluder.php:31
|
29 |
+
msgid "Use this page to select the categories you wish to exclude and where you would like to exclude them from."
|
30 |
+
msgstr "Use this page to select the categories you wish to exclude and where you would like to exclude them from."
|
31 |
+
|
32 |
+
#: ../ultimate-category-excluder.php:36
|
33 |
+
msgid "Category"
|
34 |
+
msgstr "Category"
|
35 |
+
|
36 |
+
#: ../ultimate-category-excluder.php:37
|
37 |
+
msgid "Exclude from Main Page?"
|
38 |
+
msgstr "Exclude from Main Page?"
|
39 |
+
|
40 |
+
#: ../ultimate-category-excluder.php:38
|
41 |
+
msgid "Exclude from Feeds?"
|
42 |
+
msgstr "Exclude from Feeds?"
|
43 |
+
|
44 |
+
#: ../ultimate-category-excluder.php:39
|
45 |
+
msgid "Exclude from Archives?"
|
46 |
+
msgstr "Exclude from Archives?"
|
47 |
+
|
48 |
+
#: ../ultimate-category-excluder.php:61
|
49 |
+
msgid "Update"
|
50 |
+
msgstr "Update"
|
51 |
+
|
52 |
+
#: ../ultimate-category-excluder.php:83
|
53 |
+
msgid "Excludes successfully updated"
|
54 |
+
msgstr "Excludes successfully updated"
|
55 |
+
|
languages/UCE.pot
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Ultimate Category Excluder\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-04-18 23:19+0100\n"
|
6 |
+
"PO-Revision-Date: 2011-04-18 23:19+0100\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _e;__\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"X-Poedit-SearchPath-0: ..\n"
|
15 |
+
|
16 |
+
#: ../ultimate-category-excluder.php:19
|
17 |
+
#: ../ultimate-category-excluder.php:29
|
18 |
+
msgid "Ultimate Category Excluder Options"
|
19 |
+
msgstr ""
|
20 |
+
|
21 |
+
#: ../ultimate-category-excluder.php:19
|
22 |
+
msgid "Category Exclusion"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: ../ultimate-category-excluder.php:31
|
26 |
+
msgid "Use this page to select the categories you wish to exclude and where you would like to exclude them from."
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: ../ultimate-category-excluder.php:36
|
30 |
+
msgid "Category"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: ../ultimate-category-excluder.php:37
|
34 |
+
msgid "Exclude from Main Page?"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: ../ultimate-category-excluder.php:38
|
38 |
+
msgid "Exclude from Feeds?"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: ../ultimate-category-excluder.php:39
|
42 |
+
msgid "Exclude from Archives?"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: ../ultimate-category-excluder.php:61
|
46 |
+
msgid "Update"
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: ../ultimate-category-excluder.php:83
|
50 |
+
msgid "Excludes successfully updated"
|
51 |
+
msgstr ""
|
52 |
+
|
readme.txt
CHANGED
@@ -1,45 +1,47 @@
|
|
1 |
=== Ultimate Category Excluder ===
|
2 |
Contributors: planetmike
|
3 |
Donate link: http://www.planetmike.com/donations/
|
4 |
-
Tags: category, categories, exclude, visible, hidden, hide
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 0.
|
8 |
|
9 |
Ultimate Category Excluder allows you to quickly and easily exclude categories from your front page, archives, and feeds.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
Ultimate Category Excluder (UCE
|
14 |
-
|
15 |
|
16 |
== Installation ==
|
17 |
|
18 |
1. Download Ultimate Category Excluder.
|
19 |
2. Unzip the ultimate-category-excluder.zip file.
|
20 |
3. Activate the plugin on your plugins page.
|
21 |
-
4. You can edit the options by going under
|
22 |
5. (Optional) I suggest you subscribe to my <a href="http://www.planetmike.com/feed/">RSS feed</a> so you can stay informed about any updates to Ultimate Category Excluder.
|
23 |
|
24 |
== Changelog ==
|
25 |
|
|
|
|
|
|
|
26 |
= 0.6 =
|
27 |
-
* February 24, 2011
|
28 |
|
29 |
= 0.5 =
|
30 |
-
* February 24, 2011
|
31 |
|
32 |
= 0.4 =
|
33 |
-
* October 10, 2009
|
34 |
|
35 |
= 0.3 =
|
36 |
-
* June 20, 2009
|
37 |
|
38 |
= 0.21 Beta =
|
39 |
-
* January 10, 2008
|
40 |
|
41 |
= 0.2 Beta =
|
42 |
-
* December 13, 2007
|
43 |
|
44 |
= 0.1 Beta =
|
45 |
-
* February 14, 2007
|
1 |
=== Ultimate Category Excluder ===
|
2 |
Contributors: planetmike
|
3 |
Donate link: http://www.planetmike.com/donations/
|
4 |
+
Tags: category, categories, exclude, visible, hidden, hide, invisible, remove
|
5 |
Requires at least: 3.1
|
6 |
+
Tested up to: 3.2
|
7 |
+
Stable tag: 0.7
|
8 |
|
9 |
Ultimate Category Excluder allows you to quickly and easily exclude categories from your front page, archives, and feeds.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
Ultimate Category Excluder (UCE - unfortunately the same abbreviation as unsolicited commercial email) is a WordPress plugin that allows you to quickly and easily exclude categories from your front page, archives, and feeds. Just select which categories you want to be excluded, and UCE does all the work for you!
|
|
|
14 |
|
15 |
== Installation ==
|
16 |
|
17 |
1. Download Ultimate Category Excluder.
|
18 |
2. Unzip the ultimate-category-excluder.zip file.
|
19 |
3. Activate the plugin on your plugins page.
|
20 |
+
4. You can edit the options by going under "Options" and then "Category Exclusion."
|
21 |
5. (Optional) I suggest you subscribe to my <a href="http://www.planetmike.com/feed/">RSS feed</a> so you can stay informed about any updates to Ultimate Category Excluder.
|
22 |
|
23 |
== Changelog ==
|
24 |
|
25 |
+
= 0.7 =
|
26 |
+
* May 6, 2011 - Added internationalization (i18n) based on Patrick Skiebe's suggestion and code. He has provided a German translation. Feel free to send me other languages if you like.
|
27 |
+
|
28 |
= 0.6 =
|
29 |
+
* February 24, 2011 - Addressed a bug in UCE that didn’t handle multiple excluded categories correctly.
|
30 |
|
31 |
= 0.5 =
|
32 |
+
* February 24, 2011 - Addressed a bug in WP 3.1.
|
33 |
|
34 |
= 0.4 =
|
35 |
+
* October 10, 2009 - A user pointed out a bug when trying to filter down categories in the edit posts admin area. I believe I’ve fixed this, but let me know if you still have trouble.
|
36 |
|
37 |
= 0.3 =
|
38 |
+
* June 20, 2009 - James Revillini pointed out a few fairly obvious bugs. I’ve incorporated his changes into the software.
|
39 |
|
40 |
= 0.21 Beta =
|
41 |
+
* January 10, 2008 - Initial release, fixed file name bug, dashes vs. underscores
|
42 |
|
43 |
= 0.2 Beta =
|
44 |
+
* December 13, 2007 - Initial release, tweaked to refer to PlanetMike.com, no functionality changed
|
45 |
|
46 |
= 0.1 Beta =
|
47 |
+
* February 14, 2007 - Initial release
|
ultimate-category-excluder.php
CHANGED
@@ -4,15 +4,19 @@ Plugin Name: Ultimate Category Excluder
|
|
4 |
Plugin URI: http://www.planetmike.com/plugins/ultimate-category-excluder/
|
5 |
Description: Easily exclude categories from your front page, feeds, and archives.
|
6 |
Author: Michael Clark
|
7 |
-
Version: 0.
|
8 |
Author URI: http://www.planetmike.com
|
|
|
9 |
*/
|
10 |
|
11 |
add_action('admin_menu', 'ksuce_admin_menu');
|
12 |
add_filter('pre_get_posts','ksuce_exclude_categories');
|
13 |
|
|
|
|
|
|
|
14 |
function ksuce_admin_menu() {
|
15 |
-
add_options_page( 'Ultimate Category Excluder Options', 'Category Exclusion', 9, basename(__FILE__), 'ksuce_options_page');
|
16 |
}
|
17 |
|
18 |
function ksuce_options_page() {
|
@@ -22,17 +26,17 @@ function ksuce_options_page() {
|
|
22 |
$options = ksuce_get_options();
|
23 |
?>
|
24 |
<div class="wrap">
|
25 |
-
<h2
|
26 |
<?php echo $message ?>
|
27 |
-
<p
|
28 |
<form action="options-general.php?page=ultimate-category-excluder.php" method="post">
|
29 |
<table class="widefat">
|
30 |
<thead>
|
31 |
<tr>
|
32 |
-
<th scope="col"
|
33 |
-
<th scope="col"
|
34 |
-
<th scope="col"
|
35 |
-
<th scope="col"
|
36 |
</tr>
|
37 |
</thead>
|
38 |
<tbody id="the-list">
|
@@ -54,7 +58,7 @@ function ksuce_options_page() {
|
|
54 |
}
|
55 |
?>
|
56 |
</table>
|
57 |
-
<p class="submit"><input type="submit" value="Update" /></p>
|
58 |
<input type="hidden" name="ksuce" value="true" />
|
59 |
</form>
|
60 |
</div><?php
|
@@ -76,7 +80,7 @@ function ksuce_process() {
|
|
76 |
$options['exclude_archives'] = $_POST[ 'exclude_archives' ];
|
77 |
update_option('ksuceExcludes', $options);
|
78 |
|
79 |
-
$message = "<div class='updated'><p>Excludes successfully updated</p></div>";
|
80 |
return $message;
|
81 |
}
|
82 |
|
4 |
Plugin URI: http://www.planetmike.com/plugins/ultimate-category-excluder/
|
5 |
Description: Easily exclude categories from your front page, feeds, and archives.
|
6 |
Author: Michael Clark
|
7 |
+
Version: 0.7
|
8 |
Author URI: http://www.planetmike.com
|
9 |
+
Text Domain: UCE
|
10 |
*/
|
11 |
|
12 |
add_action('admin_menu', 'ksuce_admin_menu');
|
13 |
add_filter('pre_get_posts','ksuce_exclude_categories');
|
14 |
|
15 |
+
// Include Ultimate Category Excluder language files
|
16 |
+
load_plugin_textdomain('UCE', false, dirname(plugin_basename(__FILE__)) . '/languages');
|
17 |
+
|
18 |
function ksuce_admin_menu() {
|
19 |
+
add_options_page( __('Ultimate Category Excluder Options', 'UCE'), __('Category Exclusion', 'UCE'), 9, basename(__FILE__), 'ksuce_options_page');
|
20 |
}
|
21 |
|
22 |
function ksuce_options_page() {
|
26 |
$options = ksuce_get_options();
|
27 |
?>
|
28 |
<div class="wrap">
|
29 |
+
<h2><?php _e('Ultimate Category Excluder Options', 'UCE'); ?></h2>
|
30 |
<?php echo $message ?>
|
31 |
+
<p><?php _e('Use this page to select the categories you wish to exclude and where you would like to exclude them from.', 'UCE'); ?></p>
|
32 |
<form action="options-general.php?page=ultimate-category-excluder.php" method="post">
|
33 |
<table class="widefat">
|
34 |
<thead>
|
35 |
<tr>
|
36 |
+
<th scope="col"><?php _e('Category', 'UCE'); ?></th>
|
37 |
+
<th scope="col"><?php _e('Exclude from Main Page?', 'UCE'); ?></th>
|
38 |
+
<th scope="col"><?php _e('Exclude from Feeds?', 'UCE'); ?></th>
|
39 |
+
<th scope="col"><?php _e('Exclude from Archives?', 'UCE'); ?></th>
|
40 |
</tr>
|
41 |
</thead>
|
42 |
<tbody id="the-list">
|
58 |
}
|
59 |
?>
|
60 |
</table>
|
61 |
+
<p class="submit"><input type="submit" value="<?php _e('Update', 'UCE'); ?>" /></p>
|
62 |
<input type="hidden" name="ksuce" value="true" />
|
63 |
</form>
|
64 |
</div><?php
|
80 |
$options['exclude_archives'] = $_POST[ 'exclude_archives' ];
|
81 |
update_option('ksuceExcludes', $options);
|
82 |
|
83 |
+
$message = "<div class='updated'><p>" . (__('Excludes successfully updated', 'UCE')) . "</p></div>";
|
84 |
return $message;
|
85 |
}
|
86 |
|