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

learn more… | top users | synonyms

0
votes
0answers
17 views

Change label of title field for posts in the backend

I am trying to add some HTML to the title label in the backend of WordPress. I am using the following (simplified) function: function change_post_titles() { global $post, $title, $action, ...
2
votes
0answers
30 views

Hide username from users list

I've hidden the username column from users administration with the following code: function modify_user_columns($column) { $column = array( "cb" => "<input type=\"checkbox\" />", ...
0
votes
2answers
10 views

When moving a WP site, why does wp-admin redirect to old site?

I am in the process of moving a WP site from one host to another. I copied the database and all the files, created a new database and imported the old one. I then changed the wp-config file. The home ...
0
votes
1answer
14 views

Downgrade admin account by mistake

I made a huge mistake changing my admin account role from 'administrator' to 'Basic User'. Don't know what to do. Any suggestions how should I proceed to retrieve my account role back again, please?
0
votes
0answers
9 views

Update Custom Field Value In New Post Form From URL

I created a custom field for a custom type using Types plugin. The custom field is displayed using radio button and represents the sub type of the custom type, i.e. 'video', 'audio', 'file', etc. And ...
1
vote
1answer
25 views

How to access global $wp_meta_boxes variable on front-end?

Is there a way to take the global $wp_meta_boxes variable to be used in the front-end? Currently the $wp_meta_boxes is accessible on specific admin pages only. I've found a similar question about ...
1
vote
1answer
26 views

Require Login Redirect to Login Page

With the following function : function require_login() { if ( !is_user_logged_in() ) { auth_redirect(); } } Which action should be used? ...
0
votes
2answers
65 views

Super slow admin panel

My admin panel in wordpress is super slow. I disabled all the plugins, I changed the theme to "Twenty Eleven" and I updated Wordpress. Still, the admin panel is very slow. I have 2008 posts and 6 ...
1
vote
2answers
26 views

Remove 'Check Compatibility' from Plugins menu

Is there a way to remove the 'Check Compatibility' link that appears under plugins in the plugin menu? If so, how can I remove the link from a given set of plugins, and alternatively from all plugins ...
0
votes
2answers
52 views

remove_meta_box for all post types doesn't seem to work

To remove a metabox from all post types at once, using a foreach seems like the logical thing to do. However it doesn't always work and I don't understand why. For examlple viewing the "Post" post ...
0
votes
1answer
16 views

How to set admin login page as home page

How can I set the backend admin login page as the homepage of my wordpress application? When the user types in art.com, I really want to let me go to art.con/wp-admin. Is this done on worse press or ...
0
votes
0answers
188 views

Uncaught TypeError: undefined is not a function (shortcode-box)

I have a Wordpress theme that the author is no longer maintaining, and has stopped functioning properly with the update to Wordpress 3.x. Over the past few months, I have been working to resolve the ...
0
votes
1answer
41 views

Limit Words in Category / Term Description - Admin Panel

I'm working with a Taxonomy where the Terms have lengthy descriptions. It makes the Admin Panel look really ugly when WordPress tries to display these descriptions for 10 categories. I'm trying to ...
0
votes
1answer
41 views

Make a custom column sortable, by custom post count

I have the following code which at the moment displays all posts from post_type product in a column called Art in the users section of wp-admin. (slightly modified from ...
0
votes
0answers
63 views

White screen of death on admin and other dashboard pages

I have created a theme for the first time. but except the public area I cannot access admin by wp-admin. After changing he theme I saved redirected URL of admin which is this ...
0
votes
1answer
18 views

404 Admin Error

I am new to WordPress and was looking at settings in the admin. I believe I changed the directory of the site from example.com/wp/ to example.com. When I saved the changes I immediately saw a 404 ...
0
votes
1answer
21 views

How to add an admin notice upon post save/update

I have a post type the uses post_save to take the address from the post-meta and retrieve the lat/lng coordinates from the Google API. I need a way of notifying the user if there was an issue with ...
0
votes
2answers
33 views

Questions regarding add_meta_box()

Registered a custom post type (xyz) and after that added a meta box using this excellent Tuts+ tutorial, so then I can reduce the usage of 'Advanced Custom Fields' where I can (but I love ACF most). ...
0
votes
1answer
86 views

Using Foundation 5 in WordPress Administration Area

I am attempting to implement Zurb's Foundation 5 in a development to enable me to utilize its functionality to create better page UIs within the wp-admin. However, for some reason Foundation's JS is ...
4
votes
1answer
191 views

How to hook in and modify the new revisions UI (3.6+)?

Let's say I want to add some post_meta into the "new" revisions UI. I'm saving some meta on revisions only, and want to display it on this screen. Normally, I'd open up wp-admin/revisions.php look ...
0
votes
1answer
38 views

Making WP Admin Folder accessable JUST under a different link

I read all your post regarding renaming and moving the admin folder a few times but I still didn't find the real answers to my question! I got a page, lets say available under mysite.com ,the real ...
1
vote
1answer
46 views

How to load library scripts in admin from plugins in noConflict wrapper?

For my plugin I need to make a meta box for some custom fields in my CPT (xyz), and to organize the fields, I need to implement tabs. And I's taught to load jQuery/JavaScripts using ...
1
vote
0answers
21 views

Plugin: How to make links in admin page open up inside of the admin panel

In writing my plugin, I have added my menus and submenus to the admin page. The pages load and function as intended. What I am trying to do is create some links inside of these pages that will pass ...
0
votes
1answer
15 views

How can I create a plugin installation link?

Currently, my code is generating the wrong nonce, I guess. Here is the code: $action = 'install-plugin'; $plugin = 'akismet'; wp_nonce_url( add_query_arg( array( 'action' ...
0
votes
0answers
36 views

Adding Radio Options or Select Options to Meta Box Title

I am adding Radio Options and Select Options to miscellaneous Meta Box titles. The HTML is rendering just fine in the title of each appropriate Meta Box title. There seems to be a bit of ...
0
votes
0answers
28 views

Admin area for user, custom theme or admin theme?

In my WordPress site, I need to provide some backend functions for logged in user, so currently I have two choices use the wp-admin, customize the menu by hiding irrelevant items create a custom ...
1
vote
1answer
36 views

Taxonomy Terms - Orderby Custom Value

I have a custom value which is being stored as term_group but in the admin panel I would like to order them by that term group. I'm able to sorta do this through this function, but there's a problem: ...
0
votes
1answer
34 views

Hide admin login without plugin

I'd like to hide my admin login, since it was disabled some time ago because of attacks. (I do not remember what they were exactly, my site was down for another reasons long time) I know there are ...
0
votes
1answer
22 views

Remove header text option from the backend

I want to remove the header text option from WordPress backend, under the Appearance->Header page at the bottom. Is there any hook or filter to remove this option from the backend? Thanks!
0
votes
1answer
29 views

Extend Screen Options

I'm customizing the WP-admin and want to add a toggle button to switch between the customized admin and the default admin. I'd like to place that button in the Screen Options drop down tab. Is there ...
1
vote
2answers
102 views

How can I make my .htaccess file writeable by wp-admin?

My ISP changed the hosting for my Wordpress blog and everything stopped working. There was a DNS issue but they resolved that, but then every page apart from the home page returned a 404 error. When ...
0
votes
1answer
67 views

How to add php stylesheet to admin section instead of admin_head hook

how can we do the below code using separate file let say admin-style.php add_action('admin_head', 'custom_admin_style'); function custom_admin_style() { $bg_color = get_option('custom_color'); ...
0
votes
0answers
199 views

How can I fix this WordPress Admin load-scripts.php error?

I have a strange error going on in my WordPress admin panel. Last night, I overwrote my wp-config.php file by mistake and it broke everything, as you would expect. I promptly restored it to an older ...
0
votes
1answer
106 views

Replacing select2 in admin backend for all selects

I originally posted this question as a javascript question here, but think maybe it would be better asked here. I tried adding select2 to all wordpress admin screens. However, since many selects are ...
0
votes
0answers
16 views

Rename wp-admin [duplicate]

I want to rename the admin URL 'wp-admin' to e.g. 'admin'. I set a rewrite rule in the .htaccess to acces the admin login: RewriteRule ^admin wp-admin [NC,L] That works but I can still use /wp-admin. ...
0
votes
0answers
24 views

Is it possible to change the images source that are shown in the admin side?

All of my images are in a CDN. On the website that's where the images are coming from but on the admin side it is pulling them from the server. Is there a filter or action I can use to change the ...
1
vote
1answer
29 views

Backend option to include a javascript file on specific pages?

I am working on a template that my coworkers will be using to populate content. On some of the pages there will be a slider or multiple sliders but on other pages there won't be any. Because of this, ...
0
votes
0answers
23 views

Add new link on edit screen hangs wordpress

I have a fairly large WordPress site currently on 3.7.1 with WPML installed and configured. I am experiencing a strange issue where when I'm editing a post (which is a custom post type) if I click the ...
0
votes
1answer
30 views

Change height of Add New Post input box

The textarea box on the Add New Post page is too high for my application. I'd like to change it to 260px high. However the style is embedded. What's the best way to change it, without altering the ...
0
votes
1answer
60 views

Wp-Admin extremely slow!

I noticed my wp-admin became extremely slow so I installed a plugin called debug bar extender to get some more info and found this: Any idea what on earth could be causing such a slow down? This ...
0
votes
0answers
24 views

Is it possible to load an admin page inside a thickbox?

I'm currently trying to load a custom made admin page inside a thickbox. It's for creating new users with loads of extra custom data and none of the stuff I don't care about. Administrators can ...
0
votes
0answers
19 views

Weird admin area

Everything works fine but it looks weird and I'm worried. See attached screen grab. Any ideas?
0
votes
0answers
22 views

Using query string on edit CPT page

I'm adding a query string on the edit CPT page so I can add different meta boxes depending on what type it is. We're doing profile types, and the choices are student, staff, alumni and external. The ...
0
votes
0answers
21 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
49 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
45 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
28 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
16 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
74 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
0answers
28 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 = ...