Other than save_post any other actions on add / edit post screen?

you can use load-{page-hook}. It is called prior to the admin screen loading. add_action( ‘load-post-new.php’, ‘post_listing_page’ ); function post_listing_page() { // ‘add new’ page, you may have to check post type.. } {page-hook} on the ‘add new’ page of any post type, it is post-new.php {page-hook} on the edit page of any post type, it … Read more

Black admin bar is being hidden by page elements

The styles for the admin bar are generally printed in the head of the site, so perhaps your CSS code is being undone as the printed styles for the admin bar appear after your included style sheet. Maybe by using the wp_head action you can stop this, placing something like this in your functions file … Read more

WordPress multisite, allow non super admins to create sites

In multisite installation there already is a default admin and super-admin role, and if standard capabilities are different than what you want you can modify them: A default set of capabilities is pre-assigned to each role, but other capabilites can be assigned or removed using the add_cap() and remove_cap() functions. New roles can be introduced … Read more

Excerpt showing under title in admin columns

Atlast i found the solution, it was very silly mistake. It got nothing to do with plugin or theme or any code. It was one of the WordPress settings which i didn’t realize. Following pic shows the option to switch between excerpt view and list view of posts in wordpress. I by mistake selected excerpt … Read more

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