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

learn more… | top users | synonyms

0
votes
0answers
23 views

Wordpress site stopped working after simply opening header.php in the wp-admin editor

I opened header.php inside the wp-admin editor and suddenly the actual site is filled with diamond shaped question marks. Admin area still works. The weird thing is that I didn't even perform any ...
-1
votes
1answer
51 views

Loading jQuery library from WordPress admin

When we are developing Themes, we are taught to enqueue the jQuery library if necessary, because no jQuery library is available on the front-end of WordPress (if I'm not wrong). But when we are into ...
0
votes
0answers
65 views

On IIS 8.0 wp-admin returns 404, wordpress/wp-admin does not

Settings: we have a WordPress website running on IIS 8.0 in a shared hosting environment. Permalinks are set on Post name. Web.config has been edited on purpose (please find that below). Site root ...
0
votes
0answers
29 views

is_admin() triggers error

I've a plugin which includes other files and it looks like that : if( is_admin() ) { require( DIR. 'file.php' ); } In this file I run a class. This class is initialized on plugins_loaded. ...
0
votes
0answers
23 views

aMember access blocked by wp admin

I've recently changed host and was required to move my aMember folder under http://example.org/wp-content/amember - whereas before it as in http://example.org/amember. Since then I cannot login as an ...
3
votes
2answers
82 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 ...
0
votes
2answers
154 views

Add Post Screen Keep Category structure

So on the add post screen in wordpress there is the category checkbox div. Before you select a category for your post it shows the correct hierarchical structure as defined in the category admin ...
0
votes
0answers
35 views

add_post_meta displays in admin edit area

I use a simple way to add_post_meta() to wp_insert_post(). Everything's working fine, except my meta box doesn't appear in admin area. Is there a simple way to do that? <?php $condition = ...
0
votes
1answer
73 views

Why adding Categories does not auto refresh in Backend while using my custom theme?

If I am using my own created custom theme, the Post Categories Page in admin panel is not getting updated automatically when I add a new Category. To see the new category I have to reload the page ...
0
votes
1answer
80 views

How make a custom search on backend in Wordpress without plugin?

I have a post type called usr_jardin with a custom field called sim_nuip. I would like to get the search to work for the title of the post and also by custom field . I try this but does not work me. ...
1
vote
0answers
48 views

Resetting admin post form on JS validation fail

I've got a custom plugin with a metabox and dynamic form (the user can ask for more elements of the form), with jQuery Validation plugin working great. The problem is when the validation comes back ...
0
votes
2answers
2k views

wp_list_tables bulk actions

How to fire on bulk actions inside of an extended WP_List_Table. I have been adding the following bulk actions to may table's select box but on Apply won't really happens anything here are how I ...
0
votes
1answer
62 views

Customise Wordpress Update Notice in wp-admin backend area

Is there any way to customise the wordpress update notice in the backend admin area? I want to make it so that I can change the Please update now to Please contact now and link to a different URL. ...
1
vote
3answers
1k views

Require a Custom Taxonomy to be checked

I have a custom taxonomy, "position", with multiple terms for a custom post type, "employee" in the admin. I want to validate the form to require a position to be selected when you save/update a post. ...
2
votes
3answers
720 views

Change the Default Pages Menu View in wp-admin

I can't seem to figure out how to change the default view for "Pages" in the admin menu. The initial view is the "Pages" view (/wp-admin/edit.php?post_type=page) How could it change this to ...
0
votes
1answer
259 views

Subsites in Multisite installation throwing 404 error on wp-admin in IIS 7

Running into an issue where sub sites of a multisite (fresh installation of 3.9 and no plugins or themes) are throwing 404 error when trying to access the wp-admin section of the sub site. It is ...
1
vote
1answer
147 views

Remove “Get Shortlink” button in admin of custom post type

I want to remove completely this section under my title in my custom post type. (I don't need this because I use this only for content management). With this piece of code I can remove the ...
0
votes
1answer
91 views

Hide certain pages / posts on wp-admin, show custom filter

I'm integrating a separate ecommerce CMS into a wordpress theme, using page templates for some pages such as the basket, search and checkout pages. This is working out pretty well so far. However, ...
3
votes
3answers
2k views

Removing an admin page added by a 3rd party plugin. Gravity forms in this example

I'm trying to hide a help page from editors, added by the gravity forms plugin. I believe I've run into the same issue before with other plugins, so I'd like to know the correct way to do it for 3rd ...
0
votes
2answers
507 views

lock meta box position on post edit screen for contributors

Our website has an open system for contributors (WP User Role) to add news and calendar content to the site. I'd like to set and lock the position of the content and meta boxes on the post edit ...
0
votes
1answer
19 views

Customizing Users in Admin Area

I know how to customize the users in the admin area of WordPress. I have done it many times. However, I would like to customize the user a bit differently as explained below. I would like to add a ...
0
votes
1answer
20 views

Why are plugin settings not all nested in one place?

Through my modest usages of WordPress, i have encountered many plugins. Some of them have menus displaying at the bottom of the menu panel, some are inserted within the menu panel as if they were WP ...
0
votes
0answers
40 views

wp-login not processing when not localhost

I'm trying to get a site up for a client on IIS7, MySQL. The front-end works fine no matter what and, as long as the siteurl and home parameters are set to "localhost" (either in database or ...
0
votes
0answers
33 views

Add Button on WP-Admin Login

I just want to add a button on wp-admin login page..How to I achieve this.
1
vote
1answer
79 views

How do I add an admin notice within javascript in the admin interface for posts?

I want to use javascript to add a notice to the top of the wordpress page just like they do when auto-saving the page. But in looking at the DOM, I don't see any special div that I could find to add ...
3
votes
1answer
1k 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
2answers
219 views

Action for opening edit page in admin?

I have a function that kills the media buttons on certain custom post types. I want it to load whenever any post/ page edit page opens. What's the best action to hook this up to? Thanks in advance.
1
vote
1answer
33 views

comments in Admin

I'm confused about what the Comments section on the posts in the Admin actually does. I have Comments turned on in Screen Options for a post. When I display a post, I see a Comments box. If I enter ...
1
vote
0answers
65 views

TinyMCE strips breaks inside editor

the posts are shown correctly in the frontend. But when i go to edit, the content inside tinyMCE is without breaks ?! So i have to copy my content from frontend and paste it to the editor every time i ...
0
votes
0answers
28 views

Error post_type link admin pagination

I have an error with bad links on all my specials post_type created by the plugin "magic-fields-2". on the admin link (pagination, eg: go to page 2) i can see : ...
0
votes
0answers
90 views

Renaming child-theme folder fixed wp-admin blank

Weird thing happened. I have a WP instance, and I wanted to have a local copy. I copied all the files, created the DB from a dump, and everything seemed to be working fine. However, when going to ...
1
vote
3answers
93 views

Replace wordpress login logo with custom text

I wanted to replace the wordpress logo which is displayed on login screen with some custom text. Here is the code what I tried so far: function my_custom_logo() { echo '<style ...
2
votes
2answers
217 views

How to use Yoast SEO backend in english even if WPLANG variable is not english?

I added this code to my functions.php file add_filter('locale', 'wpse27056_setLocale'); function wpse27056_setLocale($locale) { if ( is_admin() ) { return 'en_US'; } return ...
1
vote
1answer
221 views

Add content before/after admin post wp-list-table

I know there are two hooks to add content before and after a taxonomy wp-list-table. Is there an action to add content after the post type wp-list-table on the edit.php page? For $taxonomy List ...
1
vote
2answers
85 views

Custom Menu Broken WP 3.8.1 Update

Custom menu has stopped working since upgrading to 3.8.1. When trying to add items from the left they do not show up as movable items as they should do under Menu 1, however the text changes to: "Drag ...
0
votes
2answers
40 views

Change admin defaults for reading settings

I have customised index.php to display 6 posts: <?php // Get header get_header(); ?> <div id="primary"> <?php // Begin paginate and loop $temp = $wp_query; $wp_query = null; ...
0
votes
1answer
173 views

Function to prevent users from trashing comments

Is there any way to prevent/hide trash button for comments? Note that I only want to prevent users from emptying the trash for comments. Can't seem to find a way. Is there any possible way to do that ...
69
votes
12answers
40k views

Adding a Taxonomy Filter to Admin List for a Custom Post Type?

I have created a Custom Post Type called 'listing' and added a Custom Taxonomy called 'businesses'. I would like to add a dropdown list of Businesses to the admin list for the Listings. Here is what ...
0
votes
0answers
52 views

Responsive Development in WordPress Backend

I've gotten so used to using Twitter Bootstrap. However, I can't seem to use it on the backend. I'm assuming it's conflicting with something in the core. So is there a way to get Twitter Bootstrap to ...
0
votes
0answers
412 views

Getting 404 page not found error while trying to access add new plugin / themes

I am getting 404 page not found error while trying to add new plugin or view installed plugin in my admin panel. i am using Hueman theme. every time i tried to use some option of admin panel i am ...
0
votes
0answers
28 views

Filtering in admin broken for custom post type in 3.8.1?

Is there a known issue with the All, Published, Scheduled and Drafts filters in the post listing page for custom post types for 3.8.1? The links update as well as the URL, but the listing doesn't ...
0
votes
1answer
74 views

Show error message after exception handled

I have a plugin that updates a user profile, and I want to handle a date exception and show a error message when it fails, but I can't make it work. Here is part of the class: private function ...
0
votes
1answer
48 views

How do I change the login logo URL and hover title?

I am trying to change the login logo URL and hover title. I am using the code below but return bloginfo('url'); and return bloginfo('name'); aren't outputting the desired href and title. I'm also ...
0
votes
0answers
46 views

How to handle POST reqests the WordPress way without including admin API?

It is all about sending newsletter registration data in forms. AJAX is primary solution, POST is just a fallback. I've planed to do in in wp-admin/admin-post.php as an action but it includes all the ...
0
votes
0answers
25 views

After Login Page says 404

I installed wordpress at abc.com/myblog/wp-login.php Once i login to the admin it displays the header and footer of the site and shows 404 pages in the middle portion. Is that permission issue ?
0
votes
1answer
41 views

Custom Post Type not showing anything added by code anymore?

So I have a piece of code written and it worked before, hasn't been edited hasn't been changed, no updates on the WP DB no updates on any plugin on WP and it's suddenly not working correctly. This ...
0
votes
1answer
69 views

jQuery .change() Event Bubbling in WP Admin

Experiencing some very odd behaviour in WP Admin, specifically on widgets.php. I'm creating a custom widget, and am writing some simple JS. This is the hook I'm using to enqueue my JS: /** * Enqeue ...
0
votes
2answers
57 views

In the Admin Dashboard, can I choose which sections to display?

For the editor I would just like to display Pages, Posts, Media and Menus. Is there a way of doing this with the functions file or similar? Thanks in advance.
2
votes
2answers
623 views

Hide a theme on list of themes in wp-admin without editing core files

I'm running a multisite network with 200+ themes installed and activated. Is there a way to manipulate the list of available themes in wp-admin so that certain theme does not appear in the list? I ...
0
votes
0answers
12 views

User info in the admin sidebar

I think nobody has yet think of this, hope someone can help me. Im trying to add a user info pannel in de admin sidebar, right at the top. Just like the wp-admin-bar-my-account in the admin bar, just ...