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

learn more… | top users | synonyms

2
votes
1answer
896 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
291 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
800 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
187 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
1k 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
3k 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
162 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
269 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 > ...
3
votes
1answer
592 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() { ...
1
vote
1answer
3k 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 ...
1
vote
1answer
392 views

Lost administrator privileges and can't find a fix

WordPress 3.5.1 Web Host: Windows Azure Cloud Database Host: Cleardb Web Server: IIS 7.5 I've built a custom child theme that runs on the Genesis Framework and it has multiple custom post types ...
0
votes
1answer
217 views

Separate tags with semicolon

Does anyone know if there is a way to change the callback function for a tag-like custom taxonomy so that it breaks terms after a semicolon instead of a comma? I realize I can rewrite the whole meta ...
1
vote
1answer
85 views

Issue plugin commands in admin settings page

What is the right way to issue commands in wp-admin? My plugin imports data from a set of RSS feeds via a cron job. Thats all working good. I've set up a custom settings page to change parameters, and ...
0
votes
1answer
221 views

How can I limit page parent dropdown to show only author's own pages?

I'm trying to get the page parent dropdown (in page attributes) to show only pages that have been published by the author of the current page. This doesn't seem to work : add_filter( ...
0
votes
1answer
172 views

How can I remove unwanted word on my WP site?

As this post will likely show, I am new at working with WordPress. My church website is built in WP. Recently I noticed that there is the word, "Array" that appears in the left upper portion of each ...
0
votes
3answers
5k views

White screen of death only in wp-admin

I'm able to log into the website but the moment after login, I get a white screen in wp-admin. I can still access the website and it shows that I am logged in with the toolbar at the top of each page ...
1
vote
1answer
52 views

Adding Custom Capabilites

So, I'm not sure if this is possible, but is it possible to add custom Capabilities? So, I've written a group message application, that ties in with Wordpress. I only want certain members (set via ...
0
votes
1answer
671 views

Wordpress Options Page not working

So, I need to add a custom options page, and based on as many tutorials I could find, I came up with the following code to create an officers & chairs options page for my group, mainly, so I can ...
0
votes
3answers
383 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 ...
3
votes
3answers
644 views

Make fonts.com font work in TinyMCE (iframe referrer issue)

I'm using custom (commercial) fonts in my project. Everything works well in the frontend. I noticed however that, when trying to add this font to the TinyMCE iframe, I get a 403 for the webfonts. The ...
-1
votes
2answers
314 views

Can features like Disqus or Intense Debate be done in a normal WordPress plugin without a 3rd party involved

I was searching for a real good feature rich comment system for Wordpress, I used Disqus a few times and may still not know the whole list on features and why it's so popular. Would features like this ...
0
votes
4answers
297 views

100+ terms in any taxonomy slows down post updates?

I'm making a fairly large (for me) e-commerce shop with Woocommerce. The shop has ±1300 products and will be going to ±2000 products. There are also ±2500 Product Tags. I've had speed problems on a ...
2
votes
3answers
2k views

How to disable or hide “collapse menu”

Is there a code in functions.php that I can add to disable or hide "collapse menu" button? The one that is on the left side of the admin menu in the dashboard. I'd need it for both admin, authors, ...
0
votes
1answer
1k views

Fatal error: Exception thrown without a stack frame in Unknown on line 0

I'm getting a really cryptic error and I'm not sure where to begin. The site (http://www.petcercise.com/) works fine, but when I attempt to go to /wp-admin/ I get the following error: Fatal ...
2
votes
1answer
406 views

Hide page visual editor if template is selected - redux

The answer given to a previous and identical question is unfortunately not working on my WP install. I'm using a version of the function recommended there. function nim_hide_editor() { $post_id ...
1
vote
3answers
290 views

jQuery UI inside widget on admin page

I have created a widget that has quite a few settings, and so I am trying to create a tabbed menu (using jQuery UI) inside the widget settings of the admin page. The problem is basically that tabs ...
0
votes
1answer
616 views

500 Internal Server Error after Register dialog, but with successful registration

I get a 500 Internal Server error if I try to register a new user. This user will be created successfully, but I don't want that my users will see the error page and, therefore, think that something ...
-1
votes
1answer
81 views

jQuery “on” handler does not fire on newly inserted widgets [closed]

I have a jQuery script attached to the widget.php page via an add_action('admin_footer') call. The jQuery executes fine on widget items that were in place when the page loaded. However, on newly ...
0
votes
1answer
250 views

Unwanted redirect in admin area

I have a strange behaviour on my backend. This is possible due to the way my WordPress is located. I installed it in a VirtualBox, using Ubuntu from the standard repository (i.e., apt-get install ...
0
votes
3answers
142 views

Can I host WP-admin locally for a remote blog?

I'm having an issue where my theme creates a pile of images sizes on uploads (because it's supposed to), and my server periodically gags on the process. It's resulting in a pile of "MySQL server has ...
0
votes
1answer
2k views

admin-ajax.php loading many times

My site is running slow, because the file "admin-ajax.php" is loaded many times. see screenshot here: http://f.cl.ly/items/2b0O3Q0X27433X2F2j3U/Bildschirmfoto%202013-02-23%20um%2014.13.14.png Here ...
1
vote
2answers
636 views

Create Read Only Admin

Is there an easy way to create an admin user that has read only permissions? That is, they can login and see everything an admin can, but they cannot change anything at all.
0
votes
1answer
108 views

Dismiss Admin Pointer Temporarily

I have a custom meta field for a page that contains a future date. I'm wanting to make sure this is always a future date and have decided the best way to do so is by creating an admin pointer if the ...
0
votes
2answers
679 views

How to load php file for specific page in admin?

Hello and thanks for the guidance! Trying to load a custom .php file for only my home page (template is page-home.php) by using this code: add_action('admin_init','load_home_meta'); function ...
3
votes
2answers
984 views

Wp3.5 Media Gallery Edit modal: change captions to title

How can i change those editing inputs to title from caption? Some sources i found about new upload system: Using the WordPress 3.5 Media Uploader within plugins How to Add the WordPress 3.5 Media ...
0
votes
1answer
59 views

Is it possible to set a option, and then redirect to another page directly from a admin notice link?

I like to execute a update_options() and stuff and then redirect to another plugins page? Directly after the user clicks a link in a Admin notice. How would i do that? Ajax? Is that even possible?
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 ...
20
votes
1answer
3k views

Is it possible to reuse wp.media.editor Modal for dialogs other than media

To expand: I'd like to utilize the same Modal code/appearance ( as used in wp.media.Modal, wp.media.FocusManager ) to open a modal of my own custom dialog, not the Media Editor. In the past, I've ...
0
votes
1answer
253 views

Removing the TinyMCE editor for a given page template

I was looking for a way to remove the TinyMCE Editor for a specific page template in a theme (in my case it's page-home.php). I found the following code, which works, however, I was wondering if this ...
1
vote
1answer
681 views

404 Error on Activate / Deactivate Plugin

I have a standard WP install (3.5.1) and am trying to activate a new plugin (WP Super Cache) however each time I try to activate it, I get my site's 404 error page... which is strange as it's the same ...
1
vote
0answers
190 views

wp-admin won't load after setting wp-login custom url

I changed the wp-login.php url to /login/ so all links in registration and forgot password emails have /login/ rather than wp-login.php. The problem now is that when I visit /wp-admin/ or click on ...
3
votes
1answer
1k views

Auto sort the wp-admin post list by a meta key

I am using this following code in my functions file to hide and add some custom columns to my post-edit screen in wp-admin. I am now trying to get the post list to sort by a post meta field (last ...
0
votes
3answers
318 views

How to isolate code to the post edit screen

I've got some jQuery that interacts with items on the post and page editor screens. However, the script is also loading on other admin screens that are driven by post.php Is there a way to target the ...
0
votes
1answer
701 views

Admin post list - adding an option to the date filter dropdown

I've been asked if I can add an option for "Today" and "Yesterday" to the date filter dropdown at the top of the post list in the WordPress admin view. (This is the list that shows recent ...
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 ...
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 ...
0
votes
1answer
446 views

Date range filter for manage posts list on edit.php

I need to add some custom submenu links to the Posts menu in WordPress admin so content managers can click on a link and get a list of posts from today, yesterday or this month. The default date ...
3
votes
1answer
217 views

Possible to create placeholder images in Wordpress editor that are clickable (should bring up uploader)?

Working on a project where I would like to have buttons within the actual visual editor area where the user can click on the placeholder image and it brings up the upload dialog. I've seen that ...
2
votes
1answer
69 views

How can I remove the new stats message? [closed]

I've recently (latest update) been welcomed to my stats page with this annoying message: Can anyone tell me how to remove that offensive red "did you know" message? Edit: Looks like adding: ...