Can refer to the main page of the admin interface, or the admin interface as a whole

learn more… | top users | synonyms

18
votes
1answer
8k views

how to filter post listing (in WP dashboard posts listing) using a custom field (search functionality) ?

despite the fact I googled a lot, I've not found the answer to a very simple question : I have some posts with a custom field (ie supplier_name). I would like to be able to search and filter my posts ...
17
votes
3answers
25k views

Changing Admin Menu Labels

I have spent the last day using the functions.php file to fully customize WordPress for my client sites. I am amazed at how much I have been able to accomplish and how much easier it will make things ...
16
votes
2answers
4k views

Wordpress 3.8 - Dashboard 1 Column Screen Options

With the new Wordpress 3.8 under Screen Options they seem to have misplaced the "Columns" feature where you could put your widgets into 1 Column, 2 Columns, 3 Columns, or 4 Columns. My question is how ...
10
votes
1answer
333 views

WordPress dashboard, viewing CPT results in 504

I created a custom post type with a custom taxonomy. I have about 1500 posts all of which are assigned to some sort of taxonomy term...some being assigned to 200+ terms. I noticed that from the ...
7
votes
5answers
9k views

How to remove these fields from the 'Profile' section?

I have to remove some profile fields from the 'Profile' page according to the user roles. For removing the color picker I used remove_action("admin_color_scheme_picker", "admin_color_scheme_picker"). ...
7
votes
2answers
259 views

alphabetically order role drop-down selection in dashboard

The site I'm working on will have a very large number of unique user roles via a members plugin. Because of that, I'd like to have the Role drop-down selection on the Add New User page to display ...
7
votes
1answer
1k views

Add screen options to custom admin pages

I want to add screen options to my plugin settings page, like the ones that are available in the Dashboard. I tried using the add_option method of the WP_Screen object and found that it supports ...
6
votes
3answers
4k views

Determining WordPress' Version from the Host's Command Line?

Given that I can't access the dashboard/admin pages on my blog (that's a future question), and that I have shell access to my hosting server, can I find out the current version of WordPress from the ...
6
votes
4answers
2k views

Adding Custom Post Type Counts to the Dashboard

