Version Description
(Released: November 12, 2019) = * Compatibility check up to version 5.3
Download this release
Release Info
Developer | catchthemes |
Plugin | Catch IDs |
Version | 1.9 |
Comparing to | |
See all releases |
Code changes from version 1.8 to 1.9
- catch-ids.php +31 -2
- languages/catch-ids.pot +2 -2
- readme.txt +4 -1
catch-ids.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Plugin Name: Catch IDs
|
16 |
* Plugin URI: https://catchplugins.com/plugins/catch-ids/
|
17 |
* 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.
|
18 |
-
* Version: 1.
|
19 |
* Author: Catch Plugins
|
20 |
* Author URI: catchplugins.com
|
21 |
* License: GPL-3.0+
|
@@ -51,7 +51,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
51 |
|
52 |
|
53 |
// Define Version
|
54 |
-
define( 'CATCH_IDS_VERSION', '1.
|
55 |
|
56 |
// The URL of the directory that contains the plugin
|
57 |
if ( !defined( 'CATCH_IDS_URL' ) ) {
|
@@ -391,4 +391,33 @@ if( 1 == $options['theme_plugin_tabs'] ) {
|
|
391 |
if( ! class_exists( 'CatchThemesThemePlugin' ) && ! function_exists( 'add_our_plugins_tab' ) ) {
|
392 |
require plugin_dir_path( __FILE__ ) . 'includes/CatchThemesThemePlugin.php';
|
393 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
}
|
15 |
* Plugin Name: Catch IDs
|
16 |
* Plugin URI: https://catchplugins.com/plugins/catch-ids/
|
17 |
* 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.
|
18 |
+
* Version: 1.9
|
19 |
* Author: Catch Plugins
|
20 |
* Author URI: catchplugins.com
|
21 |
* License: GPL-3.0+
|
51 |
|
52 |
|
53 |
// Define Version
|
54 |
+
define( 'CATCH_IDS_VERSION', '1.9' );
|
55 |
|
56 |
// The URL of the directory that contains the plugin
|
57 |
if ( !defined( 'CATCH_IDS_URL' ) ) {
|
391 |
if( ! class_exists( 'CatchThemesThemePlugin' ) && ! function_exists( 'add_our_plugins_tab' ) ) {
|
392 |
require plugin_dir_path( __FILE__ ) . 'includes/CatchThemesThemePlugin.php';
|
393 |
}
|
394 |
+
}
|
395 |
+
|
396 |
+
/* Adds support link and review link in plugin page */
|
397 |
+
// Only visible if the plugin is active
|
398 |
+
add_filter( 'plugin_row_meta', 'catchids_add_plugin_meta_links', 10, 2 );
|
399 |
+
function catchids_add_plugin_meta_links( $meta_fields, $file ){
|
400 |
+
if( $file == plugin_basename( __FILE__ ) ) {
|
401 |
+
|
402 |
+
$meta_fields[] = "<a href='https://catchplugins.com/support-forum/forum/catch-ids/' target='_blank'>Support Forum</a>";
|
403 |
+
$meta_fields[] = "<a href='https://wordpress.org/support/plugin/catch-ids/reviews#new-post' target='_blank' title='Rate'>
|
404 |
+
<i class='ct-rate-stars'>"
|
405 |
+
. "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
|
406 |
+
. "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
|
407 |
+
. "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
|
408 |
+
. "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
|
409 |
+
. "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
|
410 |
+
. "</i></a>";
|
411 |
+
|
412 |
+
$stars_color = "#ffb900";
|
413 |
+
|
414 |
+
echo "<style>"
|
415 |
+
. ".ct-rate-stars{display:inline-block;color:" . $stars_color . ";position:relative;top:3px;}"
|
416 |
+
. ".ct-rate-stars svg{fill:" . $stars_color . ";}"
|
417 |
+
. ".ct-rate-stars svg:hover{fill:" . $stars_color . "}"
|
418 |
+
. ".ct-rate-stars svg:hover ~ svg{fill:none;}"
|
419 |
+
. "</style>";
|
420 |
+
}
|
421 |
+
|
422 |
+
return $meta_fields;
|
423 |
}
|
languages/catch-ids.pot
CHANGED
@@ -5,7 +5,7 @@ msgid ""
|
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: Catch Ids\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/tags/catch-ids\n"
|
8 |
-
"POT-Creation-Date: 2019-
|
9 |
"PO-Revision-Date: 2016-12-07 22:52-0500\n"
|
10 |
"Last-Translator: Pratik Shrestha <pratik@catchplugins.com>\n"
|
11 |
"Language-Team: Catch Plugins <info@catchplugins.com>\n"
|
@@ -14,7 +14,7 @@ msgstr ""
|
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
-
"X-Generator: Poedit 2.2.
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_attr_e;esc_attr__;_nx;"
|
19 |
"esc_html__\n"
|
20 |
"X-Poedit-Basepath: .\n"
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: Catch Ids\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/tags/catch-ids\n"
|
8 |
+
"POT-Creation-Date: 2019-11-12 00:26-0800\n"
|
9 |
"PO-Revision-Date: 2016-12-07 22:52-0500\n"
|
10 |
"Last-Translator: Pratik Shrestha <pratik@catchplugins.com>\n"
|
11 |
"Language-Team: Catch Plugins <info@catchplugins.com>\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
+
"X-Generator: Poedit 2.2.4\n"
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_attr_e;esc_attr__;_nx;"
|
19 |
"esc_html__\n"
|
20 |
"X-Poedit-Basepath: .\n"
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: catchplugins, catchthemes, sakinshrestha, pratikshrestha, maheshma
|
|
3 |
Donate link: https://catchplugins.com/plugins/catch-ids/
|
4 |
Tags: catch-ids, simple, admin, wp-admin, show, ids, post, page, category, media, links, tag, user, id, post id, page id, category id, tag id, media id
|
5 |
Requires at least: 4.5
|
6 |
-
Tested up to: 5.
|
7 |
Stable tag: trunk
|
8 |
License: GNU General Public License, version 3 (GPLv3)
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
@@ -50,6 +50,9 @@ Not so easy way (via FTP) :
|
|
50 |
|
51 |
|
52 |
== Changelog ==
|
|
|
|
|
|
|
53 |
= 1.8 (Released: May 31, 2019) =
|
54 |
* Added: Option to turn off Catch Themes and Catch Plugin tabs
|
55 |
* Updated: Compatibility to WordPress version 5.2
|
3 |
Donate link: https://catchplugins.com/plugins/catch-ids/
|
4 |
Tags: catch-ids, simple, admin, wp-admin, show, ids, post, page, category, media, links, tag, user, id, post id, page id, category id, tag id, media id
|
5 |
Requires at least: 4.5
|
6 |
+
Tested up to: 5.3
|
7 |
Stable tag: trunk
|
8 |
License: GNU General Public License, version 3 (GPLv3)
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
50 |
|
51 |
|
52 |
== Changelog ==
|
53 |
+
= 1.9 (Released: November 12, 2019) =
|
54 |
+
* Compatibility check up to version 5.3
|
55 |
+
|
56 |
= 1.8 (Released: May 31, 2019) =
|
57 |
* Added: Option to turn off Catch Themes and Catch Plugin tabs
|
58 |
* Updated: Compatibility to WordPress version 5.2
|