Set a dashboard widget to the top?

Unfortunately there is no way to force a dashboard widget to the top, however following this link should help you…in a way. Note: Unfortunately this only works for people who have never re-ordered their widgets. Once a user has done so their existing preferences will override this and they will have to move your widget … Read more

A message to clients in the dashboard widget received from another site

No, iframe is not a good desicion. The best option is creating a custom api. WordPress has a REST API with the ability to add custom endpoints: https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/ If you’re familiar enoigh with coding, you can create a custom api that shows the message that you want and in the client site, write a code … Read more

How to hide the tags “all, publish, thrash, draft, pending” for authors posts but not for the administrator?

You need to return the $views for admins, thats why you don’t see anyting. EDIT: IMPORTANT, you are using a action but you need to use filter function remove_edit_post_views ($views) { if (!current_user_can(‘manage_options’)) { unset($views[‘all’]); unset($views[‘publish’]); unset($views[‘trash’]); unset($views[‘draft’]); unset($views[‘pending’]); return $views; } return $views; // this is the missing piece } add_filter(‘views_edit-post’, ‘remove_edit_post_views’); You can … Read more

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