WordPress not displaying columns to hide/show on screen options

I have also the latest version and the options are there That should be some code doing that,in your theme functions.php file or in some plugin because wp have them. You have there something call ninja popups, try to disable that plugin, the options should appear again, once I dont know that plugin, possibly that … Read more

how can display a post on home screen without images

This should help you.. <?php function remove_images( $content ) { //Run only on the front page, in your case the homepage if(is_front_page()) { //Remove the images $postOutput = preg_replace(‘/<img\b[^>]++>/i’,”, $content); //Get the first 200 characters only, you can change the number if you want $postOutput = wp_html_excerpt($postOutput, 200); return $postOutput; } return $content; } add_filter( … Read more

Automatically show ‘taxonomy’ meta box by default in Appearance > Menus?

Thanks @guiniveretoo, perfect 🙂 Finally this is how I did (this code is used for the menu page screen options): /* Just use to find your screen_id */ add_filter(‘current_screen’, ‘the_current_screen’ ); function the_current_screen($screen) { if ( defined( ‘DOING_AJAX’ ) && DOING_AJAX ) return $screen; print_r($screen); return $screen; } /* Just use to display the options … Read more

Add simple field column to the posts screen

Ref. https://codex.wordpress.org/Plugin_API/Action_Reference/manage_posts_custom_column Just use the WP built in action called “manage_posts_custom_column” and in callback check for the correct column and add simple_field value with the function simple_fields_value : add_action( ‘manage_posts_custom_column’ , ‘add_new_column_data_in_posts’, 10, 2 ); function add_new_column_data_in_posts( $column, $post_id ) { switch ( $column ) { case ‘premium’ : echo simple_fields_value(“simple_field_slug”, $post_id); break; } }

Force 3 Column Dashboard Widgets

Yes it is. Paste this code in your theme’s functions.php file. // Change dashboard widget width function change_dashboard_column_width() { ?> <style> @media only screen and (min-width: 500px) { #dashboard-widgets .postbox-container { width:33.3% !important; } } </style> <?php } add_action(‘admin_head’,’change_dashboard_column_width’); To force 2 columns, change the width to 50%. For 4 columns, change it to 25%.