Bulk Page Creator - Version 1.0.3

Version Description

Added a trigger when pressing enter on the page name to add it automatically to the list

=

Download this release

Release Info

Developer DaganLev
Plugin Icon wp plugin Bulk Page Creator
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

Files changed (3) hide show
  1. bulk-page-creator.php +1 -1
  2. my-script.js +8 -0
  3. readme.txt +2 -0
bulk-page-creator.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Bulk Page Creator
4
  Plugin URI: http://solid-code.co.uk/2011/05/bulk-page-creator/
5
  Description: Allows you to create multiple pages in a batch/bulk manner saving time when initially setting up your WordPress site.
6
- Version: 1.0.2
7
  Author: Dagan Lev
8
  Author URI: http://solid-code.co.uk
9
 
3
  Plugin Name: Bulk Page Creator
4
  Plugin URI: http://solid-code.co.uk/2011/05/bulk-page-creator/
5
  Description: Allows you to create multiple pages in a batch/bulk manner saving time when initially setting up your WordPress site.
6
+ Version: 1.0.3
7
  Author: Dagan Lev
8
  Author URI: http://solid-code.co.uk
9
 
my-script.js CHANGED
@@ -12,6 +12,14 @@ jQuery(document).ready(function(){
12
  jQuery('#sc-pages-content-div').show();
13
  }
14
  });
 
 
 
 
 
 
 
 
15
  });
16
 
17
  function sc_add_page(){
12
  jQuery('#sc-pages-content-div').show();
13
  }
14
  });
15
+
16
+ jQuery('#sc-page-name, #page_ids').keypress(function(event){
17
+ if(event.which==13){
18
+ if(jQuery('#sc-page-name').val()!=''){
19
+ sc_add_page();
20
+ }
21
+ }
22
+ });
23
  });
24
 
25
  function sc_add_page(){
readme.txt CHANGED
@@ -28,6 +28,8 @@ To install this plugin please use the "install" feature from the WordPress site.
28
  = 1.0.1 =
29
  Fixed issue with extra spaces at end of page titles
30
 
 
 
31
 
32
  == Screenshots ==
33
 
28
  = 1.0.1 =
29
  Fixed issue with extra spaces at end of page titles
30
 
31
+ = 1.0.3 =
32
+ Added a trigger when pressing enter on the page name to add it automatically to the list
33
 
34
  == Screenshots ==
35