Catch IDs - Version 1.2

Version Description

Download this release

Release Info

Developer catchthemes
Plugin Icon 128x128 Catch IDs
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

Files changed (2) hide show
  1. catch-ids.php +31 -27
  2. readme.txt +24 -12
catch-ids.php CHANGED
@@ -2,14 +2,17 @@
2
  /*
3
  Plugin Name: Catch IDs
4
  Plugin URI: http://catchthemes.com/wp-plugins/catch-ids/
5
- Description: Catch IDs is a simple and light weight plugin to show the Post ID, Page ID, Media ID, Links ID, Category ID, Tag ID and User ID in the Admin Section Table. This plugin was initially develop to support our themes features slider. Then we thought that this will be helpful to all the WordPress Admin Users.
6
- Version: 1.1
 
 
7
  Author: Catch Themes Team
8
  Author URI: http://catchthemes.com
 
9
  */
10
 
11
  /*
12
- Copyright (C) 2012 Catch Themes, (info@catchinternet.com)
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License as published by
@@ -27,8 +30,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27
 
28
 
29
  /**
30
- * @package Catch-IDs
31
- * @version 1.0
 
32
  */
33
 
34
 
@@ -47,16 +51,16 @@ if ( ! function_exists( 'catchids_value' ) ) :
47
  /**
48
  * Echo the ID for the new column
49
  */
50
- function catchids_value($column_name, $id) {
51
- if ($column_name == 'catchids')
52
  echo $id;
53
  }
54
  endif; // catchids_value
55
 
56
 
57
  if ( ! function_exists( 'catchids_return_value' ) ) :
58
- function catchids_return_value($value, $column_name, $id) {
59
- if ($column_name == 'catchids')
60
  $value = $id;
61
  return $value;
62
  }
@@ -84,42 +88,42 @@ if ( ! function_exists( 'catchids_add' ) ) :
84
  * Actions/Filters for various tables and the css output
85
  */
86
  function catchids_add() {
87
- add_action('admin_head', 'catchids_css');
88
 
89
  // For Post Management
90
- add_filter('manage_posts_columns', 'catchids_column');
91
- add_action('manage_posts_custom_column', 'catchids_value', 10, 2);
92
 
93
  // For Page Management
94
- add_filter('manage_pages_columns', 'catchids_column');
95
- add_action('manage_pages_custom_column', 'catchids_value', 10, 2);
96
 
97
  // For Media Management
98
- add_filter('manage_media_columns', 'catchids_column');
99
- add_action('manage_media_custom_column', 'catchids_value', 10, 2);
100
 
101
  // For Link Management
102
- add_filter('manage_link-manager_columns', 'catchids_column');
103
- add_action('manage_link_custom_column', 'catchids_value', 10, 2);
104
 
105
  // For Category Management
106
- add_action('manage_edit-link-categories_columns', 'catchids_column');
107
- add_filter('manage_link_categories_custom_column', 'catchids_return_value', 10, 3);
108
 
109
  // For Tags Management
110
  foreach ( get_taxonomies() as $taxonomy ) {
111
- add_action("manage_edit-${taxonomy}_columns", 'catchids_column');
112
- add_filter("manage_${taxonomy}_custom_column", 'catchids_return_value', 10, 3);
113
  }
114
 
115
  // For User Management
116
- add_action('manage_users_columns', 'catchids_column');
117
- add_filter('manage_users_custom_column', 'catchids_return_value', 10, 3);
118
 
119
  // For Comment Management
120
- add_action('manage_edit-comments_columns', 'catchids_column');
121
- add_action('manage_comments_custom_column', 'catchids_value', 10, 2);
122
  }
123
  endif; // catchids_add
124
 
