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

learn more… | top users | synonyms

0
votes
1answer
45 views

Why do Metabox use Nonces?

Why is it advised for admin panel metaboxes to use nonces? Every example I see of creation and saving metabox data there are nonces involved but aren't nonces a bit unnecessary in this case?
-1
votes
2answers
432 views

Hook with jquery script is not working in wp-admin [closed]

This is the hook and script Im using, the jquery script itself is working as you can see in this fiddle: function my_custom_admin_footer(){ echo ' <script ...
1
vote
2answers
739 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.
-1
votes
0answers
201 views

I want to restrict admin panel from front user in wordpress [closed]

I am very new in wordpress. I am working on a project in which I want to restrict access to wp-admin url for admin login. I want when user as well as admin try to access the wp-admin they should ...
0
votes
1answer
213 views

comment_form - show all fields when logged in

I'm using the http://codex.wordpress.org/Function_Reference/comment_form in my comments. If logged in I'm seeing only the textarea for my comment, not the fields for e-mail and name. Question Is it ...
3
votes
2answers
1k views

How to obtain the user ID of the current profile being edited in WP-Admin?

Is there a way of obtaining the user ID of the profile being edited in wp-admin? I know it's in the URL if you are editing a user, EX: ./wp-admin/user-edit.php?user_id=427. Could always ...
0
votes
1answer
3k views

how to create my own edit.php admin page code or template for my custom post type

Most plugins try to hide the components of the edit.php screen on wp admin and replace it with meta boxes to create the needed layout and fields for the custom post type. But this means that there is ...
2
votes
2answers
459 views

Bulk Delete Users Error uri too large

I am trying to delete thousands of users at once. After seeing that I can only display up to 999 user records at once using the "Screen Options" menu I thought that might be ok. But upon clicking ...
1
vote
1answer
620 views

Custom Dashboard Home Screen Options

I want to make the entire Homepage on the Dashboard empty and add in my own custom screen options. How do I go about doing this? Do I create one from scratch or edit what's already there? Is there ...
0
votes
1answer
744 views

admin page passing $_POST variables to itself

I'm new to wordpress but I really like this and I would love to write my applications inside of wordpress. However there are still many things to learn and after a while one can lose it's head, as I ...
0
votes
0answers
313 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
1answer
554 views

Change the “Default Avatar” admin option via functions.php

So I'm trying to add a new default avatar for my theme using the following code: add_filter( 'avatar_defaults', 'mytheme_default_avatar' ); function mytheme_default_avatar ( $avatar_defaults ) { ...
0
votes
1answer
71 views

Capability to read/edit page in wp-admin only for administrators

I want to create a page which is only for editable and readable (within wp-admin) for administrators. To restrict other users to edit any page (and not only the own ones) is not the solution as I want ...
1
vote
0answers
175 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 ...
-1
votes
1answer
83 views

Add News Feed to bespoke website, only to one page on whole site

I have built a bespoke website that is not currently managed by WordPress. For SEO purposes and to announce special offers etc, my client would like to add a News Feed to the site. To save me having ...
1
vote
2answers
1k views

Can't access dashboard, connection times out (other pages work fine)

I have a multisite Wordpress installation with 2 blogs, on different domains. One of them works fine, but I just realized that for the other, I can't access the admin area. I can log in, but when ...
1
vote
1answer
496 views

Taxonomies image

I'm currently creating a theme and I would like to associate an image to one of my taxonomies. I'm already able to add some fields and I now want to add a file input which'll be handle by Wordpress ...
1
vote
1answer
139 views

WP Multisite with Domain Mapping : Preventing User Access to Dashboard

I have a theme being used by a sub-folder multisite and a domain-mapped multi site. E.g. mywpsite.com/site1 mywpsite.com/site2 www.site2.com (leads to the above) I have this snippet of code in my ...
1
vote
1answer
91 views

Can't load a class into WordPress post editor's content field

Following to THIS WordPress QUESTION we tried some tweaks and got some nice solutions, hope we can public them after some good active codes-snippets. According to our procedures, we correctly ...
0
votes
1answer
32 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 ...
1
vote
0answers
156 views

Combine and Minify wp-admin files, also re-write URI's for CDN

I'm currently using WP-MINIFY to combine and minify my front-end files as I have a large number of plugins, it has helped greatly and I'm looking for a similar solution to help with backend ...
0
votes
1answer
2k views

Is it possible to show custom comment metadata in the admin panel?

I've customized my comment form with a new field (city, but that doesn't really matter). I've hooked and filtered and added my comment metadata with add_comment_metadata. I want to show that metadata ...
0
votes
1answer
125 views

