How to remove some author fields from the edit comment page in wp-admin?

There is no filter hook to customize comment edit fields on admin page. However you can hide those two fields using CSS, add the code below on your active theme. function wp_ste_remove_commentfields() { global $pagenow; if ( $pagenow != ‘comment.php’ ) return; ?> <style> .editcomment tr:nth-child(2), .editcomment tr:nth-child(3) { display: none; } </style> <?php } … Read more

Put featured image under post title in admin area

add_action(‘admin_head-edit.php’, function(){ add_filter(‘the_title’, function( $title, $id ) { return $title . the_post_thumbnail( ‘thumbnail’ ); }, 100, 2); }); Will produce 2 images because there are two titles on custom posts, apparently. One that is hidden and one that isn’t. Adding the image markup to the hidden element will break the CSS that hides it. So … Read more

Admin Page access

As i can not allowed to comment, I post it here: Please Make sure when you are login to wp-admin, in usermeta table you have a role of ‘administration’ in $prefix->capabilities meta_key. Because this Message comes when you try login, that user has different role other than admin. Thank you.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)