Changeset 11
- Timestamp:
- 05/23/2013 08:52:53 PM (12 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/table-of-contents.php
r10 r11 32 32 $pages_header = 'h3'; 33 33 34 if ( $pages = wp_list_pages( array( 'child_of' => get_the_ID(), 'echo' => false, 'title_li' => false ) ) )34 if ( $pages = wp_list_pages( array( 'child_of' => get_the_ID(), 'echo' => false, 'title_li' => false, 'post_type' => self::$post_type ) ) ) 35 35 $toc .= "<$pages_header>Pages</$pages_header><ul class=\"items\">$pages</ul>"; 36 36 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/widgets.php
r10 r11 43 43 44 44 class WPorg_Handbook_Pages_Widget extends WP_Widget_Pages { 45 protected $post_type = 'page'; 46 45 47 function __construct() { 46 48 $widget_ops = array('classname' => 'widget_wporg_handbook_pages', 'description' => __( 'Your site’s Handbook Pages') );
Note: See TracChangeset
for help on using the changeset viewer.