Widgets on Pages - Version 0.0.5

Version Description

Fix for activation errors. Looks like it might've been the use of php short open tags or line ending chars.

Download this release

Release Info

Developer toddhalfpenny
Plugin Icon 128x128 Widgets on Pages
Version 0.0.5
Comparing to
See all releases

Code changes from version 0.0.4 to 0.0.5

Files changed (2) hide show
  1. readme.txt +7 -2
  2. widgets_on_pages.php +5 -5
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Widgets on Pages ===
2
  Contributors: toddhalfpenny
3
- Donate link: n/a
4
  Tags: widgets, sidebar, pages, post, shortcode, inline
5
  Requires at least: 2.8
6
  Tested up to: 2.9.2
7
- Stable tag: 0.0.4
8
 
9
  Allows 'in-page' widget areas so widgets can be defined via shortcode straight into page/post content
10
 
@@ -13,6 +13,7 @@ Allows 'in-page' widget areas so widgets can be defined via shortcode straight i
13
  Allows 'in-page' widget areas so widgets can be defined via shortcut straight into page/post content.
14
  There is one default widget area that can be used or you can add more from the settings menu. You can currently have an unlimited number of sidebars.
15
  Each sidebar can be called indepentenly by a shortcode and you can call more than one per post/page.
 
16
 
17
 
18
  == Installation ==
@@ -36,6 +37,10 @@ Yes... you can have an unlimited number of sidebars defined. The number availabl
36
 
37
  == Changelog ==
38
 
 
 
 
 
39
  = 0.0.4 =
40
 
41
  There is now no longer a limit on the number of sidebars that can be defined. Each sidebar can be called independently.
1
  === Widgets on Pages ===
2
  Contributors: toddhalfpenny
3
+ Donate link: http://gingerbreaddesign.co.uk/wordpress/plugins/plugins.php
4
  Tags: widgets, sidebar, pages, post, shortcode, inline
5
  Requires at least: 2.8
6
  Tested up to: 2.9.2
7
+ Stable tag: 0.0.5
8
 
9
  Allows 'in-page' widget areas so widgets can be defined via shortcode straight into page/post content
10
 
13
  Allows 'in-page' widget areas so widgets can be defined via shortcut straight into page/post content.
14
  There is one default widget area that can be used or you can add more from the settings menu. You can currently have an unlimited number of sidebars.
15
  Each sidebar can be called indepentenly by a shortcode and you can call more than one per post/page.
16
+ Sidebars can be included in the post/page by using a shortcode like `[widgets_on_pages id=x]` where `x` is the number of the sidebar.
17
 
18
 
19
  == Installation ==
37
 
38
  == Changelog ==
39
 
40
+ = 0.0.5 =
41
+
42
+ Fix for activation errors. Looks like it might've been the use of php short open tags or line ending chars.
43
+
44
  = 0.0.4 =
45
 
46
  There is now no longer a limit on the number of sidebars that can be defined. Each sidebar can be called independently.
widgets_on_pages.php CHANGED
@@ -22,7 +22,7 @@ Plugin Name: Widgets on Pages
22
  Plugin URI: http://gingerbreaddesign.co.uk/wordpress/plugins/widgets-on-pages.php
23
  Description: Allows 'in-page' widget areas so widgets can be defined via shortcut straight into page/post content
24
  Author: Todd Halfpenny
25
- Version: 0.0.4
26
  Author URI: http://gingerbreaddesign.co.uk/todd
27
  */
28
 
@@ -56,7 +56,7 @@ function wop_plugin_options() {
56
  <form method="post" action="options.php">
57
  <?php wp_nonce_field('update-options'); ?>
58
  <?php settings_fields( 'wop_options' ); ?>
59
- <? $cur_num_sidebars = get_option('num_of_wop_sidebars');?>
60
 
61
  <script language="JavaScript">
62
  function validate(evt) {
@@ -79,7 +79,7 @@ function wop_plugin_options() {
79
 
80
  <tr valign="top">
81
  <th scope="row">Number of additional sidebars</th>
82
- <td><input type='text' name="num_of_wop_sidebars" size='3' value="<? echo get_option('num_of_wop_sidebars');?>" onkeypress='validate(event)' />
83
  </table>
84
  <input type="hidden" name="action" value="update" />
85
  <input type="hidden" name="page_options" value="num_of_wop_sidebars" />
@@ -88,7 +88,7 @@ function wop_plugin_options() {
88
  </p>
89
  </form>
90
  </div>
91
- <?
92
  }
93
 
94
 
@@ -148,4 +148,4 @@ add_action('admin_init', 'reg_wop_sidebar');
148
  add_shortcode('widgets_on_pages', 'widgets_on_page');
149
 
150
 
151
- ?>
22
  Plugin URI: http://gingerbreaddesign.co.uk/wordpress/plugins/widgets-on-pages.php
23
  Description: Allows 'in-page' widget areas so widgets can be defined via shortcut straight into page/post content
24
  Author: Todd Halfpenny
25
+ Version: 0.0.5
26
  Author URI: http://gingerbreaddesign.co.uk/todd
27
  */
28
 
56
  <form method="post" action="options.php">
57
  <?php wp_nonce_field('update-options'); ?>
58
  <?php settings_fields( 'wop_options' ); ?>
59
+ <?php $cur_num_sidebars = get_option('num_of_wop_sidebars');?>
60
 
61
  <script language="JavaScript">
62
  function validate(evt) {
79
 
80
  <tr valign="top">
81
  <th scope="row">Number of additional sidebars</th>
82
+ <td><input type='text' name="num_of_wop_sidebars" size='3' value="<?php echo get_option('num_of_wop_sidebars');?>" onkeypress='validate(event)' />
83
  </table>
84
  <input type="hidden" name="action" value="update" />
85
  <input type="hidden" name="page_options" value="num_of_wop_sidebars" />
88
  </p>
89
  </form>
90
  </div>
91
+ <?php
92
  }
93
 
94
 
148
  add_shortcode('widgets_on_pages', 'widgets_on_page');
149
 
150
 
151
+ ?>