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

learn more… | top users | synonyms

6
votes
1answer
1k views

Filtering the Admin Comments List to Show Only Comments from the Current User?

In the Comments page (/wp-admin/edit-comments.php), every logged in user can see all the site comments. I'd like the users to see only his/her own comments and the comments that are left to ...
0
votes
0answers
6 views

Media Uploader is not working in default rich text editor in my custom plugin

I am working on my custom plugin that will store records in its own database tables. I am willing to add contents via WordPress default rich text editor. I found some code on WordPress stack exchange ...
14
votes
6answers
14k views

Changing the Order of Admin Menu Sections?

I am getting a bit frustrated over here after having spent a few hours trying to accomplish this fairly simple task without any luck. Essentially I have 5 custom post types which I created and all I ...
0
votes
2answers
248 views

wp_dequeue_script not working for my plugin. I want to remove the themes JS from the dashboard

There is a theme my client is using. It enqueues many scripts in the admin area of wordpress. I'd like to dequeue these so that my plugin works properly. Commenting out this code wp_enqueue_script( ...
0
votes
0answers
15 views

How can I modify the native LINK quick tag to add my own code?

I want to always add an HTML class whenever I use the LINK quick tag in the Wordpress "New Post" or "Edit Post" screen, to end up with: <a class="external" href="http://www.mylink.com">My ...
7
votes
2answers
171 views

Displaying the number of updates available in the Admin area

I am having an issue finding out how to display the number of plugins/updates available to call somewhere else other than the admin header. I found the function wp_get_update_data should be what I ...
1
vote
1answer
67 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. Attempt 1: I am using the following (simplified) function: function change_post_titles() { global $post, $title, ...
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 ...
0
votes
1answer
14 views

How to change the publishing date of each posts?

I need to set the publishing date of many posts with the post date (the creation date). I know that I can do it editing the single post and changing the Published on value but this procedure is ...
0
votes
0answers
28 views

Uncaught syntaxerror with a theme's options? [closed]

On my local server i haven't got the problem but on my production server i don't see the admin options menu off a particular theme. The error i get is: Uncaught SyntaxError: Unexpected token u ...
0
votes
2answers
999 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
2k 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
390 views

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

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
316 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 ...
0
votes
2answers
15 views

Why I can't change the permalink of this page?

I have the following problem with a permalink: if I open this page (it is implemented as a static page) on my local website: localhost/wordpressAsper/archivio it automatically change it into ...
0
votes
2answers
18 views

Admin user getting redirected to /wp-admin/user

I recently added a network to my multi-network wordpress install (that is, a single install with multiple subdomain networks, each with multiple subdirectory sites). Although everything appears ...
-2
votes
0answers
14 views

How can I create a client portal? [closed]

Hi Everyone, So I've been Googling for about 1/2 an hour now and I'm stuck. I came across a question asked on this site and read through it. Several plugins were recommended to use for a client ...
0
votes
0answers
13 views

View Details/Edit/etc. view for custom admin plugin

I am working on a plugin for Wordpress that will have formatted data from a couple of non-Wordpress tables in the same database as WP, and I am not quite sure how to go about having something like a ...
0
votes
0answers
23 views

Share same domain for wp-admin but for different website

I have site like http://www.foo.com http://www.bar.com And I've a wildcard SSL cert *.example.com, instead of buying two SSL certs for the above two domains, can I re-use my existing wildcard SSL ...
7
votes
2answers
12k views

How to check if a user is in a specific role?

I have a pretty specific requirement to show different text in a field label on the user profile page based on the current user's role. I can't seem to figure out how to check whether the current use ...
0
votes
2answers
27 views

Deploying Wordpress for clients - what do they have access to?

I've developed websites from scratch up till now and would like to switch to using Wordpress to save time and money. I've done some theme customization and plugin work so far. I can see that users ...
0
votes
0answers
10 views

Wordpress post feature image not uploading

Wordpress admin side post page feature image not uploading. Getting error like below An error occurred in the upload. Please try again later. Please give me answer.
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
0answers
28 views

wp-admin/admin-ajax.php returns 404

www.mysite.com/wp-admin/admin-ajax.php returns error 404 when logged out. www.mysite.com/wp-admin/admin-ajax.php loads a blank page with 0 when LOGGED IN. This is the proper behavior as per ...
0
votes
1answer
984 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 ...
4
votes
5answers
284 views

Delete Post From front Page ( With Wp-admin restriction )

am using this function to delete post from front // Delete from Front-End Link function wp_delete_post_link($link = 'Delete This', $before = '', $after = '', $title="Move this item to the Trash", ...
0
votes
0answers
26 views

Media library not loading in custom post type

I have a WordPress multisite, and I created a plugin to share WooCommerce's product with a child website by changing the global variables ($wpdb) values when the URL has the post_type=product ...
-1
votes
0answers
25 views

page not found or 500 server error while posting

I'm getting Page Not Found or 500 Server not found errors when I publish my content or when i'm trying to add new post or gallery. But, if I refresh the page again it is working perfectly. please help ...
0
votes
0answers
11 views

profile.php sometime returns webpage not available for subscriber. Why?

I have a problem with my WordPress site when I log in into site being a subscriber and want edit my profile sometimes it retuens Webpage not available, or sometime it works fine. I don't know why. ...
0
votes
1answer
268 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 ?
2
votes
1answer
29 views

Filter Media Library by author or post_parent

I am trying to filter the Media Library so only media items that are uploaded by the current user OR children of the post being edited are visible. I've had no problem doing it if the conditions are ...
0
votes
0answers
10 views

Hooking into the Meta Boxes (Name/Web Address/Description) on the 'Add New Link' Page

Is there a way to modify/adjust the meta boxes (Name/Web Address/Description) on the 'Add New Link' page? I'm trying to add some jQuery functionality to them but am unsure how to 'hook' into them.
0
votes
1answer
81 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
52 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
0answers
24 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 ...
2
votes
1answer
685 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
2k 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
736 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
395 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
815 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
25 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
17 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
31 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 ...
1
vote
1answer
28 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
28 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
90 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
266 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
29 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 ...