Add column to pages table

Also an tutorial with an solution for page and post to add thumbnail in a column: http://wpengineer.com/1960/display-post-thumbnail-post-page-overview/ Change the content from thumbnail to your content and remove the hooks for post: // for posts // add_filter( ‘manage_posts_columns’, ‘fb_AddThumbColumn’ ); // add_action( ‘manage_posts_custom_column’, ‘fb_AddThumbValue’, 10, 2 ); // for pages add_filter( ‘manage_pages_columns’, ‘fb_AddThumbColumn’ ); add_action( ‘manage_pages_custom_column’, … Read more

Multi site clarification

Here is what I think you need to do Create a NEW multi site blog on the new “master” domain with WP 3.0 Create a new empty blog the the url h..p://www.mysite.com/oldblogname Export you old site and input inport into the new blog You need to check that all the images get copied to the … Read more

Display update notification messages like ‘What’s New’

You can hook into in_plugin_update_message-{$file}. For the above plugin, the according code looks as follows: add_action(‘admin_menu’, array($this,’admin_menu’), 11); function admin_menu() { global $pagenow; if( $pagenow == ‘plugins.php’ ) { $hook = apply_filters(‘acf/get_info’, ‘hook’); add_action( ‘in_plugin_update_message-‘ . $hook, array($this, ‘in_plugin_update_message’), 10, 2 ); } } function in_plugin_update_message( $plugin_data, $r ) { $version = apply_filters(‘acf/get_info’, ‘version’); $readme … Read more

Making the category & tag Description textarea bigger

Hook onto the edit-tags page and insert some additional styling to adjust the textarea, the ID remains the same for post tags, categories and i think other taxonomies to.. Adjust CSS for taxonomy management page Example only, tailor to suit you needs. add_action( ‘admin_print_styles-edit-tags.php’, ‘resize_description_field’ ); function resize_description_field() { ?> <style type=”text/css”> textarea#tag-description { height:300px!important; … Read more