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

learn more… | top users | synonyms

2
votes
1answer
61 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
93 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
129 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
123 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 ...
2
votes
1answer
490 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
vote
1answer
15 views

comments in Admin

I'm confused about what the Comments section on the posts in the Admin actually does. I have Comments turned on in Screen Options for a post. When I display a post, I see a Comments box. If I enter ...
1
vote
1answer
52 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
180 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() { ...
1
vote
1answer
48 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
142 views

All Users > User List > Update User Meta Field Inline

I am asking user few questions at the time of registration with checkboxes like In Registration form [] I am blah blah [] I am blan blah [] I am blah blah Now user will come for approval in admin ...
1
vote
1answer
859 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
49 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
89 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
1k 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 ...
1
vote
1answer
117 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
120 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
28 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
37 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
36 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
85 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
43 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
57 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
32 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
21 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
1answer
42 views

add slug beside name in Admin Category Checklists

im creating a lot of Categories with the same Name and different slugs, but im having problems identifying which is which in the admin panel, so i came up with the idea of inserting the slug besides ...
0
votes
1answer
70 views

Render content after post title in wp-admin

I want a plugin to place custom content below the post title, and to the right of the permalink. However, I cannot find a specific action reference to hook into. The screenshot demonstrates the ...
0
votes
1answer
428 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 ...
0
votes
1answer
97 views

JQuery multiple toggle values

I'm trying to hide/show metaboxes dependant on the page template chosen. This has been working fine until I have come to show a metabox on more than one chosen page template. The below code displays ...
0
votes
1answer
163 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
1answer
93 views

Show a custom field instead of username in the backend author area

I'm building a new WP site with about 1200 authors(which are actually companies, pulled from my client's existing site), each attached to at least one custom post type. My problem is the admin(our ...
0
votes
1answer
258 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
1answer
28 views

Which filters or actions involve with index page for plugin?

I decide to manipulate index page or all pages except admin page with plugin but I don't know which filters or actions control index page. for example if I want write plugin that shows a link to admin ...
0
votes
1answer
84 views

User Profile Avatars

I'm using this plugin http://wordpress.org/plugins/user-photo/ How can I get the Profile Photo that I upload through this plugin to show in the All Users list beside the Users Name and in the admin ...
0
votes
1answer
134 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 ...
0
votes
1answer
98 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
0answers
127 views

wp_capabilities for administrator (sharing user tables)

I'm attempting to share only the user tables across two separate wordpress websites. I'm not a hardcore coder or anything but I know just enough to understand and tweak things. I found this question ...
0
votes
0answers
359 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
154 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
31 views

cookies creating bugs and interfering with js and correct images and css display when login in the back office

i have experienced weird behaviours with custom js functions output as well as contact form correct display. I have localised a problem being , everytime i connect to admin , i need then to clear ...
0
votes
0answers
21 views

Single admin domain for multisite

We have a WordPress with multisite feature enabled. The sites have totally different domains using the domain mapping plugin. It is like: site1.com site2.com site3.com. Now we want to enable SSL for ...
0
votes
0answers
120 views

Hook in to add new post link wp admin?

How can i customize the Add new post link or how can i add my custom parameter in add new post link like http://www.test.localhost/wp-admin/post-new.php looks like ...
0
votes
0answers
70 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
129 views

Cannot invoke wordpress's API from outside existing PHP system

I have an existing PHP site located on /var/www/A, now I want to add a blog module on /var/www/A/wordpress. I have installed wordpress below /var/www/A successfully. I can visit it via ...
0
votes
0answers
98 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
162 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
200 views

Force RTL styles in admin panel

I wanted to have a multi-language site. I installed qTranslate plugin. It messed my admin panel even after deactivating qtranslate admin panel shows up in ltr. The admin language is unchanged though, ...
0
votes
0answers
92 views

Open lightbox on trash link in wp-admin and get post ID every time

I want to open a LightBox on posts list page in wp-admin. I need to get post ID for every post. Using this post ID I want to fetch its child post and display them in a lightbox asking if user wants to ...
0
votes
0answers
142 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
99 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 ...
-3
votes
0answers
18 views

How to store form submissions and edit their statuses in admin area?

The main idea is to create form (product purchase) and store submissions in DB. In admin area I need to assign statuses for each submission and assign completion to user role 'manager'. Create user ...