125
- add_action('admin_init', 'catchids_add');
2
  /*
3
  Plugin Name: Catch IDs
4
  Plugin URI: http://catchthemes.com/wp-plugins/catch-ids/
5
+ Description: Catch IDs is a simple and light weight plugin to show the Post ID, Page ID, Media ID, Links ID, Category ID, Tag ID and User ID in the Admin Section Table. This plugin was initially develop to support our themes features slider. Then we thought that this will be helpful to all the WordPress Admin Users. Just activate and catch IDs in your page, post, category, tag and media pages.
6
+ Version: 1.2
7
+ License: GNU General Public License, version 3 (GPLv3)
8
+ License URI: http://www.gnu.org/licenses/gpl-3.0.txt
9
  Author: Catch Themes Team
10
  Author URI: http://catchthemes.com
11
+ Tags: admin, catch-ids, category, ids, links, media, page, post, show, simple, tag, user, wp-admin
12
  */
13
 
14
  /*
15
+ Copyright (C) 2012 -2014 Catch Themes, (info@catchthemes.com)
16
 
17
  This program is free software; you can redistribute it and/or modify
18
  it under the terms of the GNU General Public License as published by
30
 
31
 
32
  /**
33
+ * @package Catch Themes
34
+ * @subpackage Catch IDs
35
+ * @since Catch IDs 1.0
36
  */
37
 
38
 
51
  /**
52
  * Echo the ID for the new column
53
  */
54
+ function catchids_value( $column_name, $id ) {
55
+ if ( $column_name == 'catchids' )
56
  echo $id;
57
  }
58
  endif; // catchids_value
59
 
60
 
61
  if ( ! function_exists( 'catchids_return_value' ) ) :
62
+ function catchids_return_value( $value, $column_name, $id ) {
63
+ if ( $column_name == 'catchids' )
64
  $value = $id;
65
  return $value;
66
  }
88
  * Actions/Filters for various tables and the css output
89
  */
90
  function catchids_add() {
91
+ add_action( 'admin_head', 'catchids_css');
92
 
93
  // For Post Management
94
+ add_filter( 'manage_posts_columns', 'catchids_column' );
95
+ add_action( 'manage_posts_custom_column', 'catchids_value', 10, 2 );
96
 
97
  // For Page Management
98
+ add_filter( 'manage_pages_columns', 'catchids_column' );
99
+ add_action( 'manage_pages_custom_column', 'catchids_value', 10, 2 );
100
 
101
  // For Media Management
102
+ add_filter( 'manage_media_columns', 'catchids_column' );
103
+ add_action( 'manage_media_custom_column', 'catchids_value', 10, 2 );
104
 
105
  // For Link Management
106
+ add_filter( 'manage_link-manager_columns', 'catchids_column' );
107
+ add_action( 'manage_link_custom_column', 'catchids_value', 10, 2 );
108
 
109
  // For Category Management
110
+ add_action( 'manage_edit-link-categories_columns', 'catchids_column' );
111
+ add_filter( 'manage_link_categories_custom_column', 'catchids_return_value', 10, 3 );
112
 
113
  // For Tags Management
114
  foreach ( get_taxonomies() as $taxonomy ) {
115
+ add_action( 'manage_edit-${taxonomy}_columns', 'catchids_column' );
116
+ add_filter( 'manage_${taxonomy}_custom_column', 'catchids_return_value', 10, 3 );
117
  }
118
 
119
  // For User Management
120
+ add_action( 'manage_users_columns', 'catchids_column' );
121
+ add_filter( 'manage_users_custom_column', 'catchids_return_value', 10, 3 );
122
 
123
  // For Comment Management
124
+ add_action( 'manage_edit-comments_columns', 'catchids_column' );
125
+ add_action( 'manage_comments_custom_column', 'catchids_value', 10, 2 );
126
  }
127
  endif; // catchids_add
128
 
129
+ add_action( 'admin_init', 'catchids_add' );
readme.txt CHANGED
@@ -4,26 +4,35 @@ Contributors: catchthemes
4
  Donate link: http://catchthemes.com/wp-plugins/catch-ids/
5
  Tags: catch-ids, simple, admin, wp-admin, show, ids, post, page, category, media, links, tag, user
6
  Requires at least: 3.0
7
- Tested up to: 3.7.1
8
- Stable tag: 1.1
9
- License: GPLv2 or later
10
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
  What this plugin does is to shows the IDs on admin section.
