Version Description
Download this release
Release Info
Developer | gagan0123 |
Plugin | Shortcode Widget |
Version | 0.3 |
Comparing to | |
See all releases |
Code changes from version 0.2 to 0.3
- index.php +6 -1
- readme.txt +3 -2
index.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://wordpress.org/extend/plugins/shortcode-widget/
|
|
5 |
Description: Adds a text-like widget that allows you to write shortcode in it. (Just whats missing in the default text widget)
|
6 |
Author: gagan0123
|
7 |
Author URI: http://gagan.pro/
|
8 |
-
Version: 0.
|
9 |
Text Domain: shortcode-widget
|
10 |
License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
11 |
*/
|
@@ -23,4 +23,9 @@ function shortcode_widget_load_text_domain(){
|
|
23 |
load_plugin_textdomain( SHORTCODE_WIDGET_TEXT_DOMAIN, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
24 |
}
|
25 |
add_action('plugins_loaded','shortcode_widget_load_text_domain');
|
|
|
|
|
|
|
|
|
|
|
26 |
?>
|
5 |
Description: Adds a text-like widget that allows you to write shortcode in it. (Just whats missing in the default text widget)
|
6 |
Author: gagan0123
|
7 |
Author URI: http://gagan.pro/
|
8 |
+
Version: 0.3
|
9 |
Text Domain: shortcode-widget
|
10 |
License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
11 |
*/
|
23 |
load_plugin_textdomain( SHORTCODE_WIDGET_TEXT_DOMAIN, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
24 |
}
|
25 |
add_action('plugins_loaded','shortcode_widget_load_text_domain');
|
26 |
+
|
27 |
+
add_shortcode('shortcode_widget_test', 'shortcode_widget_test_output');
|
28 |
+
function shortcode_widget_test_output($args){
|
29 |
+
return "It works";
|
30 |
+
}
|
31 |
?>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: gagan0123
|
|
3 |
Tags: Shortcode, Widget
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.5.1
|
6 |
-
Stable tag: 0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -21,4 +21,5 @@ Adds a text-like widget that allows you to write shortcode in it. (Just whats mi
|
|
21 |
|
22 |
== Changelog ==
|
23 |
0.1 Added the shortcode widget
|
24 |
-
0.2 Added translation support
|
|
3 |
Tags: Shortcode, Widget
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.5.1
|
6 |
+
Stable tag: 0.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
21 |
|
22 |
== Changelog ==
|
23 |
0.1 Added the shortcode widget
|
24 |
+
0.2 Added translation support
|
25 |
+
0.3 Added a shortcode for testing the plugin '[shortcode_widget_test]'
|