New answers tagged

1 vote

Hide Status Option From WordPress Publish Metabox and Rename Published on:

Both those strings seem to be located in wp-admin/includes/meta-boxes.php. They don't have any filters attached to them, so they're not meant to be (easily) altered by your code. However, both those ...
user avatar
  • 10.4k
0 votes

adding the category to the admin column for a custom post type?

Nearly the same question: i want a extra column "categorie" in the admin screen. "categorie" is a taxonomy made with Divi Machine. The slug is art_category In my child theme ...
user avatar
0 votes

How to make an admin plugin menu page go full screen?

Per the comments, it doesn't seem there is anything built in for this. I included this code in my page to hide the admin menus: <style> #adminmenumain, #wpadminbar { display: none; ...
user avatar
  • 141
1 vote

404 error comes up when I go to wp-admin after first installation

Two issues seem likely: Your DNS changes haven't propagated yet. It takes awhile for the DNS change to spread across the internet. Give it 1-2 hours and try again. [Hostgator recommends pointing ...
user avatar
  • 183
0 votes

Change label of title field for posts in the backend

It is not possible to add HTML to it. For example, wp-admin/edit.php uses the following code: <h1 class="wp-heading-inline"> <?php echo esc_html( $post_type_object->labels->...
user avatar
0 votes

How can I diagnose a slow Wordpress admin?

To debug a slow wordpress site, you need to install a Profiler If your wordpress admin area is loading slow because PHP is spending a long time generating the page, there could be a number of reasons ...
user avatar
1 vote
Accepted

How to replace username with email address in users table

It seems that the username column content is hardcoded in single_row() of WP_Users_List_Table and there isn't a filter you can use to change it. A hacky way is to enqueue some javascript on the users ...
user avatar
0 votes

How to replace username with email address in users table

function wpse406344_replace_usernames() { //Get all the users $users = get_users(); //Loop through them and update user_login table foreach( $users as $user ) { ...
user avatar
  • 2,680
1 vote

How to add Extra Column of post Status in All post page

The last function doesn't work. Use this instead to fill the status column: // Add the data to the post columns: add_action( 'manage_post_posts_custom_column' , 'custom_post_column', 10, 2 ); function ...
user avatar
  • 23
1 vote

add_submenu_page() issue

edit.php?post_type=weather isn't a valid PHP function name. If you're trying to set the menu up as a submenu of your custom post screens, I think edit.php?post_type=weather—the $parent_slug—should be ...
user avatar
  • 10.4k

Top 50 recent answers are included