find_posts_div [ WordPress Function ]
find_posts_div ( $found_action = '' )
| Parameters: |
|
| Defined at: |
|
Soorgelijke functies: rewind_posts, wp_ajax_find_posts, next_posts_link, next_posts, single_post_title
{@internal Missing Short Description}}
Source
<?php
function find_posts_div($found_action = '') {
?>
<div id="find-posts" class="find-box" style="display:none;">
<div id="find-posts-head" class="find-box-head"><?php _e('Find Posts or Pages'); ?></div>
<div class="find-box-inside">
<div class="find-box-search">
<?php if ( $found_action ) { ?>
<input type="hidden" name="found_action" value="<?php echo esc_attr($found_action); ?>" />
<?php } ?>
<input type="hidden" name="affected" id="affected" value="" />
<?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?>
<label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label>
<input type="text" id="find-posts-input" name="ps" value="" />
<input type="button" id="find-posts-search" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br />
<?php
$post_types = get_post_types( array('public' => true), 'objects' );
foreach ( $post_types as $post ) {
if ( 'attachment' == $post->name )
continue;
?>
<input type="radio" name="find-posts-what" id="find-posts-<?php echo esc_attr($post->name); ?>" value="<?php echo esc_attr($post->name); ?>" <?php checked($post->name, 'post'); ?> />
<label for="find-posts-<?php echo esc_attr($post->name); ?>"><?php echo $post->label; ?></label>
<?php
} ?>
</div>
<div id="find-posts-response"></div>
</div>
<div class="find-box-buttons">
<input id="find-posts-close" type="button" class="button alignleft" value="<?php esc_attr_e('Close'); ?>" />
<?php submit_button( __( 'Select' ), 'button-primary alignright', 'find-posts-submit', false ); ?>
</div>
</div>
<?php
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- find_posts_div | A HitchHackers guide through WordPress
Feb 11, 2011 ... function find_posts_div($found_action = '') { ?> <div id="find-posts" class="find- box" style="display:none;"> <div id="find-posts-head" ...
hitchhackerguide.com - PHPXRef 0.7 : WordPress : Function Reference: find_posts_div()
Function and Method Cross Reference. find_posts_div(). Defined at: /wp-admin/ includes/template.php -> line 1293. Referenced 1 times: /wp-admin/upload.php ...
phpxref.ftwr.co.uk - find_posts_div (WordPress Function) - WPSeek.com
WordPress lookup for find_posts_div, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - find_posts_div() WordPress function reference, arguments and ...
Signature. find_posts_div( $found_action = '' ). found_action: (unknown_type) Default: ''. Return. (void). Source. function find_posts_div($found_action = '') { ?> ...
queryposts.com