install_themes_dashboard [ WordPress Function ]
install_themes_dashboard ( No parameters )
| Defined at: |
|
Soorgelijke functies: install_dashboard, install_themes_upload, install_theme_search_form, install_themes_feature_list, install_theme_information
Display tags filter for themes.
Source
<?php
function install_themes_dashboard() {
install_theme_search_form( false );
?>
<h4><?php _e('Feature Filter') ?></h4>
<p class="install-help"><?php _e( 'Find a theme based on specific features.' ); ?></p>
<form method="get" action="">
<input type="hidden" name="tab" value="search" />
<?php
$feature_list = get_theme_feature_list( );
echo '<div class="feature-filter">';
foreach ( (array) $feature_list as $feature_name => $features ) {
$feature_name = esc_html( $feature_name );
echo '<div class="feature-name">' . $feature_name . '</div>';
echo '<ol class="feature-group">';
foreach ( $features as $feature => $feature_name ) {
$feature_name = esc_html( $feature_name );
$feature = esc_attr($feature);
?>
<li>
<input type="checkbox" name="features[]" id="feature-id-<?php echo $feature; ?>" value="<?php echo $feature; ?>" />
<label for="feature-id-<?php echo $feature; ?>"><?php echo $feature_name; ?></label>
</li>
<?php } ?>
</ol>
<br class="clear" />
<?php
} ?>
</div>
<br class="clear" />
<?php submit_button( __( 'Find Themes' ), 'button', 'search' ); ?>
</form>
<?php
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- wp-admin/includes/theme-install.php source
75 * 76 * @since 2.8.0 77 */ 78 function install_themes_dashboard() { 79 install_theme_search_form( false ); 80 ?> 81 <h4><?php _e('Feature Filter') ?></ h4> ...
phpxref.ftwr.co.uk - PHPXRef 0.7 : WordPress : Detail view of theme-install.php
install_theme_search_form() install_themes_dashboard() install_themes_upload () display_theme() display_themes() install_theme_information(). Functions ...
phpxref.ftwr.co.uk - <?php /** * WordPress Theme Install Administration API ...
</form> <?php } /** * Display tags filter for themes. * * @since 2.8.0 */ function install_themes_dashboard() { install_theme_search_form( false ); ?> <h4><?php ...
core.svn.wordpress.org - #18724 (Non functioning 'paged' input on theme/plugin search ...
... two places: For themes: install_themes_dashboard function in wp-admin/ includes/theme-install.php; fired from the install_themes_table_header action in ...
core.trac.wordpress.org