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

learn more… | top users | synonyms

0
votes
1answer
169 views

Too Many Redirects - WP-Admin Only

I have a couple of sites on a shared hosting server. The sites load just fine, and everything appears to work, including local links. The only thing that isn't working is that the entire wp-admin ...
1
vote
1answer
137 views

Hide pages depending on role

I've been trying to find a way to limit the user from seeing some pages in the "pages" menu in the admin panel. I looked in the edit.php file and noticed: } elseif ( 'page' == $post_type ) { ...
0
votes
1answer
105 views

How to make an admin create/edit post page to look like taxonomy page?

This idea just came to me, where I thought it would be great to have something like this for CPTs that doesn't need much content/fields to fill out. Basically a Post page where your able to add a ...
4
votes
1answer
927 views

Only allow administrators and editors to access wp-admin

I am trying to restrict access to wp-admin so that only administrators and editors are allowed. At the moment I am using this function: function restrict_admin(){ //if not administrator, kill ...
0
votes
1answer
31 views

Fix Admin Dashboard Posts tab

I have WordPress v3.5.1 and using a theme from WPZoom. I added an SEO plugin called WordPress SEO which in turn added 4 more columns to my Posts Admin table which caused the columns to squish together ...
0
votes
1answer
253 views

Change Post Meta via AJAX from the posts list table

I've been looking around for this for a while but haven't found anything as of yet. I have a custom post type - "books" and this post type has a custom meta field of "availability". I would like to ...
1
vote
1answer
225 views

Change the link of 'Howdy' at the top right

I'd like to change where the 'Howdy' link gets you when you click on it. I have a website with buddypress and instead of getting users to their profile page I want to get them to their 'Activity' ...
0
votes
2answers
535 views

Wordpress admin not changing language

I'm struggling to get a nb_NO version of the wordpress admin interface. Here's what I've done so far: Installed latest wordpress from wordpress.org Moved installation from root to wp/ - site working ...
0
votes
1answer
108 views

How to create a custom template to admin dashboard

I was trying to create a template to customize my WP admin dashboard, not only a css mod but a entirely renew to my customers. I've successfully created a page template for a custom login page, and ...
1
vote
1answer
525 views

Is there a way to submit only meta box content in Post edit page

On the admin add/edit post page, I have a new meta box with submit button. I want to submit them separately. For example if some one click on Publish / update button then it save all post content and ...
1
vote
0answers
92 views

Bypass nonce value while trashing a post

I want to move a post in trash but the condition is that simultaneously I need to delete some more posts. Sample Code: jQuery(function($) { $('#delete-action a').unbind(); $('#delete-action ...
1
vote
1answer
212 views

Post Editor not working on WordPress 3.5.1

Recently i have updated my wp site to the latest version and since then post editor not working, What i have tried: Disabled all plugins. Installed "Use Google Libraries". Disable all plugins ...
2
votes
2answers
216 views

How to use Yoast SEO backend in english even if WPLANG variable is not english?

I added this code to my functions.php file add_filter('locale', 'wpse27056_setLocale'); function wpse27056_setLocale($locale) { if ( is_admin() ) { return 'en_US'; } return ...
0
votes
1answer
45 views

Screen Options JavaScript Code

I want to know, what script drives the "screen options" animation toggle in WordPress. I'm referring to the options menu that slides out when the admin clicks the "Screen Options" link near the ...
0
votes
2answers
390 views

Ajax requests from front-end with jQuery Fancybox

I would like to be able to use the jQuery Fancybox's Ajax feature to request datas from the front-end. Here is a part of the code i'm using on the plugin part : wp_localize_script( 'wpPluginjs', ...
1
vote
0answers
45 views

Moving wp-admin folder to a different host in a multisite environment

Current Multisite setup: First site: www.site1.com Second site: subdomain.site1.com Admin: www.site1.com/wp-admin/ How to move wp-admin to a different host, which is accessed via a domain say ...
0
votes
2answers
292 views

wordpress login blank screen [closed]

i wanted to make an offline copy of my live website on my pc so i installed xamp and installed on it wordpress and exported the database and took a copy of files on fttp and after i have done ...
0
votes
1answer
187 views

Lightbox on wordpress post page

I am building WordPress admin plugin. In which I have a metabox with 10 checkboxes (It can be more than that). At below there is submit button. My requirement is: (A) open a lightbox when some one ...
0
votes
1answer
159 views

Infamous admin login redirect

I have a multisite installed with the domain mapping plugin. All the domains work fine, except... One of the sites is on a subdirectory (the main site running Magento). I added a symlink to the ...
0
votes
1answer
172 views

Edit specific nodes in WP_Admin_Bar

Is it easily possible to edit links in the WP_Admin_Bar global $wp_admin_bar instance?
0
votes
1answer
542 views

Copy posts from one blog to another in multisite environment

I am creating a plugin for post.php page where user can select (one or more) blogs and copy the post content,title,author,categories everything in selected blogs. The copied post would be the child of ...
0
votes
3answers
203 views

Validating widget's configuration data on Admin page

I have a simple widget that needs its width and height set by the user, so that it is displayed properly on the blog. The thing is: on the Administrator/Appearance/Widgets page, if the admin user ...
0
votes
1answer
73 views

Wordpress blog fails to open

When I try to view/access my blog I get the following message.... Just wondering if anyone has any ideas as to the cause and the solution? Warning: ...
0
votes
1answer
293 views

Add javascript confirmation popup on “Move to Trash” link

I want to open javascript error message when some one clicks on "Move to Trash" link in Publish box in wp-admin
0
votes
1answer
93 views

Wp-admin Custom User Management

I am working on a plugin for which I will have to develop a backend page similar to the built-in "Users" one, in the sense that it will be basically do the same things: list the existing users ( using ...
0
votes
1answer
589 views

Wordpress Admin: open popup window on a custom button

I am using custom meta box in wordpress post page. this box contains a custom Copy button. Now, I want to open a popup window on clicking 'copy' button. Also I need to show content of parent window in ...
0
votes
1answer
31 views

How can I prevent redirects from mysite/page to mysite/wp path/page?

Apparently this is built into WP somwhere since going to mysite/wp-login.php takes me to mysite/<wp path>/wp-login.php (same for wp-admin and I presume other paths). The problem is, I don't ...
1
vote
1answer
578 views

Disable /wp-admin/plugin-install.php

How can I disable plugin upload and installation via Wordpress Admin? Should still be able to activate/deactivate plugins in admin.
0
votes
1answer
66 views

unsuccessful attempt to change domains- wordpress re-routing to old domain

I've tried to switch a website from zoparealty.com to zoparealtygroup.com. When I go to zoparealtygroup.com, I can see what appears to be a strictly HTML version of the site(no CSS, no php). ...
0
votes
1answer
128 views

Distinguish profile user and admin user IDs / get ID of user being edited

On the user-profile page of my site I want to allow admin role users to be able to edit specific user-meta fields of subscriber role users. How can I distinguish between the two user IDs. The ...
0
votes
1answer
63 views

Remove “Published On” inside wp-admin

How do I remove this? Preferaly would like to do an action hook inside functions.php to remove this. I don't want the editor to see/edit when they published the article. Thank you for your help.
3
votes
1answer
867 views

Wordpress Custom Post Type Admin Page really slow

(I've posted this on the normal stack exchange, but it was suggested that I put it here too. Glad to know this place exists... :)) So, I've been all over the internet trying to figure out what is ...
2
votes
1answer
65 views

How to set Active plugins as the default screen?

In my testing environment, I've got one hundred plugins. I'm more interested in seeing first the Active plugins than the complete list (All). How can I change the default screen for the Plugins menu ...
0
votes
0answers
160 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 ...
5
votes
1answer
543 views

Create a “Dummy” parent page for a hierarchy in page listing?

Is it possible to set up a "dummy" page - just a page title that appears in the page listing, and a page that is not editable and doesn't have a slug? This is more of a hypothetical question, as I ...
0
votes
2answers
143 views

Wp admin - Set default value to 999 in comments

When you are at the comments menu in wp-admin you only see 20 comments at the time, so if you want to delete alla comments you can ONLY mark the 20 comments you see on current page. It dosent mark ...
0
votes
0answers
125 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 ...
6
votes
1answer
106 views

API to trigger prompt on leaving page

I have a proprietary plugin that creates a metabox on the edit-post page. When the data managed by the plugin is edited and the user navigates away then we would like the user to be prompted as ...
0
votes
1answer
91 views

displaying an error before update_post_meta

I'm trying to restrict how many items you can associate with a post so in my save function I have: add_action( 'save_post', array( $this, 'save_custom_items_data' ), 10, 2 ); public function ...
0
votes
1answer
57 views

Customizing admin look and feel for just one particular type of user

Is it possible to change the admin look and feel for just one particular type of user or a group of users. This is not a major requirement for what I am doing at present but a nice to have feature. ...
1
vote
1answer
773 views

Filter Custom Post Type in Admin

I have a custom post type that has custom meta that I want to be able to filter on the Admin page. Much like the "All | Published | Drafts | and Trash" links located above the post list. I can't seem ...
3
votes
1answer
247 views

Restrict acceess of a page in backend

How can I restrict editing of a page from backend only to a specific user? I tried a few plugins but I thought doing it without plugins would be the way to go for me. What measures I can take to ...
1
vote
2answers
562 views

Difference Between Admin and Super Admin in Database

I was looking at the user table and noticed for a super admin ( have access to network admin panel ) and an admin to a network site have same wp_capabilities which is a:1:{s:13:"administrator";b:1;} ...
2
votes
1answer
1k views

Disable wp-admin console for subscribers

I do not want the users (role: subscriber) to be able to login via the wp-admin. How would you suggest I do this ?
0
votes
1answer
173 views

Function to prevent users from trashing comments

Is there any way to prevent/hide trash button for comments? Note that I only want to prevent users from emptying the trash for comments. Can't seem to find a way. Is there any possible way to do that ...
3
votes
2answers
914 views

How to make custom bulk actions work on the media/upload page?

I'm adapting a script I found online to add custom bulk actions to the screen with the list of posts. It has this line: add_action('load-edit.php', 'custom_bulk_action'); I'm trying to adapt it for ...
1
vote
1answer
2k views

How to use “menu_order” field for posts?

I have a special case where I'd like to order posts in a custom order and it would be great to use the "menu_order" field that is normally only used for pages. What would be the best way to expose ...
0
votes
2answers
150 views

Problems in migration of WordPress site from local server to the online server

I am finding some problems uploading a WP site from my local webserver to the official online webserver. The situation is the following one, on my local web server: I have install WP website on my ...
2
votes
2answers
239 views

How do I allow users to follow a post and then allow admins to email all users who have followed that post?

I'm looking to build out the following functionality, but I'm having trouble finding any help on it: user follows a post > user's email is pulled into an admin page and associated with said post > ...
2
votes
1answer
477 views

Admin menu as submenu from another plugin

I would like to add my new developed plugin's admin menu to an existing plugin as sub menu. Would be possible to do this? In my first plugin I initilize the menus as follows: function add_pages() { ...