Changeset 470992
- Timestamp:
- 12/04/2011 10:05:45 PM (14 years ago)
- Location:
- posts-to-page/trunk
- Files:
-
- 2 edited
-
posts-to-page.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
posts-to-page/trunk/posts-to-page.php
r462885 r470992 4 4 Plugin URI: http://studio.bloafer.com/wordpress-plugins/posts-to-page/ 5 5 Description: Posts to page, shortcode [posts-to-page]. Usage [posts-to-page cat_ID=1] 6 Version: 0.96 Version: 1.0 7 7 Author: Kerry James 8 8 Author URI: http://studio.bloafer.com/ … … 21 21 $splitPoint = false; 22 22 $rowLimit = false; 23 $postType = "post"; 23 24 $catID = 1; 24 25 … … 28 29 if($args["show_date"]=="true"){ $showDate = true; } 29 30 if($args["show_author"]=="true"){ $showAuthor = true; } 31 30 32 33 if(isset($args["type"])){ $postType = $args["type"]; } 31 34 if(isset($args["split_point"])){ $splitPoint = $args["split_point"]; } 32 35 if(isset($args["limit"])){ $rowLimit = $args["limit"]; } … … 35 38 if(!is_numeric($catID)){ $catID = 1; } 36 39 $post_args['cat'] = $catID; 40 $post_args['post_type'] = $postType; 37 41 if($rowLimit){ 38 42 $post_args['numberposts'] = $rowLimit; -
posts-to-page/trunk/readme.txt
r462885 r470992 4 4 Plugin URI: http://studio.bloafer.com/wordpress-plugins/posts-to-page/ 5 5 Description: Posts to page, shortcode [posts-to-page]. 6 Version: 0.96 Version: 1.0 7 7 Author: Kerry James 8 8 Author URI: http://studio.bloafer.com/ … … 64 64 You need to use the variable "link_title" ([posts-to-page cat_ID=1 link_title=true]) 65 65 66 = How do I show other post types? = 67 68 You need to use the variable "type" ([posts-to-page cat_ID=1 type=gallery]) 69 66 70 = I have read all of these, but need more help = 67 71 … … 69 73 70 74 == Changelog == 75 76 = 1.0 = 77 * Added type variable. 71 78 72 79 = 0.9 =
Note: See TracChangeset
for help on using the changeset viewer.