post_type; $post_type_object = get_post_type_object($post_type); $can_publish = current_user_can($post_type_object->publish_cap); ?>
'category'); if ( !isset($box['args']) || !is_array($box['args']) ) $args = array(); else $args = $box['args']; extract( wp_parse_args($args, $defaults), EXTR_SKIP ); $tax = get_taxonomy($taxonomy); ?>
edit_cap) ) : ?>
$taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => sprintf( __('— Parent %s —'), $tax->singular_label ), 'tab_index' => 3 ) ); ?>
Learn more about manual excerpts.'); ?>
to_ping) ) .'" />'; if ('' != $post->pinged) { $pings = ''. __('Already pinged:') . '
()
pingbacks, no other action necessary.'); ?>
use in your theme.'); ?>
get_var($wpdb->prepare("SELECT count(1) FROM $wpdb->comments WHERE comment_post_ID = '%d' AND ( comment_approved = '0' OR comment_approved = '1')", $post_ID)); if ( 1 > $total ) { echo '' . __('No comments yet.') . '
'; return; } wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); add_filter('manage_edit-comments_columns', 'post_comment_meta_box_thead', 8, 1); ?> id, true, $post->post_type ); // TODO: ROLE SYSTEM if ( $post->post_author && !in_array($post->post_author, $authors) ) $authors[] = $post->post_author; ?> $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?> post_type); if ( $post_type_object->hierarchical ) { $pages = wp_dropdown_pages(array('post_type' => $post->post_type, 'exclude_tree' => $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title', 'echo' => 0)); if ( ! empty($pages) ) { ?> page_template) ? $post->page_template : false; ?>
|
XFN.'); ?>