**Saving custom fields in quick or bulk edit mode in WordPress**
„http://wpdreamer.com/2012/03/manage-wordpress-posts-using-bulk-edit-and-quick-edit/“:http://wpdreamer.com/2012/03/manage-wordpress-posts-using-bulk-edit-and-quick-edit/
One of the most cool features when managing WordPress posts, is the ability to batch edit multiple posts at once or quickly edit one post to perform a simple task such as adding a tag. Learn how to extend WordPress’ Quick Edit and Bulk Edit to retrieve and save the value of your custom fields.
**Plugin Custom Bulk/Quick Edit**
„http://wordpress.org/plugins/custom-bulkquick-edit/“:http://wordpress.org/plugins/custom-bulkquick-edit/
„https://github.com/michael-cannon/custom-bulkquick-edit“:https://github.com/michael-cannon/custom-bulkquick-edit
„How do I add custom fields to my bulk/quick edit page »“:https://aihrus.zendesk.com/entries/24800411-How-do-I-add-custom-fields-to-my-bulk-quick-edit-page-
„How do you configure options »“:https://aihrus.zendesk.com/entries/24911342
Pozor, do functions.php *může* být nutné přidat:
/—code php
add_filter( ‚manage_post_posts_columns‘, ‚my_manage_post_posts_columns‘ );
function my_manage_post_posts_columns( $columns ) {
$columns[‚custom_field_name‘] = esc_html__( ‚Nazev sloupce v administraci‘ ); // pozor, název sloupce musí být bez diakritiky
return $columns;
}
\—
a teprve **po přidání** tohoto kódu je třeba zpřístupnit pole v nastavení pluginu.