Articles of wp admin

Hooking into register_admin_color_schemes

I’m using WordPress 4.6.1, is it possible for us to hook into function register_admin_color_schemes() located in wp-includes/general-template.php? This way we can send or concatenate or bind the following code to that function: wp_admin_css_color( ‘ffa’, _x( ‘My Custom Color Combo’, ‘admin color scheme’ ), admin_url( “/my-plugin=directory/css/colors/my-custom-color-combo/colors$suffix.css” ), array( ‘#ffffff’, ‘#ffcd00’, ‘#c7a589’, ‘#9ea476’ ), array( ‘base’ => […]

Why am I unable to login after converting to www?

So I originally designed the site without the www. I’ve since realized that it’s going to cause more problems than necessary. I created a rewrite rule that converts to www. I then changed the domain in wp-config define( ‘DOMAIN_CURRENT_SITE’, ‘openeye.net’ ); define( ‘PATH_CURRENT_SITE’, ‘/’ ); define( ‘SITE_ID_CURRENT_SITE’, 1 ); define( ‘BLOG_ID_CURRENT_SITE’, 1 ); define(‘WP_HOME’,’http://www.openeye.net’); define(‘WP_SITEURL’,’http://www.openeye.net’); […]

Create a admin page in wordpress without admin menus (“wordpress sidebars”)

I’m creating a new page in WordPress admin for a theme. In this new page will be a list of people registered (in a form), but with few details / information. So when a person clicks on something, I would like to open a “pop-up” (with all information) but not display this popup/page in the […]

add a class when login

i add this code in index.php. <div class=”Div1″></div>. then write some css(absolution position) to the Div1. so when i login in my wordpress. the admin nav will push down some spaces to the site body. so the conetent shows unnormal. now, i want to add a class to <div class=”Div1″> when logins. is there a […]

Excerpt textarea missing on post editing page in admin panel

Why is that? It’s a new installation. EDIT: I don’t have plugins installed and I tried to restore default theme to Twenty Ten, but it didn’t change anything.

why my menu is not appearing on the admin panel

i am new to wordpress so you can except a lot insane coding below. What i want is to give one option in the adminpanel of wordpress to my client under the Pages->MergeImage. when the client will click on MergeImage option appearing under the Pages Widget i want to display him my custom form . […]

Add text to post list/edit screens?

I’d like to add some descriptive text underneath the page title on both the list and edit post screens for the default post and also custom post types – e.g. “Below is a list of your recent blog posts.” What’s the best way to do this?

Embed WordPress Admin in an iframe

I am trying to embed the admin “new post” WordPress page into an iframe: <iframe height=”500px” frameborder=”0″ width=”740px” src=”my_wordpress_domain/wp-admin/post-new.php”/> For some reason the iframe loads a blank page. The link itself works in a separate tab and so does the wordpress home page. Is this a security issue, if so, how can I circumvent it?

How can I add an extra admin column showing the word-count of a page or post?

For the ‘view all’ screens which list posts (edit-post) and pages (edit-page) how can I add an extra admin column with the word count of individual posts/pages? Having previously used the ‘admin columns’ plugin, and aware of alternatives, I’m wondering if there’s a simpler filter/function?

submit for review issue

I have installed WordPress on my linode vps and it was running without a problem till today. Today I realized I dont have admin rights to post a page in wp-admin. It doesn’t show me submit button, it shows me “submit for review” button instead. It is very odd because I am logged in with […]