Changeset 512927
- Timestamp:
- 03/01/2012 01:15:01 PM (14 years ago)
- Location:
- quick-posts
- Files:
-
- 4 edited
-
tags/1.3/readme.txt (modified) (4 diffs)
-
trunk/quick-posts.php (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/templates/add-quick-post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quick-posts/tags/1.3/readme.txt
r512914 r512927 4 4 Tags: posts, pages, multiple pages, multiple posts, site framer, site framing, insert posts, quickly insert posts, multiple pages at once 5 5 Requires at least: 2.6 6 Tested up to: 3. 17 Stable tag: 1. 26 Tested up to: 3.2.1 7 Stable tag: 1.3 8 8 9 9 Quick Post enables a WordPress user to quickly add multiple posts or pages at once, supports inserting child pages. … … 11 11 == Description == 12 12 13 Quick Post enables a WordPress user to quickly add multiple posts or pages at once. Version 1. 2now has the following features:13 Quick Post enables a WordPress user to quickly add multiple posts or pages at once. Version 1.3 now has the following features: 14 14 15 15 * Specify whether content to be added is a post or a page 16 * Plugin also supports custom post types 16 17 * If Pages are added, user can specify Parent Pages (to add children) 17 18 * User can Assign a Page Template from a drop down. … … 32 33 1. Upload quick-posts to the /wp-content/plugins/ directory 33 34 2. Activate the plugin through the 'Plugins' menu in WordPress 34 3. Insert Posts or Pages by Going to ' Settings >Quick Posts'35 3. Insert Posts or Pages by Going to 'Quick Posts' 35 36 36 37 == Frequently Asked Questions == … … 45 46 46 47 == Changelog == 48 = 1.3 = 49 * Version 1.2 added, Fixed issue with "cannot load quick-post" from Upgrade to 3.2.1 50 * Features added: Ability to choose custom post types. 47 51 = 1.2 = 48 52 * Version 1.2 added, Tested up to WordPress 3.1 -
quick-posts/trunk/quick-posts.php
r417643 r512927 31 31 public function admin_menu() 32 32 { 33 add_options_page('Add quick Post(s) or Page(s)', 'Quick Post', 9, 'add-quick-post', array(&$this, 'display_form')); 33 add_menu_page('Add quick Post(s) or Page(s)', 'Quick Posts', 'administrator', 'add-quick-post', array(&$this, 'display_form'), plugin_dir_url( __FILE__ ).'/img/icon.png'); 34 34 35 } 35 36 -
quick-posts/trunk/readme.txt
r356404 r512927 4 4 Tags: posts, pages, multiple pages, multiple posts, site framer, site framing, insert posts, quickly insert posts, multiple pages at once 5 5 Requires at least: 2.6 6 Tested up to: 3. 17 Stable tag: 1. 26 Tested up to: 3.2.1 7 Stable tag: 1.3 8 8 9 9 Quick Post enables a WordPress user to quickly add multiple posts or pages at once, supports inserting child pages. … … 11 11 == Description == 12 12 13 Quick Post enables a WordPress user to quickly add multiple posts or pages at once. Version 1. 2now has the following features:13 Quick Post enables a WordPress user to quickly add multiple posts or pages at once. Version 1.3 now has the following features: 14 14 15 15 * Specify whether content to be added is a post or a page 16 * Plugin also supports custom post types 16 17 * If Pages are added, user can specify Parent Pages (to add children) 17 18 * User can Assign a Page Template from a drop down. … … 32 33 1. Upload quick-posts to the /wp-content/plugins/ directory 33 34 2. Activate the plugin through the 'Plugins' menu in WordPress 34 3. Insert Posts or Pages by Going to ' Settings >Quick Posts'35 3. Insert Posts or Pages by Going to 'Quick Posts' 35 36 36 37 == Frequently Asked Questions == … … 45 46 46 47 == Changelog == 48 = 1.3 = 49 * Version 1.2 added, Fixed issue with "cannot load quick-post" from Upgrade to 3.2.1 50 * Features added: Ability to choose custom post types. 47 51 = 1.2 = 48 52 * Version 1.2 added, Tested up to WordPress 3.1 -
quick-posts/trunk/templates/add-quick-post.php
r356326 r512927 38 38 39 39 <div id="misc-publishing-actions"> 40 40 41 41 <div class="general-options"> 42 42 <div class="misc-pub-section"> 43 43 <label for="post_type">Type:</label> 44 <select id="post_type" name="post_type"> 45 <option value="page" selected="selected">Page </option> 46 <option value="post">Post</option> 44 <select style="text-transform: capitalize;" id="post_type" name="post_type"> 45 <?php $args=array( 46 'public' => true, 47 ); 48 $output = 'names'; // names or objects, note names is the default 49 $post_types=get_post_types($args,$output); 50 foreach ($post_types as $key => $value) { ?> 51 <?php if ($value != 'attachment'): ?> 52 <option value="<?php echo $value; ?>"><?php echo $value; ?></option> 53 <?php endif; ?> 54 <?php } 55 ?> 47 56 </select> 48 57 </div> … … 51 60 <label for="post_status">Status:</label> 52 61 <select id="post_status" name="post_status"> 62 53 63 <option value="publish" selected="selected">Published</option> 54 64 <option value="pending">Pending Review</option>
Note: See TracChangeset
for help on using the changeset viewer.