The dashboard conveniently tells me how many posts, pages, and comments I have. I would like it to tell me how many articles, videos and cartoons I have too (three custom post types registered with my ...
6
votes
2answers
7k views

Possible to hide Custom Post Type UI/Menu from specific User Roles?

What I'm looking to do is completely hide the UI for a custom post type from specific user roles...Ive previously found many resources on how to disable access to using those CPTs but nothing that ...
6
votes
3answers
5k views

Add “external” link to admin menu in the backend

Trying to add a link to my admin menu (dashboard/backend) that leads to the frontend of wordpress, so I basically want a link in the menu that takes me to the blog. I've found a couple of ways to ...
6
votes
1answer
556 views

Extend WordPress 3.8 Site Activity Dashboard Widget to include more comments

The new Site Activity dashboard widget defaults to showing 5 comments. I'd like to show 10. I can see the code in core /wp-admin/includes/dashboard.php where it calls the function ...
5
votes
4answers
4k views

How can I change the dashboard appearance?

Anyone can recognize the current Wordpress backend, but I don't want that. I want to change it using my own design and I want to have a seamless navigating experience for my users. How can I change ...
5
votes
2answers
4k views

3.3: How do you hide the new dashboard welcome panel?

I have tried various versions of this here: unset($wp_meta_boxes['dashboard']['normal']['high']['dashboard_wp_welcome_panel']); ...
5
votes
1answer
869 views

Hide php Notices in Dashboard

When I program a theme, I put WP-DEBUG on. Which ensure a proper PHP code. Sadly most Plugin developers keeps using non existing vars : echo $args['title']; Notice: Undefined index: title in ...
4
votes
1answer
256 views

show number of open comments on custom dashboard

On my custom dashboard, I want to show the number of total new comments (somehow like "right now"). Just like "You have ... open comments to take care of". So all I want is the total number not a list ...
4
votes
1answer
1k views

How can we customize the logo and some text on the welcome screen?

I have found discussions and solutions on hiding or removing the lately introduced Welcome screen. But we DO find the screen, as a whole, very useful and an excellent addition. So, what we are ...
4
votes
1answer
553 views

Local wordpress setup with SPAM in the incoming links dashboard section?

I am developing a website on my localhost and i just notice a bunch of incoming links in the dashboard's incoming links section, which doesn't look valid. When i visit the urls i don't see a reffer ...
4
votes
1answer
112 views

Display admin notice only on main dashboard page

I'm using following code to display a notification in the admin dashboard. I want to display only on the main dashboard page (index.php), however the following code would display on all pages in the ...
4
votes
1answer
2k views

How to change the default home page for the WordPress Dashboard?

Is it possible to change the Default "Home" admin page when logging into the WordPress Dashboard? I thought about a couple of possibilities... Substitute the content on the Dashboard home page ...
4
votes
1answer
131 views

Storing custom dashboard widget options in wordpress

I am using the Codex example to build a custom widget. The specific example seems to be working fine until you click configure and change options values. After you click submit, changes are not saved. ...
3
votes
2answers
3k views

Dashboard like meta boxes in my plugin - how to save their position and open/closed state?

I am trying to mimic the dashboard meta boxes UI in my WP plugin - the small metaboxes. I have already styled them and also the drag & drop feature works as I loaded the following script and ...
3
votes
2answers
98 views

Delete Custom Dashboard Widgets

Here is the code on how to delete all dashboard widgets - the default, and plugin widgets but I want to change the code to only delete custom dashboard widgets not the default ones. // Create the ...
3
votes
1answer
2k views

Can I set a default dashboard layout for all users?

I'm creating a multi-author blog, and have recently added the "Dashboard Notepads" plugin. This allows me to add 1 to 3 dashboard widgets which I can write custom notes in, like news or notices. Is ...
3
votes
2answers
90 views

Copy my user account's wp-admin dashboard layout to other users?

On the Dashboard tab in wp-admin in my user account, I have certain items hidden in Screen Options and I have the panels arranged in a particular way. I want to copy the same layout to my other ...
3
votes
1answer
733 views

Reset positions of metaboxes in admin

I am writing a theme and in it I have a function which creates two metaboxes. The forth parameter of the "add_meta_box()" function I used can be set to ( high, core, default or low). I want the boxes ...
3
votes
1answer
143 views

Force Network Admin Dashboard to 1 column on wordpress multisite

I am wondering whether anyone knows how to force the dasboard layout to 1 column on a wordpress Multisite install for the Network Admin Dashboard This is part of the solution but it does not force ...
3
votes
1answer
33 views

Hiding certain panels in dashboard

I want to hide certain panels in the dashboard, for example the Excerpt panel. This metabox has an id of postexcerpt. Is it a good idea to simply add some CSS rule like #postexcerpt { display: none } ...
3
votes
1answer
670 views

Localhost load-scripts.php Error 500 in Dashboard [closed]

I cloned a remote site on my local MAMP. I fixed pretty much all isues like permission issues and timthumb cache issue used by my Woothemes Fresh News theme. The only issue now is that the backend is ...
3
votes
3answers
906 views

Dashboard says “no posts found” even though there are some posts

I have a weird bug on the dashboard: the dashboard says there are a total of 3 posts, but the list is empty and says "No posts found" (see image below) It's a fresh install on a shared Windows ...
3
votes
2answers
88 views

How to develop a community feature in the dashboard for multiauthor site

I run a Wordpress site that has more than 300 authors. Is it possible to create some type of community in the backend (dashboard)? Ideally, a space where the authors can discuss with each other in a ...
3
votes
1answer
3k views

Embed iframe or html page into dashboard widget

I was wondering if it would be possible to embed an html page or add an iframe into a dashboard widget. I have a multi author blog and i want to make my admin section a simple as possible for some of ...
3
votes
0answers
29 views

WordPress admin webfonts (dashicons) go to blank squares after inactivity (random) [duplicate]

I'm using the new WordPress 3.8 and I've noticed that when I leave the admin page open in a tab, and return later, I'm getting a random thing happening with the dashicon fonts used for the menu icons. ...
2
votes
4answers
6k views

Hide dashboard from non-admin users

Is it possible to hide the dashboard completely from the Non-admin users and give them access to only New post and edit posts page? Thanks.
2
votes
2answers
311 views

Custom wp_welcome_panel for every role or custom dashboard

I would love to customized and dumb down my dashboard with custom icons, shortcuts, guides, etc. I can do this already using widgets, but I would like to dare and do something better. ...
2
votes
3answers
3k views

Change default admin page for specific role(s)

I was wondering if anyone knew of a plugin or a way programmatically to change the the default admin page for a specific user/role? I have a master panel page for my plugin currently setup with ...
2
votes
2answers
60 views

How to make post and comment count unclickable with dashboard_glance_items hook

I have a multi author site and I have already used some hooks to stop them from viewing other author's posts and media. Now, in the Wordpress Dashboard in the "at a glance" section it shows them the ...
2
votes
1answer
319 views

How to use control_callback when creating a widget via functions.php or plugin?

I've created a dashboard widget in my functions.php file. I want to have it be able to update some stuff in the database upon form submittal. According to the codex documentation, I should be ...
2
votes
1answer
79 views

Rearranging Dashboard meta boxes with use of plugin/functions.php

I know how to remove meta boxes from dashboard, also how to add new ones, but is there a method that allows to rearrange them, for example move from side position to normal with use of functions.php ...
2
votes
1answer
2k views

How to manually activate user in dashboard only by admin

I'm looking for a function that allows admins (only) to activate new users. When a user registers he have to be approved by the admin before he gets access to log in. Does anyone know how I can do ...
2
votes
2answers
54 views

Dashboard Disappears after Upgrade

Following a recent upgrade to WP and MySQL one site that has a custom built plugin throws a Fatal error: Fatal error: Cannot re-assign auto-global variable _REQUEST in ...
2
votes
2answers
1k views

Enqueue script in specific page

I am building a wordpress theme with a theme dashboard with options, but as I read somewhere, the enqueue script code I am using just enqueues it in the backend but it loads in every page in the ...
2
votes
1answer
306 views

How to minimize WP dashboard menu programmatically?

I'd like to programmatically (either with js or php, but I imagine it'd simpler with js) hide the dashboard admin menu using the same functionality that is already built in. All I want is, when the ...
2
votes
2answers
241 views

