Plugin Directory

Changeset 512927


Ignore:
Timestamp:
03/01/2012 01:15:01 PM (14 years ago)
Author:
jhinson
Message:

Updated readme document, updated trunk.

Location:
quick-posts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • quick-posts/tags/1.3/readme.txt

    r512914 r512927  
    44Tags: posts, pages, multiple pages, multiple posts, site framer, site framing, insert posts, quickly insert posts, multiple pages at once
    55Requires at least: 2.6
    6 Tested up to: 3.1
    7 Stable tag: 1.2
     6Tested up to: 3.2.1
     7Stable tag: 1.3
    88
    99Quick Post enables a WordPress user to quickly add multiple posts or pages at once, supports inserting child pages.
     
    1111== Description ==
    1212
    13 Quick Post enables a WordPress user to quickly add multiple posts or pages at once. Version 1.2 now has the following features:
     13Quick Post enables a WordPress user to quickly add multiple posts or pages at once. Version 1.3 now has the following features:
    1414
    1515* Specify whether content to be added is a post or a page
     16* Plugin also supports custom post types
    1617* If Pages are added, user can specify Parent Pages (to add children)
    1718* User can Assign a Page Template from a drop down.
     
    32331. Upload quick-posts to the /wp-content/plugins/ directory
    33342. Activate the plugin through the 'Plugins' menu in WordPress
    34 3. Insert Posts or Pages by Going to 'Settings > Quick Posts'
     353. Insert Posts or Pages by Going to 'Quick Posts'
    3536
    3637== Frequently Asked Questions ==
     
    4546
    4647== 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.
    4751= 1.2 =
    4852* Version 1.2 added, Tested up to WordPress 3.1
  • quick-posts/trunk/quick-posts.php

    r417643 r512927  
    3131        public function admin_menu()
    3232        {
    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
    3435        }
    3536       
  • quick-posts/trunk/readme.txt

    r356404 r512927  
    44Tags: posts, pages, multiple pages, multiple posts, site framer, site framing, insert posts, quickly insert posts, multiple pages at once
    55Requires at least: 2.6
    6 Tested up to: 3.1
    7 Stable tag: 1.2
     6Tested up to: 3.2.1
     7Stable tag: 1.3
    88
    99Quick Post enables a WordPress user to quickly add multiple posts or pages at once, supports inserting child pages.
     
    1111== Description ==
    1212
    13 Quick Post enables a WordPress user to quickly add multiple posts or pages at once. Version 1.2 now has the following features:
     13Quick Post enables a WordPress user to quickly add multiple posts or pages at once. Version 1.3 now has the following features:
    1414
    1515* Specify whether content to be added is a post or a page
     16* Plugin also supports custom post types
    1617* If Pages are added, user can specify Parent Pages (to add children)
    1718* User can Assign a Page Template from a drop down.
     
    32331. Upload quick-posts to the /wp-content/plugins/ directory
    33342. Activate the plugin through the 'Plugins' menu in WordPress
    34 3. Insert Posts or Pages by Going to 'Settings > Quick Posts'
     353. Insert Posts or Pages by Going to 'Quick Posts'
    3536
    3637== Frequently Asked Questions ==
     
    4546
    4647== 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.
    4751= 1.2 =
    4852* Version 1.2 added, Tested up to WordPress 3.1
  • quick-posts/trunk/templates/add-quick-post.php

    r356326 r512927  
    3838
    3939<div id="misc-publishing-actions">
    40    
     40
    4141    <div class="general-options">
    4242        <div class="misc-pub-section">
    4343            <label for="post_type">Type:</label>
    44             <select id="post_type" name="post_type">
    45                 <option value="page" selected="selected">Page &nbsp; </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                ?>
    4756            </select>
    4857        </div>
     
    5160            <label for="post_status">Status:</label>
    5261            <select id="post_status" name="post_status">
     62
    5363                <option value="publish" selected="selected">Published</option>
    5464                <option value="pending">Pending Review</option>
Note: See TracChangeset for help on using the changeset viewer.