Changeset 367282
- Timestamp:
- 03/31/2011 05:39:35 AM (15 years ago)
- Location:
- page-excerpt
- Files:
-
- 1 added
- 2 edited
- 3 copied
-
tags/1.1 (added)
-
tags/1.1/pageExcerpt.php (copied) (copied from page-excerpt/trunk/pageExcerpt.php) (2 diffs)
-
tags/1.1/readme.txt (copied) (copied from page-excerpt/trunk/readme.txt) (3 diffs)
-
tags/1.1/screenshot-1.png (copied) (copied from page-excerpt/trunk/screenshot-1.png)
-
trunk/pageExcerpt.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
page-excerpt/tags/1.1/pageExcerpt.php
r367281 r367282 10 10 11 11 add_action( 'edit_page_form', 'pe_add_box'); 12 add_action('init', 'my_custom_init'); 12 13 14 function pe_init() { 15 if(function_exists("add_post_type_support")) //support 3.1 and greater 16 { 17 add_post_type_support( 'page', 'excerpt' ); 18 } 19 } 13 20 14 21 function pe_page_excerpt_meta_box($post) { … … 22 29 function pe_add_box() 23 30 { 24 add_meta_box('postexcerpt', __('Page Excerpt'), 'pe_page_excerpt_meta_box', 'page', 'advanced', 'core'); 31 if(!function_exists("add_post_type_support")) //legacy 32 { add_meta_box('postexcerpt', __('Page Excerpt'), 'pe_page_excerpt_meta_box', 'page', 'advanced', 'core'); 33 } 25 34 } 26 35 -
page-excerpt/tags/1.1/readme.txt
r367281 r367282 4 4 Tags: excerpt, page, page excerpt, advanced options, CMS, content management 5 5 Requires at least: 2.6 6 Tested up to: 2.87 Stable tag: 1. 06 Tested up to: 3.1 7 Stable tag: 1.1 8 8 9 9 This plugin adds the same functionality of the excerpt feature in posts to pages. … … 11 11 == Description == 12 12 13 This plugin adds the same functionality of the excerpt feature in posts to pages. It is 14 based upon the same code used in WordPress to add the functionality to posts. This one is compatible 15 with WordPress 2.6+ because it uses newer code than other similar plugins. 13 This plugin adds the same functionality of the excerpt feature in posts to pages. 16 14 17 15 … … 24 22 25 23 == Changelog == 24 25 = 1.1 = 26 * Supports WP 3.1 and greater 26 27 27 28 = 1.0 = -
page-excerpt/trunk/pageExcerpt.php
r128224 r367282 10 10 11 11 add_action( 'edit_page_form', 'pe_add_box'); 12 add_action('init', 'my_custom_init'); 12 13 14 function pe_init() { 15 if(function_exists("add_post_type_support")) //support 3.1 and greater 16 { 17 add_post_type_support( 'page', 'excerpt' ); 18 } 19 } 13 20 14 21 function pe_page_excerpt_meta_box($post) { … … 22 29 function pe_add_box() 23 30 { 24 add_meta_box('postexcerpt', __('Page Excerpt'), 'pe_page_excerpt_meta_box', 'page', 'advanced', 'core'); 31 if(!function_exists("add_post_type_support")) //legacy 32 { add_meta_box('postexcerpt', __('Page Excerpt'), 'pe_page_excerpt_meta_box', 'page', 'advanced', 'core'); 33 } 25 34 } 26 35 -
page-excerpt/trunk/readme.txt
r128263 r367282 4 4 Tags: excerpt, page, page excerpt, advanced options, CMS, content management 5 5 Requires at least: 2.6 6 Tested up to: 2.87 Stable tag: 1. 06 Tested up to: 3.1 7 Stable tag: 1.1 8 8 9 9 This plugin adds the same functionality of the excerpt feature in posts to pages. … … 11 11 == Description == 12 12 13 This plugin adds the same functionality of the excerpt feature in posts to pages. It is 14 based upon the same code used in WordPress to add the functionality to posts. This one is compatible 15 with WordPress 2.6+ because it uses newer code than other similar plugins. 13 This plugin adds the same functionality of the excerpt feature in posts to pages. 16 14 17 15 … … 24 22 25 23 == Changelog == 24 25 = 1.1 = 26 * Supports WP 3.1 and greater 26 27 27 28 = 1.0 =
Note: See TracChangeset
for help on using the changeset viewer.