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

learn more… | top users | synonyms

2
votes
2answers
1k views

Create any admin page with tab menu on that

I am very new to WordPress and here I want to create one admin page with tabs as shown in image How can I create such page with these tabs?
0
votes
2answers
523 views

How can I remove the “Add New” button in my custom post type?

I have many custom post types that need the Add [custom post type] feature but I have a custom post type of "About" and I do not need to "Add New" about to the about custom post type. So I want to ...
0
votes
0answers
45 views

Missing data in admin ajax calls on fresh install 4.2.1

I have a fresh install of wordpress (no plugins installed), and i noticed that $_REQUEST in admin-ajax.php doesn't have data fields. For example, $_REQUEST for adding new menu looks like this: Dump ...
0
votes
2answers
304 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 ...
0
votes
1answer
233 views

wp-admin throwing 500 errors after update to 4.2.1

Site owner updated her multisite yesterday via the dashboard. The site itself is still running, but the network and primary site dashboard both return a 500 error. However, the wp-admin for two ...
0
votes
0answers
23 views

Unable to acess wp_admin

I am really stumped by this I am unable to access wp_admin. I have searched through this forum and others and all suggestions that have been offered that could be causing this issue when I check my ...
0
votes
0answers
20 views

More efficient remove meta data from posts?

Looking for a better way to do this, bulk remove custom field from all pages with a taxonomy -> people -> term of names. Any thoughts ? This is attached to a single button on a custom admin panel not ...
0
votes
1answer
18 views

How to change the descriptive text on the menus admin page?

On the menus admin page, it says 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.' I would like to modify this to ' ...
0
votes
1answer
34 views

Can't log into WordPress after domain change

I can not reach my dasboard when I try www.mydomain.com/wp-admin it redirect and becomes ...wp-login.php?redirect_to=http%3A%2F%2Fmydomain.com%2Fwp-admin%2F&reauth=1" this and I can not ...
6
votes
4answers
2k views

How to disable the “Post Lock/Edit Lock”?

I want to disable this just for one Post Type, as it doesn't really matters if there's another user editing it (the main content editing area is Ajaxified and non-admins can only see that). I ...
21
votes
6answers
10k views

How do I enqueue styles/scripts on certain /wp-admin pages?

