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

learn more… | top users | synonyms

0
votes
3answers
236 views

WP Cron doesn't save <iframe> or <object> in post body

I am using wp_cron to auto grab posts from a remote website and save them in my wp db. NOTICE! I am executing my code from my plugin, not from my template functions.php or somewhere else. I have my ...
0
votes
1answer
25 views

Customising The Admin Bar

I have the following lines of code in my function.php file: // Add a 'Users' navigation link to menu in the admin top nav bar function users_site_menu_link( $wp_admin_bar ) { if( is_admin() || ! ...
0
votes
1answer
331 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
237 views

Customize a WP_Posts_List_Table class

How can I customize output of tables of records in wp-admin/edit.php? What options are available for editing display_tablenav('top') and display_tablenav('bottom') before outputting in class ...
0
votes
2answers
25 views

How to change home page only in WordPress

I am a newbie in WordPress theme development. I have a WordPress site on online. I create a new home page for my wp site and I want to use it my wp site instead of old home page. And I want that the ...
0
votes
0answers
11 views

Getting user meta value in default user list in wp-admin (MU)

is there any way I can get value from a specified user meta in the default user list in WPMU? I am talking about the wp-admin/network/users.php list. It lists Username, Name, E-mail, Registration date ...
4
votes
1answer
59 views

Securing wp-admin folder - Purpose? Importance?

I am trying to understand how to secure a WordPress site. One security task I do not understand is...How important is it to protect the "wp-admin folder"? For example, I would consider limit login ...
0
votes
1answer
486 views

Add a button to users.php

I am working on a plugin that adds meta data for each user to the users.php table that is displayed by adding columns. I have that done but I would like to also add a button that will delete the meta ...
0
votes
0answers
6 views

Change wp-admin and wp-login.php url in wordpress multisite

I have setup wordpress multisite and now I want to change the login URL /wp-admin and /wp-login.php to /login. Similarly for the sub-directories http://test.com/site1/login. I tried few plugins but ...
1
vote
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
26 views

Resize Admin Featured Image Thumbnail in CPT Edit Screen

I have a custom post type for a slider and I'm using the Featured Image thumbnail uploader to set the image. I've relocated the Featured Image meta box to be underneath the title section in the ...
0
votes
1answer
31 views

Admin first hook that outputs HTML?

I think load-(page) is the first hook in the admin screen that deals with outputting HTML, but I'm not totally sure. Basically I'm looking for the equivalent to template_rediect or get_header, which ...
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
0answers
12 views

Custom Admin Message from external source to multiple users

I am administrator for several wordpress sites. Each site has an editor and I would like to find a way to be able to write a single message in an external centralised place, and have that message ...
0
votes
1answer
1k 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 ...
2
votes
1answer
44 views

Using List Table Filters for ALL Custom Post Types

Is there a way to create sortable columns for admin tables across ALL post types? I am working on a project with 7 Custom Post Types, and wondering if there is a better approach than using multiple ...
2
votes
4answers
2k 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() { ...
6
votes
3answers
4k views

Add “external” link to admin menu in the backend

Trying to add a link to my admin menu (dashboard/backend) that leads to the frontend of wordpress, so I basically want a link in the menu that takes me to the blog. I've found a couple of ways to ...
0
votes
1answer
301 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
32 views

WP Theme Development, Adding Content Areas to Custom Page Template

I am not sure how to ask this, which is why I have been having trouble finding anything via google searches. I am hoping someone here will understand what I am looking for and be able to direct me to ...
0
votes
0answers
14 views

Posts Admin Pagination Items Count

Does anyone know what the wordpress post admin item count is based off of? I'm seeing a mismatch between this number and what my Draft + Published posts total is. Please see screenshot attached. ...
0
votes
0answers
21 views

Change password from admin panel

while updating password from admin panel of wordpress dashboard, I am facing this unique issue. when I am typing password which is very weak, and updating it. I am getting message, profile updated ...
2
votes
1answer
21 views

WP-Admin edit.php & post.php slowdown after import of 10k users

Situation: Clean wordpress install No plugins VPS server 5.2ghz / 4gb RAM (Default Directadmin) Import of 10k users Problem: WP-Admin edit.php and post.php take >4sec to load. A custom post ...
0
votes
1answer
24 views

Error showing in current page id in wordpress admin

I am trying to remove a metabox ID from a page ID in the admin screen. So I have coded the following: function ag_remove_cmb_metaboxes() { global $post; $id = $post->ID; if ($id == ...
2
votes
1answer
467 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() { ...
0
votes
0answers
23 views

Link Redirection issue for wp-admin

I am facing a problem when I login into the wp-admin dashboard. It is not allowing me to login with my domain name, but when I modify the url "www.example.com/blog/wp-admin" to ...
2
votes
0answers
37 views

Admin Panel Menu Classes - Add Them To Anchor

I was wondering if there was a way to apply the classes you assign in the Admin Panel Menus to the Anchor Tags instead of The List Items. I tried to use a Walker Class to maybe get the classes out ...
0
votes
1answer
306 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 ...
2
votes
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 ...
4
votes
1answer
105 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 ...
3
votes
1answer
819 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
votes
1answer
28 views

Ajax in wordpress [duplicate]

I tried to write ajax with jquery to fetch data from database butajax doesn't return any data. I put that code in header and it return the whole html content in response. What is the code need to ...
0
votes
2answers
24 views

Add Custom Script in Other Plugin's Options page

I am trying to put a custom inline JavaScript is an options page created by a plugin. The page URL is like this wp-admin/admin.php?page=psbg. This is the code I am using to output my script at the ...
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
14 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
275 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
19 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 ...
8
votes
2answers
187 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
100 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
15 views

How to change the publishing date of each posts? [duplicate]

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
2answers
20 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
31 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 ...
0
votes
0answers
19 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 ...
7
votes
2answers
13k 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
35 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 ...
1
vote
0answers
22 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
90 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 ...
4
votes
5answers
300 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", ...