Tools for site administration located in the `wp-admin` directory of a WordPress site.

learn more… | top users | synonyms

0
votes
1answer
281 views

Error establishing a database connection

I was in the midst deleting trash file and the internet connection is becoming really slow. When I clicked the Products tab in the wp-admin it says that: "Error establishing a database connection", ...
11
votes
1answer
670 views

Plugin API for easy admin list table generation, handling & exporting of MySQL tables?

I'm aware of the WP_List_Table class (which has helped tremendously as it stands). However, I'm hunting for something even more capable - some form of API whereby you could simply 'register' a MySQL ...
0
votes
1answer
232 views

Renaming wp-admin without hard-coding it. Is it really possible?

I would like to rename my wp-admin folder due to some security concerns. Is it really possible? The less it looks/is built like default WP, the harder it is to attack known vulnerabilities. Being ...
0
votes
1answer
177 views

Modify “Recent Comments” List in WP-Admin

This one might be a little tricky, but I'm looking for a way to make the Recent Comments widget on the wp-admin a bit more useful/action-driven. I'd like to be able to filter to only show the Pending ...
3
votes
2answers
880 views

How to disable 3.3 Tooltips?

I find the 3.3 Tooltips annoying when I'm upgrading many live and dev sites. How do I disable them via functions.php? Unenqueue wp-includes/js/wp-pointer.js ?
6
votes
2answers
5k 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
109 views

Reordering themes in admin panel

I've been searching for a hook to change the order in which themes are displayed in the admin panel (i.e. wp-admin/themes.php) but so far haven't been successful. Is there an existing hook to do ...
0
votes
2answers
30 views

Functions containing parameter 'yourtheme'

I had a colleague create a new theme and while doing so he copied an old theme and made the changes necessary. Now, in many of the files, there are functions that contain the old theme name in the ...
5
votes
3answers
2k views

sortable custom column in media library

trying to make a custom column sortable in the media library. Found lots of examples for posts, and users but can't get them to work on the media library page. function wpse_hook_isv_columns() { ...
1
vote
1answer
1k views

Generate PDF using tcpdf from WordPress admin side custom page [closed]

I'm generating PDF using tcpdf library in WordPress admin side. but getting the following error. TCPDF ERROR: Some data has already been output to browser, can't send PDF file It has header_sent() is ...
0
votes
1answer
659 views

Removing fields from category/taxonomy edit form

Terms like 'slug' and 'description' on custom taxonomy edit pages tend to mislead my client. Is there a way of removing these from the page flow? At the moment I'm using JavaScript, which isn't ideal. ...
1
vote
1answer
51 views

How to add a button which saves the post then executes a function