13
 
14
  == Description ==
15
 
16
- Catch IDs is a simple and light weight plugin to show the Post ID, Page ID, Media ID, Links ID, Category ID, Tag ID and User ID in the Admin Section Table. This plugin was initially develop to support our themes features slider. Then we thought that this will be helpful to all the WordPress Admin Users.
17
 
18
- If you want more features and web tools then we have new plugin Catch Web Tools http://wordpress.org/plugins/catch-web-tools/
19
 
20
 
21
  == Installation ==
22
- You can download and install Catch Ids plugin using the built in WordPress plugin installer. If you download Catch Web Tools manually
23
- 1. Download the plugin and unzip it.
24
- 2. Upload the `catch-ids` folder to the `/wp-content/plugins/` directory or install directly through the plugin installer.
25
- 3. Activate the plugin through the 'Plugins' menu in WordPress or by using the link provided by the plugin installer
26
- 4. Installation finished.
 
 
 
 
 
 
 
 
 
27
 
28
  == Screenshots ==
29
 
@@ -38,8 +47,11 @@ You can download and install Catch Ids plugin using the built in WordPress plugi
38
 
39
  == Changelog ==
40
 
 
 
 
41
  = 1.1
42
  * Check WordPress compatibility up to version 3.7.1
43
 
44
  = 1.0
45
- * Initial Public Release
4
  Donate link: http://catchthemes.com/wp-plugins/catch-ids/
5
  Tags: catch-ids, simple, admin, wp-admin, show, ids, post, page, category, media, links, tag, user
6
  Requires at least: 3.0
7
+ Tested up to: 3.9.1
8
+ Stable tag: 1.2
9
+ License: GNU General Public License, version 3 (GPLv3)
10
+ License URI: http://www.gnu.org/licenses/gpl-3.0.txt
11
 
12
  What this plugin does is to shows the IDs on admin section.
13
 
14
  == Description ==
15
 
16
+ Catch IDs is a simple and light weight plugin to show the Post ID, Page ID, Media ID, Links ID, Category ID, Tag ID and User ID in the Admin Section Table. This plugin was initially develop to support our themes features slider. Then we thought that this will be helpful to all the WordPress Admin Users. Just activate and catch IDs in your page, post, category, tag and media pages.
17
 
18
+ Check out our new modular plugin [Catch Web Tools](http://wordpress.org/plugins/catch-web-tools/). Power up your WordPress site with powerful features that were till now only available to Catch Themes users. We currently offer Webmaster Tools, Open Graph, Custom CSS, Social Icons, Catch IDs and basic SEO Optimization modules and will be adding more.
19
 
20
 
21
  == Installation ==
22
+
23
+ Auto Installation through WordPress admin panel
24
+ 1. Go to "Plugins => Add New"
25
+ 2. In Search Box type in "Catch IDs" and Search Plugins
26
+ 3. You will get "Catch IDs" in search result
27
+ 4. Click on "Install Now" and then "Activate"
28
+ 5. Installation Completed. Now you will get ID's column in your post, page, category, tag and media panel
29
+
30
+ Manual Installation through FTP access
31
+ 1. Go to http://wordpress.org/plugins/catch-id/ and click on "Download"
32
+ 2. Then extract the zip file (catch-ids.zip) that you have downloaded
33
+ 3. Using an FTP client to access your host web server. Go to /wp-content/plugins/ and upload the "catch-ids" folder
34
+ 4. Then go to "Plugins" in your WordPress Admin Panel and click on "Activate"
35
+ 5. Installation Completed. Now you will get ID's column in your post, page, category, tag and media panel
36
 
37
  == Screenshots ==
38
 
47
 
48
  == Changelog ==
49
 
50
+ = 1.2
51
+ * Check WordPress compatibility up to version 3.9.1
52
+
53
  = 1.1
54
  * Check WordPress compatibility up to version 3.7.1
55
 
56
  = 1.0
57
+ * Initial Public Release