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

learn more… | top users | synonyms

0
votes
1answer
254 views

Adding an Archive button to posts page for administrators

I want to add an Archive button near the Edit, Quick Edit, Trash and View buttons in the posts page - http://i.imgur.com/HDZBPCy.png. I've found a nice function that can probably do just that, but ...
1
vote
1answer
226 views

wp_before_admin_bar_render action not working in back office

This is working great in the front site wp admin bar: add_action('wp_before_admin_bar_render', 'customize_admin_bar'); function customize_admin_bar() { global $wp_admin_bar; if ...
2
votes
1answer
249 views

How could I execute my plugin just in frontend (not in backend)

I don't need my plugin running through wp-admin, including wp-login. How could I prevent it? is_admin works fine but i don't know how to ignore everything related to wp-admin (like wp-login.php). ...
4
votes
1answer
1k 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 ...
-1
votes
1answer
51 views

What does Wordpress mean by they have full rights to content [closed]

I am pondering publishing my blog. I'm leaning more towards WordPress however, I don't want to worry about WordPress doing whatever they want whenever they want withmy blog because I have signed up ...
5
votes
4answers
4k views

Use a different domain for SSL

long time lurker - first time poster. A client of mine has a website developed in CakePHP, and a wordpress blog installed in the /blog/ directory. Let's say the url of the main domain is ...
1
vote
1answer
181 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
210 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
2answers
3k views

How to remove 'create new post' entry for a custom post type?

I have a custom post type that is created using a form on the site. I want to disable new post creation from wordpress admin. Is there a way to do that ?
4
votes
3answers
16k views

How to redirect/rewrite all /wp-login requests

Is there any simple way to have wordpress, php or apache rewrite all urls which involve /wp-admin to /admin? I have added this entry to my .htaccess file: RewriteRule ^admin /wp-login.php [L] ...
0
votes
1answer
116 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 ...
3
votes
1answer
1k views

How can I add a set featured image function to a theme that doesn't already have it built in?

I'm a relative newbie to WP and PHP in general, but now that I'm into it, I've caught the "WP fever" and have ditched asp.net. I finally found a quality theme that I like and I'm considering buying ...
3
votes
1answer
1k views

wp-admin blank in a clean install of Wordpress on PHP 5.4 [closed]

A clean install of Wordpress 3.4.2 is giving a blank screen when logging into the admin panel. This is due to the following resources not loading in Chrome: GET /wp-admin/ /wp-admin/:32 GET ...
0
votes
1answer
34 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
728 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 ...
2
votes
2answers
578 views

How to control contextual help section by code?

I had added some content to contextual help section for plugin options page. Now I'd like that page defaulted/toggled to contextual help section open on specific condition in my PHP code. My only ...
6
votes
1answer
14k views

Changing the 'wp-admin' URL to whatever I want

Is there a plugin that allows me to change the url of domain.com/wp-admin to domain.com/whatever-iwant ? Curious if there is an easy solution to this by now.
0
votes
1answer
299 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 ...
2
votes
1answer
256 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
801 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 ...
1
vote
1answer
271 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 ...
1
vote
1answer
714 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
118 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 ...
3
votes
1answer
1k 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 ...
0
votes
1answer
180 views

How to set where user is redirected to after logging in at wp-login?

So i'm fairly certain this probably has something to do with the fact that I'm using a custom role I've set up in my functions.php file with almost 0 permissions. However, I'm still able to access ...
0
votes
2answers
503 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', ...
0
votes
1answer
48 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 ...
3
votes
5answers
2k views

wp-admin page is blank

Something is wrong with my wp-admin page, it just shows up blank. I am pretty sure it has to do with my function.php file there is no whitespace on the top or bottom, but when I delete it completely, ...
0
votes
3answers
411 views

nothing comes up when i go to my website.com/wp-admin? Which files should I look for?

My hosting company (godaddy) tells me that someone has hacked my wordpress admin login and have put garbage on filesystem. My website is down. and nothing comes up when i try to get my files using ...
0
votes
1answer
214 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
2answers
410 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
3answers
254 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
173 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
80 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
379 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
97 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
725 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
32 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 ...
0
votes
1answer
73 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). ...
1
vote
1answer
832 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
213 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
70 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.
1
vote
3answers
2k views

Removing admin bar from wordpress dashboard

I'm using wordpress multiste 3.3.1 I'm not gonna update it in the future. So I disabled all upgrade functions. I want to remove the wordpress admin bar from both frontend as well as dashboard. I can ...
0
votes
0answers
178 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
653 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 ...
3
votes
1answer
306 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 ...
0
votes
2answers
173 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
147 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 ...
0
votes
1answer
112 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 ...
-1
votes
1answer
110 views

not able to add thumbnail custom field in dropdown

I am using custom fields. Whatever we define in "add new custom field" shows up in the dropdown on refreshing, but for some reason the thumbnail word doesn't add up in dropdown. Can I manually edit ...