I have two simple functions that load stuff using wp_enqueue_style() and wp_enqueue_script(), something like these: function admin_custom_css() { wp_enqueue_style( 'stylesheet_name', ...
2
votes
1answer
456 views

Can an admin check passwords of registered users?

I have a site where I open accounts for users and hand over login credentials to them. Now, Let's say that a user forgot his password, and wants to reset it. He clicks "Lost your password?" link on ...
0
votes
1answer
103 views

How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”

I have a custom post type for a plugin I'm creating and the label for the "add an item" type of button (at the top of the list page) needs a partner-button that says "import" and one that says ...
0
votes
0answers
19 views

In edit post show categories as select instead of checkboxes

In wp-admin edit post categories(taxonomies) are listed as checkboxes. People can select multiple categories. That is exactly what I don't want! I want the categories to be listed as an ...
0
votes
0answers
15 views

Get previous post ID for wordpress blog in admin area

I use W3 total Cache for my wordpress blog. I want to automatically purge the cache of the previous post, when a new post is published (or when status of a scheduled post becomes published). Note: I ...
2
votes
1answer
33 views

How can I delete all inactive widgets?

I want to cleanup all inactive widgets. I tried following snippet as suggested by this answer Script to remove all inactive widgets?. $sidebars_widgets = get_option( 'sidebars_widgets' ); ...
4
votes
3answers
2k views

How to change the wording in wp-admin back-end?

I don't want to edit core files in order to change the page where a user enters new posts, so is there a way to do it within a theme, perhaps within functions.php ..? Specifically, I'm trying to ...
0
votes
1answer
550 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
22 views

Seems that admin_post_{action} does not executing

I'm trying to proccess different actions of my plugin with admin_post_{action} hook. But following code seems not working class TestPlugin { function test(){ die('working!'); } ...
0
votes
1answer
21 views

how to stop wordpress admin menu from scrolling with page

Ive already answered this question but when I came on here I noticed this question hasnt been asked, but the question is: How do you stop the admin sidebar menu from scrolling with the page?
0
votes
0answers
25 views

Hide username discovery

How do I stop my usernames being leaked? To explain I tested my WordPress site on http://wprecon.com, and found that my admin username (that I have changed) was able to be discovered. User ...
0
votes
1answer
51 views

What is wrong with functions.php? Fills error log with same error

After a third-party developer was used to reconnect our calendar with the Google Calendar API 3, we found that our .../wp_admin/error_log infinitely wrote: [14-Apr-2015 11:46:59 America/New_York] ...
0
votes
0answers
10 views

Search Posts or Users and Print results

Are there any plugins that would allow a user to search a custom post type and/or users and print results from the backend. For example, a user would go to /users.php search for users by role and ...
0
votes
0answers
16 views

How to hide media link to settings?

I want disable MEDIA LINK TO settings for authors. I tried following code, but authors are still able to change settings. add_action( 'print_media_templates', function(){ echo ...
0
votes
2answers
319 views

Add button in TinyMCE editor to insert text

I'm searching a way to add a custom button to the TinyMCE editor when clicked insert into the visual editor some text. For example: button called "Hi" when clicked insert into the editor "Hello I'm ...
42
votes
7answers
22k views

Organizing Code in your WordPress Theme's functions.php File?

The more customization I make to WordPress the more I start thinking about if I should be organizing this file or splitting it up. More specifically, if I have a bunch of custom functions which only ...
0
votes
2answers
73 views

Select box saves but doesn't update value in admin

I have a select dropdown in my custom meta box in the admin area. It offers two options Approved and In Progress. When I select an option and save it the database is updated, but the value in the ...
0
votes
1answer
38 views

Modify users.php page to create page/post on button clicked

I am trying to create a new Column in users.php (Wordpress Users Page) with buttons. Each button, associated with the user, has to create a page or a post (based on my programmatically selection). I ...
5
votes
1answer
746 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 ...
2
votes
2answers
2k views

How to prevent access to wp-admin for certain user roles?

I did try using the plugin Front End Users but this clashes with something as it prevents access to some front end pages. So I need to manually just set it so that anyone who isn't one of two ...
0
votes
0answers
37 views

Issue with iframe in TinyMCE

How do TinyMCE generate an iframe in wordpress admin panel ?? Actually I could not find out the starting point of iframe which is generated by TinyMCE. Thanks
0
votes
0answers
40 views

Cookie Domain is preventing Admin login

I just defined a Cookie Domain in my wp-config.php: define( 'COOKIE_DOMAIN', 'http://www.example.com' ); define( 'WP_HOME', 'http://www.example.com' ); define( 'WP_SITEURL', ...
1
vote
1answer
215 views

How to make post sticky in the admin page?

i work with restaurant plugin that use custom post type. the question is, if it possible to select some post and make him sticky (always be in the top) in the admin? i need this because when you add ...
0
votes
0answers
15 views

How can I use the admin part of a plugin outside of the admin area?

I know it depends on the plugin, but I'm probably gonna need to do this with a couple of plugins. What would be the general steps to take? The way I see it there are two options: Include WP files. ...
0
votes
0answers
9 views

How to put categoies in admin menu

Hi i want to put two categories of post in admin menu which are floorplan and community. So those categorizes directly can see in admin menu. if i am not wrong from function.php i may do it.
1
vote
0answers
46 views

AJAX requests broken due to HTTPS for wp-admin

I have my wp-admin section forced to HTTPS via a plugin. I also have specific pages that are using https on the frontend (login, billing, etc.) I seem to be having an issue with HTTP pages using AJAX ...
0
votes
0answers
44 views

Get admin menu contents on frontend?

I'd like to access the variables $menu and $submenu while not being in admin dashboard. For example I'd like to display their contents in wp_footer. It seems almost impossible to me, since action ...
2
votes
2answers
147 views

Redirect members to custom page upon logging in through WP admin

When a members logs in through WP admin, I would like to redirect them instantly to a custom URL. What will I need to change to make this possible? Respond with step-by-step details would be ideal.
0
votes
0answers
24 views

wordpress login loop after install

I spun up a AWS instance to run a LAMP stack + the latest Wordpress (4.1.1). I am doing everything from the command line as root and do not use Cpanel or phpMyAdmin After creating the user + DB and ...
19
votes
3answers
31k views

Changing Admin Menu Labels

I have spent the last day using the functions.php file to fully customize WordPress for my client sites. I am amazed at how much I have been able to accomplish and how much easier it will make things ...
0
votes
0answers
75 views

WordPress Multisite on IIS 8.5 - options.php not found on save changes

I've just installed a fresh WordPress on IIS 8.5 and configured it to work with sub-directories. On the primary site everything works fine, but... The problem occurs on the sub-sites that are created ...
0
votes
1answer
20 views

How to add next height number in Order Attributes inside the Add new page. [duplicate]

By default, when a new page is added it will be given the next highest number not already assigned to a page.
0
votes
1answer
26 views

Wordpress Admin - Add Edit link to specific page under Pages Menu

I am trying to add direct links to edit specific pages, under the Pages menu: Currently I am using, which give me the menu item / link: add_pages_page( 'Hero', 'Hero', 'read', '15', '' ); ...
0
votes
2answers
59 views

Custom capabilities not reflecting on admin panel

I've made some custom post types, and some user roles. Each role has access to different custom post types. The thing is that edit_others_customposttypecapability, isn't working. I've tried logging ...
0
votes
1answer
61 views

How to get User Profile path dynamically in wordpress admin panel?

I create registration plugin in front end for user. my all user save as 'subscriber'. Now I wont to get each user profile path from User Profile path dynamically. Simply, Admin Profile path in back ...
0
votes
1answer
38 views

How to make in WordPress admin panel sortable column for the custom field, that count the number of page impressions?

Good day! I try to make display post counter for WordPress. Output count of views function getPostViews($postID){ $count_key = 'post_views_count'; $count = get_post_meta($postID, $count_key, true); ...
0
votes
1answer
628 views

Make a custom column sortable, by custom post count

I have the following code which at the moment displays all posts from post_type product in a column called Art in the users section of wp-admin. (slightly modified from ...
0
votes
1answer
36 views

How to view all posts of current day as default in admin

I want to to show all posts of the current date by default (without clicking the filter button) in WordPress admin posts list screen. I have used this code in functions.php and it works almost. The ...
0
votes
1answer
21 views

WordPress Installed But Not Showing Up! [closed]

I successfully installed WordPress on my domain. I FTP'd and installed it manually. But, something very strange is happening. Whenever I visit my website, the default WordPress Sample Post page is not ...
0
votes
2answers
651 views

customizing wp user with custom fields

I want to allow the admin of a site i'm building to highly customize the wordpress user. This will be a highly advanced plugin so I'm fine creating a whole new page in the admin to do this ...