Show only childs and grandchilds of certain post in admin

Without seeing your code and arguments you are using in parse_query filter, I can be certain, but if think the post_parent__not_in query argument achieves what you want. function wpse_282340_exclude_posts_from_admin($query) { // bail early if we are not in the admin side if (!is_admin()) { return $query; } global $pagenow, $post_type; // check if we are … Read more

Disable flyout (popup) menus in backend

Actually I have found the solution in modern version of wordpress, to disable flyouts a custom CSS of #adminmenuwrap { overflow: hidden; } should be added. I’ve answered in the old theme as well, so if moderators will not delete my answer there again, this topic is redundant

WordPress wp-admin login problem

yes, it’s normal. If your user and password not working. Then You need to put default user id and password User: admin Password: admin or User: Human password: admin after then you need to use your original user id and password.

adding existing menu page on new customer user role

Okay, I give you an answer based on capabilities and not role. You’ll find a way to hide it for other role if you want (you have the code in your question). add_menu_page requires some parameters, hook and callback to work : https://developer.wordpress.org/reference/functions/add_menu_page/ // Here is your hook to add page to the menu add_action(‘admin_menu’, … Read more

Child theme loses wp-admin styling

I found that adding this to my ‘smart-mag-child’ functions.php file worked. add_editor_style( get_template_directory_uri() . ‘/style.css’ ); If someone can show me documentation to how to properly do this that would be appreciated. Edit: Dokumentation about this to understanding why it works. add_editor_style() – Add callback for custom TinyMCE editor stylesheets. get_template_directory_uri() – Retrieve theme directory … Read more

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