Different rss feeds in a single dashboard widget

I am using this snip of code to get rss feed on my dashboard as widget. It becomes problematic when it displays 5-6 different rss feeds which makes me run down deep. How can I add 6 different feeds ...
2
votes
3answers
2k views

How to disable or hide “collapse menu”

Is there a code in functions.php that I can add to disable or hide "collapse menu" button? The one that is on the left side of the admin menu in the dashboard. I'd need it for both admin, authors, ...
2
votes
2answers
471 views

Reorder dashboard widgets

I recently tried to reorder the dashboard widgets by writing a plugin. I accomplished this: with the following code: <?php /* * Plugin Name: Custom Dashboard * Description: Custom dashboard ...
2
votes
1answer
93 views

Compatibility with RTL installations

I want develop a plugin that add boxes and menus in WordPress backed. What I have to keep in mind to make it compatible with WordPress RTL installations? Any idea or suggestion will be appreciated. ...
2
votes
1answer
511 views

Add new section to “Right Now” widget

I've been hacking away at modifying the "Right Now" widget in the WordPress dashboard, and although there are some hooks/filters which apply to just that, they are sparsely documented or explained. ...
2
votes
2answers
2k views

How can I hide certain submenus of the Settings tab in the dashboard?

I'd like to hide certain menus like Media, Privacy, and Permalinks. I've been using the following code to hide entire parent menus but not sure how to go about for submenus. function remove_menus () ...
2
votes
2answers
112 views

Dashboard Whitescreen of Death?

I can login into the Dashboard and see the menu of the left, it shows that there are 7 plugin updates and a WordPress update required but on the right I have a blank screen, I can see the update to ...