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

learn more… | top users | synonyms

3
votes
1answer
991 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 ...
2
votes
1answer
58 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 ...
2
votes
1answer
144 views

Cancel post save

I need to abort the post saving process when the post content contains a specific string and then display a message to the user. I found a method to display the message but didn't find a way to ...
2
votes
1answer
129 views

Site Title and Tagline in Pagelines DMS Options Panel

I'm using the Pagelines DMS Theme and I'm wanting to extend the functionality of the front end admin panel. The user(s) I'm building this for would like to be able to edit a few settings directly from ...
2
votes
1answer
172 views

Why does the My Site dropdown show only a single domain?

I ran a Network Update today from Network -> Update Network, and since then all the sites, and all the links to sites within my Admin area reference the same domain. The domain it uses is relative to ...
2
votes
1answer
179 views

Wordpress address URL keeps dropping the www

My Wordpress Address (URL) in general settings keeps losing the www from the URL - I type in http://www.domain.com and it saves and works fine. Next time I go in the address has changed to ...
1
vote
1answer
112 views

Blank page for wp-admin after i uploaded the website from my localhost to the live server

I recently moved the site from localhost to the live server. And when I try to access the wp-admin page I keep getting the blank page and no errors are shown although WP_DEBUG is true. And when I open ...
1
vote
1answer
232 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, ...
1
vote
1answer
128 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
71 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? ...
1
vote
1answer
95 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
1answer
130 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 ...
1
vote
1answer
76 views

Custom Postype specific changes in admin panel

I have this small bit of code which does exactly what I need. But I want to limit its use to one Custom Post Type (CPT) only. add_filter('sanitize_title', 'my_custome_slug'); function ...
1
vote
1answer
61 views

Cannot access WordPress login pages

I cannot access either wp-admin, or wp-login.php on a wordpress site. I'm not getting a 404, or a redirect, it simply says cannot connect in firefox. I have tried everything relevant on this guide ...
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 ...
1
vote
1answer
52 views

Custom Admin Pagination links

I am talking about the wordpress admin area where all the posts reside. I would like to ask if there is a way to show not only the first and the last pagination links but also the links in the ...
1
vote
1answer
135 views

How to use default WP form elements to interact with custom DB table?