Cannot change Connection Information in admin interface

There are 11 plugin updates available for a WordPress site, so I tried updating it. However, when I do that I get an error: Public and Private keys incorrect for <username> I have made keys ...
3
votes
0answers
423 views

How do I rename the wp-admin folder with the admin_url filter? [duplicate]

Possible Duplicate: Can I rename the wp-admin folder? I have applied some mod_rewrite rules to redirect /wp-admin to /my-admin - based on this tutorial. I also changed the admin url ...
3
votes
2answers
336 views

How to build custom WP admin with custom URLs

I would like to create a custom WP admin area, that uses custom URLs to navigate thought it and have a custom generated HTML. A member will be able to login via a custom URL, for example: ...
0
votes
1answer
123 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 ...
0
votes
1answer
120 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 ...
1
vote
1answer
150 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
votes
1answer
42 views

How do I unset all of the select boxes for pages

I am using WooCommerce and need to recreate the default pages. The answer given is Go to WooCommerce > Pages and unset all of the select boxes for the pages (including the shop base option). ...
1
vote
1answer
65 views

limit post by a taxonomy in the admin

I have a site with authors from different locations. I have created a taxonomy called locations and has different countries (ex. Canada, Germany). Each author need only to see his country's post for ...
0
votes
1answer
206 views

How to get new post URL?

I'm wondering... how can I get the new post URL in my theme? Is there a built-in function for this? So, it should return something like http://example.com/wp-admin/post-new.php?post_type=post. ...
0
votes
2answers
3k views

WooCommerce - filter by featured products in admin

WooCommerce has a simple way to pick "Featured" products by clicking a little star icon in the "Featured" column in the admin area. I need to be able to filter and show only featured products in the ...
0
votes
0answers
95 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 ...
3
votes
6answers
936 views

Best way to present options for home page in admin?

I have a site with a custom home page, home.php. What's the right way to present the editable home page options in the admin tool? For example, there's a few custom text fields on the home page that ...
0
votes
1answer
423 views

User Roles: How to hide a plugin from showing in WP-Admin?

I would like to be able to hide a few plugins from showing in the WP-Admin for users who do not have a specific user role as I do not want those users to be able to edit the settings. Do I have to do ...
0
votes
1answer
259 views

Retrieve only posts from a specific user in wp-admin/edit.php

I create a role and set capabilities for a group of user. $userdata = array( //something ); $uid = wp_insert_user($userdata); if(!empty($uid)){ $blogger = new WP_User($uid); //add role ...
1
vote
1answer
2k views

Create custom fields as image uploads [duplicate]

How can I define a custom field that works as an image upload? Should be fairly basic but I can't seem to find the solution. Let's say you create the post type 'book' and want to create 3 fields: ...
1
vote
1answer
53 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 ...
0
votes
1answer
260 views

Phpmyadmin - post editing

i am total newbie with phpmyadmin, and the first time i use it, was to delete a lot of spam comments.I m not sure is it possible to do what i want , but another option would be to go trough 400-500 ...
2
votes
2answers
251 views

I cannot log into my wordpress site with my wp-login.php [closed]

I can login into wordpress.com - but I cannot login to to my hosting wordpress site: http://www.hunterbaby.com.au/wp-login.php When I try to reset password it only recognises my wordpress username - ...
0
votes
0answers
136 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
1answer
56 views

When submitting the form site.com/blog/wp-admin it goes to site.com/wp-admin

I have 2 wordpress websites. One at site.com and the other at site.com/blog. I want to go to administration of site.com/blog, but when I point to site.com/blog/wp-login.php or site.com/blog/wp-admin/ ...
1
vote
1answer
658 views

Getting Custom Post Type content from main-site of a Multisite

I have a multi-site network with 3 sub-sites: Is it possible to "link" or include custom post to all 3 sites from the main site? By include or link I don't mean to make other sites to edit them, ...
1
vote
1answer
136 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
272 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
258 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
258 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
52 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
5k 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 ...