Currently, I have a function called 'pub_notification' in my functions.php file which sends an email when the post is published, using the following code: add_action('publish_post', ...
1
vote
4answers
1k views

How to prevent parent admin page from appearring as a child admin page

I am using this code: add_menu_page($page_title, $menu_title, $this->capability, $menu_slug, $function); Which is adding top level admin page. When I add: add_submenu_page( $menu_slug, 'sub ...
0
votes
3answers
1k views

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, ...
0
votes
1answer
302 views

How can I modify page <h2> content in the admin panel?

I'm modifying the layout and content of the wordpress admin panel using a custom plugin. For most sections I have been able to change the page heading (i.e. the title wrapped in h2 tags at the top of ...
0
votes
1answer
221 views

WordPress menu to change page title

I am using wp_list_pages. I am unable to change page title For eg:- I made a page with name lorem ipsum and want to show in content area the same name i.e lorem ipsum. But in menu, I want to show ...
0
votes
2answers
668 views

customizing wp user with custom fields

I want to allow the admin of a site i'm building to highly customize the wordpress user. This will be a highly advanced plugin so I'm fine creating a whole new page in the admin to do this ...
0
votes
2answers
2k views

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 ...
3
votes
1answer
2k views

Custom column for changing post status via ajax

I'm currently trying to implent a new custom column at the page manage screen that will let me change the status (published/pending) of the different pages via an easy toggle link. From what I've ...
0
votes
1answer
261 views

comment_form - show all fields when logged in

I'm using the http://codex.wordpress.org/Function_Reference/comment_form in my comments. If logged in I'm seeing only the textarea for my comment, not the fields for e-mail and name. Question Is it ...
0
votes
1answer
3k views

Custom admin post.php page

I'm working on a CPT but I need to have more control over the layout of the post/edit page (post-new.php and post.php). I thought hacking through admin_init would be the best option, but I can't get ...
1
vote
2answers
498 views

Not Found (404) error on admin page, CSS gone on blog

I manually installed wordpress on my server and the wordpress files are located in "www.mydomain.com/wordpress/", however I wanted my "www.mydomain.com" to be the address for my wordpress blog instead ...
1
vote
0answers
331 views

Getting post meta data, while editing a post in wp-admin panel [closed]

is there any chance of getting post meta data while editing post in wp-admin? For example - $price = get_post_meta($post->ID, 'price', true); isn't working, and it won't return post meta data, ...
0
votes
1answer
1k views

Admin top level menu, pointing to an external url

I want to create a entirely new top level menu in the admin menu section, and have that be an external link, is this even possible with the current system? The solution that t31os provides in this ...
1
vote
1answer
94 views

maintaing consistent layout wordpress dashboard

I am developing a functionality in WordPress so that once user updated any information admin can approve/reject the information only after which it should get published in the front users,in specific ...
5
votes
1answer
964 views

how to group custom post types

hi wanted to know do i group my custom post types to appear together in a group in the wordpress back end menu bar like this below in the picture what code do i have to use in my functions.php so that ...
1
vote
1answer
268 views

Target a certain page within wordpress backend (admin) i.e. Pages > About

How can i progammatically see if the page that is currently open in the wordpress admin is 'About-Me'; I wish to run specific functions depending on the page the user is editing in the ...
1
vote
3answers
358 views

Hide extra menus from Wordpress Dashboard

How can hide extra menus from Wordpress dashboard. That is some plugins gives plugin settings menu may under Settings or anywhere else, how we can hide all this type of extra menus while plugin active ...
1
vote
2answers
2k views

How can I set up multi language admin ui?

I will have two admin users, one of them only speaking italian and the other only speaks english. How can I setup multi-language admin user interface?
1
vote
0answers
272 views

How to correctly make admin pages for custom tables which don't show in the menu? [closed]

I have to create a custom table to store data for a client because they want a very precise search capability. I already have this working with custom post types and using custom fields, but with 800+ ...
1
vote
1answer
237 views

Where did the screen options menu go?

Where did the screen options menu go? I can't seem to find it anywhere in the new "improved" admin interface. Screenshots from the dashboard page:
3
votes
2answers
638 views

How to disable admin flyout menus?

Seriously, I hate flyout menus with a passion, and now they're popping up all over the place in the admin screen. (They are particularly heinous when you use the blue admin theme, because they add a ...
-2
votes
1answer
1k views

Is it possible to tell if a user is logged into Wordpress from looking at the cookies which are set?

Is it possible to tell if a user is logged into Wordpress from looking at the cookies which are set on a site? If not, how could I add hooks to the login success and logout actions and set my own ...
1
vote
1answer
582 views

Wordpress 3.2 Admin UI Guide

Is there such a guide somewhere so that I could use standard UI elements (especially since the 3.2 rewrite) instead of marking up my own? Like the Categories metabox tabs for example.
0
votes
1answer
495 views

Making plugin to use different table prefix cause permission problem

I have multiple wordpress websites that uses the same files and database but with different table prefixes, I use a plugin "Shortcode Exec PHP" and I would like to use the same shortcodes on all the ...
0
votes
1answer
2k views

Uncaught SyntaxError: Unexpected Token Illegal

I have a local install of Wordpress running & I am suddenly getting these errors in my console when I open a modal window (such as file upload): Uncaught SyntaxError: Unexpected token ILLEGAL ...
1
vote
1answer
841 views

Admin table list API?

wp-admin table lists - like post list Is there a API or something to build table lists in wp-admin? With table lists I mean like the list of posts for example. It has columns, sorting, paging and so ...
0
votes
2answers
268 views

Manipulate list of themes in wp-admin

I'm running a multisite network with 100+ themes installed and activated. Is there a way to manipulate the list of available themes in wp-admin so that certain themes appear in the list first? (a kind ...
0
votes
1answer
128 views

wp-admin blocking causing http error on uploads

I'm using this function to prevent users apart from admin from getting to the backend of wordpress. (Note, that addition to allow ajax requests too): add_action( 'init', 'my_block_users' ); function ...
0
votes
1answer
2k views

How do you force the wordpress dashboard to be 1 coulmn by default?

How do you force the wordpress dashboard to be 1 coulmn by default? I want to show the dashboard as a single column for all users.
0
votes
1answer
479 views

Disable or lock parent pages from being edited in wordpress admin

Is there a way to disable or lock parent pages from being edited in wordpress admin? I only want the children pages to be editable.
0
votes
1answer
643 views

blocking the admin section (but still using admin-ajax.php)

I am building a community based WP site at the mo and have blocked anyone bar admins from using the admin section on the site with: add_action( 'init', 'sw_block_users' ); function sw_block_users() ...
1
vote
1answer
353 views

Where can I edit Admin Panel Page file

I need to edit the "Help" section of the "Page" page in the Admin panel. Since wordpress doesn't allow multiple line breaks I need to make sure the user knows that if they add the "" tag in the HTML ...
2
votes
2answers
1k views

Add column to pages table

Hey all i am trying to find the section within the edit.php page where it populates the table with all my current pages. What i want to do is add another colum to the table in order to launch a side ...
3
votes
1answer
834 views

Remove date and category filters when editing custom post types

The answers to this question give excellent instructions for adding filters to the admin edit.php screen for custom post types. But they don't explain how to remove the existing filters on date and ...
2
votes
2answers
3k views

WordPress User Roles, Custom Post Types, and Admin views

My friend mentioned that there is a simple way to modify what users see in the admin sidebar based on their user role. I have a large number of custom post types, one for each user, and I need to ...
0
votes
3answers
1k views

Where can I find admin-header.php file online?

I am using Wordpress for my website. I was working on CPANEL yesterday and was browsing public-html/wp-admin folder under the File manager. There were many files and I accidentally deleted the ...
3
votes
3answers
2k views

Use tag interface for hierarchical taxonomy?

Custom taxonomies are great. I registered a bunch of new taxonomies and wrote an importer to import our hierarchical taxonomy into WordPress a la XML. The problem is one taxonomy has about 1,100 terms ...
6
votes
3answers
971 views

How to filter by post-format in admin?

I need to filter my posts by Post-Formats in admin ? How can I do that ? For now, Wordpress allows to filter by Categories and Dates.
0
votes
1answer
111 views

Display Plugin Panels Outside of Admin Areas

I'm trying to find a way to display the work area content of different plugins on pages/posts/areas aside from the admin backend. For example, how would I display the options panel for a certain ...