I know about the use of Custom Post Types, but in this case I do need to use a custom database table (FYI: it's a table that is IP-based shared with another non-WP website). In wp-admin, I'd like to ...
1
vote
1answer
138 views

Admin comments and user restrictions

I have set a bunch of roles within wordpress with the help of the "members" plugin. But the capabilities regarding the comments moderation are very limited ("manage_others_comments" or not) What I ...
1
vote
1answer
130 views

Register page in admin area

Ok, so I have a table in my admin area for my plugin. Each row as an edit button, which should post to the edit page. I don't know how to add my php edit page to the registered wordpress page, though, ...
0
votes
1answer
22 views

Cannot Update wp DB - Get 500 Error

I have this site on godaddy Failpeep.com , It started giving me this problem yesterday , When I tried to login to admin area , It 1st kept loading if I entered the correct password and took me to a ...
0
votes
1answer
13 views

FORCE_SSL_ADMIN not working

Any ideas why define('FORCE_SSL_ADMIN', true); wouldn't work? I'm not getting any errors at all, but a http request to example.com/wp-admin isn't redirecting to https
0
votes
1answer
82 views

Blank page when viewing wp-admin

I just add new user for my website and everything went perfect. Suddenly when I am trying to go to www.mysite.com/wp-admin it only shows a white blank page and redirect to this address : ...
0
votes
1answer
15 views

I moved my site to another server, wp admin works so does the front page, but posts don't work

Pretty much summed up everything in the title. I can see the posts in wp admin, but when I hit the "View" link they return a 404 not found. Do you have any idea why this is happening? As a note: I ...
0
votes
1answer
26 views

Blank sign in page

I have a serious problem with my wordpress site. When I try to enter into my wp-admin page, I get blank page. I tried every solution possible including: deactivate plugins, update to higher wordpress ...
0
votes
1answer
64 views

Multiple wp_editor instances in custom post type using Ajax

In a custom metabox, I need to generate a tinny wysiwyg wp_editor everytime we click on a button.. I struggled a lot with this and couldn't achieve it. The js $.ajax({ url: ajaxurl, data: ...
0
votes
1answer
150 views

wp-admin will not redirect to wp-login.php

For some reason my plugin is causing the /wp-admin/ to not redirect to wp-login.php as it should. I've narrowed it down to these two lines of code: foreach( glob($this->path['modules_dir'] . ...
0
votes
1answer
25 views

Wordpress Admin panel issue

I have made some changes to functions.php, specifically i deregister some js libraries and then manually add them back to the footer using a plugin(header and footer plugin). That changes caused to my ...
0
votes
1answer
53 views

Custom Post Type Pagination Problem in Admin Section

I have several custom post types, here is the creation of two of them: Projects add_action( 'init', 'register_cpt_project' ); function register_cpt_project() { $labels = array( 'name' => ...
0
votes
1answer
27 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
77 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 ...
0
votes
1answer
43 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
1answer
90 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
1answer
181 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. ...
0
votes
1answer
163 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 ...
0
votes
1answer
102 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
85 views

Get post id in Post Page within Wp-admin

I want to get post ID within Post page. I need this for custom meta box so i can set the id in shortcode. I can show the result in notices but don't know how to make it global to use for meta input. ...
0
votes
1answer
94 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
1answer
380 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 ...
0
votes
1answer
167 views

How to Filter in the “Add Media Popup” to show only “unattached” Media

Any idea how to hack WP 3.8.x for this feature?
0
votes
1answer
163 views

How to remove menu from WP-Admin menu

I would like to hide option of template from the menu side in wp-admin. I tried this code but its not work , its no hide the option:- //hide in admin menu add_action( 'admin_menu', ...
0
votes
1answer
44 views

Custom post type won't take my custom fields

I have written the following plugin: <?php /* Set up the post types */ add_action( 'init', 'mdg_kjdz_register_post_types' ); /* Register the post types */ function ...
0
votes
1answer
77 views

How to display product category's individual product list in shop page?

I want to display each product category's sub products list in the shop page. Actually now in my shop page was displaying the whole list of products. But when ever i click on the list of sub category ...
0
votes
0answers
396 views

Images on admin backend not showing up

It was going alright with images a week ago! But recently when I noticed I found that image thumbnails in media library and in post editor were either not showing up or were just showing there ...
0
votes
0answers
586 views

Wordpress subdomain wp-admin redirects to main domain

we have a wordpress installation running on address www.example.com. We wanted to have a development site for it as a subdomain, so we created a subdomain dev.example.com on cpanel. Created a ...
0
votes
0answers
265 views

WP admin broken. Not saving catgories or adding categories to menu

Wordpress Admin panel is not saving categories when creating new post or editing it. Also same problem with adding categories or pages to menu. It just doesn't save changes when I press update.
0
votes
0answers
84 views

wp-admin dashboard redirects to homepage

When going to /wp-admin on the website I am working on, it simply goes to the homepage. I then tried going to /wp-login.php and the login screen shows up, but once I login, the url in the address bar ...
0
votes
0answers
128 views

Linking custom post types to posts and vice versa

Im developing a smaller wp solution and we have both blog posts and products (custom post types) Id like to link them together so when you read blog posts it will suggest relevant products (that we ...
0
votes
0answers
230 views

Can't preview custom post - Redirected to home page

When I click on preview in custom post types I get redirected to home page. But when I visit or view the page that have all the Custom posts in I can see all of them. I cant figure out what or why. ...
0
votes
0answers
174 views

Can't access my wp admin

I have a wp website.. i love it asit's easy to update. the website is still live and is working fine but i went to use the wp admin lastnight and for some reason it suddenly won't let me access the wp ...
0
votes
0answers
142 views

Have different site location for wp-admin in IIS

I'm attempting to put a WordPress blog on a Windows server. PHP and WordPress installed just fine, and I have a working website, and admin site. However, I want to access the wp-admin directory using ...