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

learn more… | top users | synonyms

0
votes
1answer
67 views

Add button in TinyMCE editor to insert text

I'm searching a way to add a custom button to the TinyMCE editor when clicked insert into the visual editor some text. For example: button called "Hi" when clicked insert into the editor "Hello I'm ...
2
votes
1answer
44 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\" />", ...
-1
votes
0answers
11 views

How can I delete all sales history? [on hold]

I would like to delete my entire sales history because it contains sensitive customer info. USing wordpress E-commerce. I would like to delete the sales log, and where that data comes from (guessing ...
0
votes
0answers
19 views

Widget Areas Still Appearing in WP ADMIN When They Shouldn't

I had a bunch of "Widget Areas" registered for my theme. I removed a few and added a few. The ones which I removed, I deleted the code which is hooked on widgets_init for registering the sidebars. I ...
0
votes
0answers
21 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
1answer
535 views

How To Remove WordPress Version From The Admin Footer

Is there anyway to remove version number from the right side of WordPress admin footer? I know this code will add some text before the version number, but it will not remove it: function ...
1
vote
1answer
1k views

how to use thickbox in admin?

I would like to show my retrieved content form my classes method in thickbox. How could I do this? I have been adding the proper id to my desired hyperlink but all of the admin body is getting parsed ...
3
votes
1answer
685 views

How do you create a custom edit.php / edit pages page

I need to create 3 custom edit.php pages which only display pages with a certain parent and the Post New button links to a new page with the corresponding parent. The closest answer I can is do not ...
1
vote
1answer
346 views

wp_list_table search box does not show

I'm using wordpress 3.8 and a custom class derived from WP_List_Table. Why is there no search form? My code in plugin class: function __construct() { ...
1
vote
2answers
681 views

.htaccess in wp-admin produces a redirect loop

I've decided to take the advice of protecting the /wp-admin directory using .htaccess on a website which keeps getting hacked. Whenever I upload .htaccess to /wp-admin, my browser says /wp-admin has ...
0
votes
1answer
90 views

List latest posts with least comments in WP-Admin

I want to encourage my authors to provide feedback to new posts that have not received enough exposure. To do this, I want to add a box to WP-Admin that lists the top 3 latest posts (from the past two ...
0
votes
2answers
13 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 ...
2
votes
2answers
2k views

Best way to filter featured image text for a custom post type?

I am trying to change the "Set featured image", "Remove featured image", and "Use as featured image" text links of a custom post type for my plugin Meteor Slides. I found the ...
0
votes
2answers
918 views

Display all entries from all gravity forms & filter by field values

We have a requirement for a few forms on a site - contact form, competition entry, volunteer page etc. I'd like to be able to view & export lists of all the entries & filter them by state, ...
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 ...
0
votes
1answer
2k views

Restrict admin access to certain pages for certain users

As the title says, I'd like to restrict back-end access to certain pages for certain users. While doing a site with 45-50 pages, I realised it would be a much better user experience if the Page menu ...
1
vote
1answer
1k views

wp-admin url doesn't allow to login and redirects to same page

I am using wordpress 3.6, the latest version. In this version when i access login page for admin url like www.example.com/wp-admin and i enter user name and password, wordpress redirects me to the ...
0
votes
1answer
301 views

Unable to locate WordPress Root directory

I'm trying to upgrade WordPress version of a blog and it fails. I input FTP info (host, user, pass and type) then I get the message: Unable to locate WordPress Root directory. Installation ...
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
66 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 ...
0
votes
1answer
235 views

Sort All Posts by Category Name in the Admin Panel?

I'm working on a pretty complicated site where everything is managed by category type including automatic spinner image submission, etc.. Unfortunately, its doggone difficult to manage things when the ...
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
55 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
0answers
214 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
2answers
158 views

Removing the main link to Jetpack from the menu

I need to remove the link to the Jetpack settings, but not the links to Omnisearch and Site Stats from the admin menu for everyone not having an administrator role: For this, I came up with this ...
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
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
64 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
856 views

adding the category to the admin column for a custom post type?

I have built a custom post type called article and the information given on the admin summary screen is sparse. I was able to add the featured image post thumbnail image using the ...
0
votes
1answer
19 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
238 views

Add filter-by-tag in the all posts admin console page

By default the 'all posts' page contains the following filters by date by category Is there a way I can add 'by tags' as well ?
0
votes
2answers
34 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
22 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
1answer
589 views

What is the best method to close off the backend?

The goal: Completely remove the ability to access the WordPress backend on the production domain. Ex. return a 404 for http://example.com/wp-admin Purpose: I don't want any possibility of WordPress' ...
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 ...
0
votes
1answer
89 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
194 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 ...
1
vote
3answers
1k views

How to remove admin menu pages inserted by plugins?

I've got the following code, which cleans up a lot of stuff that is not going to be used within the admin area: add_action( 'admin_menu', 'my_remove_menu_pages' ); function my_remove_menu_pages() { ...
0
votes
0answers
389 views

Admin blank but Admin menu showing

A client website has recently had the issue of a blank admin but the menu is showing. No admin pages appears at all. Just plain ol white, nothing showing in the source code either. Front end of the ...
0
votes
1answer
39 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
6answers
4k views

Adding fields to the “Add New User” screen in the dashboard

I'd like to add the field "Company Name" to the add new user page in the admin panel. I've done quite a bit of searching and have been unable to find details on how to do this. I can easily add info ...
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
29 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: ...
5
votes
6answers
6k views

Disable image attachment links

Is there a way to disable image attachment links trought a filter in functions.php or something ? I know it's possible to do it manually when you add an image to a post but I want to disable this ...