Articles of wp admin

Admin Blank Page with Working Front-End After Updating to WordPress 4.6

Trying to open my website admin it giving me internal server error 500 The website working fine from the front end. How can I access my admin and how to solve this issue?

How to disable automatic excerpt generation *in admin*?

I’m adding a custom column named Excerpt with Codepress Admin Columns, and would like to know specifically when the Excerpt has not been filled out. Instead WordPress shows post content automatically, if the excerpt is missing. This is also testable by switching on the “Excerpt View” from post list screen. Implementing default_excerpt hook doesn’t seem […]

WordPress custom permalinks not working on OS X localhost

When changing premalinks, none of the pages and links are not working except home page 🙁 Result are shown below. Thanks in advance.

Use 'parse_query' filter to show posts that from multiple criteria

I am trying to filter the Posts page in the WordPress admin to show posts that meet the criteria for “A” -or- the criteria for “B”. I’ve scoured documentation and can’t find a good way to do this. Details: I’ve scoped user roles so that authors can only edit their own posts. However, I’ve added […]

WordPress shows my picture in admin bar

I have installed wordpress on my dev but during installation, I did not upload any picture for my profile but on admin bar, it is showing my picture. How I can remove it?

Custom rewrite rule for backend/admin?

I would like to create a custom rewrite rule that will take the URL: http://domain/submit-project/add but display http://domain/wp/wp-admin/post-new.php?post_type=project Is there any way to do this? I am trying to add the rewrite rule so in my theme’s functions.php add_action( ‘init’, ‘add_custom_rules’ ); function add_custom_rules() { add_rewrite_rule( “^submit-project/add”, “/wp/wp-admin/post-new.php?post_type=project”, “top”); } I’ve tried flushing the rules, […]

How to get the password and username of the add new user form (admin back end) in wordpress

I am trying to get the username and password that entered by the wordpress admin in the add new user screen to use those into creating a webmail account using cpanel api. How to do that? is there is any hook for it? Also, When the user id changing his password, I want to get […]

Select box saves but doesn't update value in admin

I have a select dropdown in my custom meta box in the admin area. It offers two options Approved and In Progress. When I select an option and save it the database is updated, but the value in the admin area is not. What I see is the first item from the list displayed in […]

wp-login.php — redirect logged in users to custom URL

When a user login, we can easily change the redirect URL (see this, this, or this), but if the user goes to /wp-login.php, they will be redirected to the dashboard if they are already logged in. My question is, when the user visits /wp-login.php and is already logged in, how can I redirect them to […]

Change top level menu item to point to custom submenu item

I’m using a plugin called CMS Page Order (Now referred to as CPO) It’s pretty simple, the said plugin adds a new item to the submenu of every custom post type. The menu item leads to a page where you can reorder the posts of the certain post type. I’ve added so that you […]