Users with the ability to perform administrative tasks for a site or a network of sites.
0
votes
0answers
16 views
WP Logs me out after updating anything on dashboard
Not sure what is going on here but my live site kicks the admin out every time they change something in the dasboard. For instance when an admin updates a page the url looks like ...
0
votes
1answer
16 views
Shows site under construction but comes up after I login to admin
I have a strange issue happening with a new site. It keeps going down and shows under construction, but after I login to WP admin, the site comes back up! Any suggestions as to what might be going on ...
0
votes
1answer
245 views
Issue displaying multiple TinyMCE editors with WPAlchemy
I have a custom post type with a WPAlchemy admin meta box class including multiple textareas with TinyMCE editors(for adding content to the custom post template). I've gotten the editors to display ...
0
votes
0answers
15 views
Changing Style of Inputs in Admin
I think that I am missing something...
I am trying to customize the look and feel of the admin section of my site. A lot of my style are working as expected, but when I try to change the height of ...
0
votes
1answer
13 views
Create a page that will be used to create a custom post type
I have created an 'event' custom post type and now I want to create a page that will allow users to create a custom post type from the front-end. Is there a standard way of doing this? I could ...
0
votes
1answer
205 views
Visual Editor only working for the admin user
Any idea why the visual editor would only work on the administrator user. Not even with the administrator role I can get it to work.
I just shows a white box with white type inside it and has none of ...
3
votes
2answers
4k views
Use latest jQuery in WordPress (admin interface)
I want to use the latest jQuery (and jQuery UI) versions on my admin interface (editing a specific post type that I created).
I tried this:
// jQuery 1.x
wp_register_script('jquery1x', ...
0
votes
1answer
43 views
Admin Menu Hack (Left side in Dashboard)
How can I add a Title to my Admin Menu on the left side of the dashboard? Not a link, but just a title? I want do this in my functions and not use a plugin. Also which template file handles this menu?
...
1
vote
1answer
1k views
display all posts in wordpress admin
Is there any reason why Wordpress restricts the amount of posts you can administer at once to 20?
Is there a way to display all posts?
I want to change the category for about 1800 posts.
I don't ...
1
vote
1answer
376 views
How can I filter posts by post_parent in the admin?
I have followed this tutorial and this one to add a custom column to a custom post type edit screen, showing the post parent of each post. My question:
How can I make the post parent clickable just ...
0
votes
1answer
206 views
Wordpress - Selectbox in admin panel function linking to CSS
So what I want to do is link the selectbox to my CSS.
Like if i click an item on the list that the background of my header will change, the header's color is in the CSS.
The selectbox isn't in the ...
3
votes
1answer
529 views
Change admin language based on user (in single-site)
I'm trying to make a small plugin to install in some sites of a german client.
I can make my way around WordPress in german, but would be easier if it was in english.
There's a plugin that manages ...
0
votes
1answer
16 views
get_template_part in admin
I am trying to use get_template_part when creating a page in the admin section of my site. However, it does not seem to be working. Does this function not work in the admin section? What alternative ...
0
votes
1answer
25 views
Identify and display the fact that user is admin next to username in comment section
For all users to see. Not only the admin in cause.
Also I am using a plugin called simple user ranking for displaying the user rank which is calculated for the number of comments posted, so I need to ...
2
votes
1answer
145 views
With WP 3.4 customizer, while using postMessage & working within your JS for one option, can you retrieve current value for another option?
I'm currently working with this awesome article by Otto: http://ottopress.com/2012/how-to-leverage-the-theme-customizer-in-your-own-themes/
For my question, I have two separately registered settings, ...
0
votes
1answer
24 views
Admin user roles/permissions
I have a user who I would like to able to publish new posts/pages, but I don't want them to have access to users. I may want to let them have access to specific plugins, but not others.
Is there a ...
0
votes
0answers
11 views
Disabling a plugin when logged in as admin [duplicate]
Is there any way to disable a specific plugin when logged in as the administrator?
Currently I'm using a plugin called Wp-Minify and I would love to be able to have the ability to pause it when I'm ...
0
votes
0answers
18 views
Disable Media Uploads to non Admin Users
I am working on a clients site, one of the features they want is for his Editors or Authors to only be able to select existing images to insert into Posts from the Media Library.
So looking at the ...
0
votes
1answer
30 views
custom field in admin columns
Im trying to understand how to get the custom field incr_number into admin columns. However im failing to understand and im googling but not finding a direct answer.
It cant be that hard surly?
...
0
votes
1answer
739 views
How to solve 500 Error on WordPress Admin Dashboard due to time-out on getdirsize
problem:
Only some blogs did not show the dashboard (but did show all other admin pages). I have left this problem for some time (months) since Googling did not bring up anything relevant and I was ...
0
votes
2answers
118 views
htaccess and htpasswd
im trying to lock my admin panel from my users with adding htpsswrd file to wp-admin folder. but also i want my users can edit their profiles. so i create this file (htaccess)
AuthName "Username and ...
1
vote
0answers
15 views
Admin Area Custom Type Search By Meta Fields Without Title & Content
I have a custom post type that uses several meta fields. In the admin area I would like to be able to search by those meta fields. I have implemented this currently in my functions.php with this code:
...
0
votes
0answers
15 views
Adding additional text fields and image upload to a Page?
I have a contact page:
I would like to add an additional text field below the text editor and another image upload button. And then display it in the template as something like this:
<?php ...
3
votes
1answer
105 views
Integrate post tags in Post Edit page with qTranslate
Summary
In the tags widget in the Post Edit page, I need to know a way to filter through:
the tags suggestions
the tag terms update when saving or updating the post
At least that is what I think ...
0
votes
0answers
18 views
How wp-admin-bar-my-account-* are generated by BuddyPress
I’ve been trying to find how the menu items are generated by BuddyPress, such that they then appear under the<li id="wp-admin-bar-my-account-*"…>… tags.
I was looking at the bp_adminbar_menus, ...
2
votes
3answers
83 views
How to remove Gravatar from Username column
How to remove the Gravatar image from Username column in the All User admin page?
1
vote
2answers
24 views
Admin Menus - Name Menu different from first Submenu [duplicate]
I am creating a submenu with the following code:
add_action( 'admin_menu', 'jp_create_admin_pages' );
function jp_create_admin_pages()
{
add_menu_page(
'Members',
'Members',
...
0
votes
0answers
15 views
Modify Title of Admin Page [duplicate]
Is there a way to modify the title generated in a custom admin page? Currently, the title generated is appended by '- Wordpress' which is a little annoying.
0
votes
2answers
40 views
Reference external file as a function
In my functions.php I have the following code:
add_action( 'admin_menu', 'jp_create_admin_pages' );
function jp_create_admin_pages()
{
add_menu_page(
'Members',
'Members',
...
0
votes
1answer
28 views
Custom taxonomy auto suggest not working in wordpress admin
I've added to my theme a new custom taxonomy in order to add future filtering capabilities to a custom post type called 'product' (I use the wooCommerce plugin which defines this custom post type).
...
0
votes
0answers
16 views
how to automatically cleanup failed Wordpress uploads in /tmp?
How do we automatically cleanup failed Wordpress uploads that are in /tmp ?
Say delete everything that is 3+ days old.
11
votes
4answers
6k views
Add a Separator to the Admin Menu?
Does anyone know how to add an admin menu separator? I found this but it did not help.
http://lab.yukei.net/wp-code/nav.html?wp-admin/menu.php.source.html
Any ideas?
0
votes
1answer
35 views
Custom Div with links on Admin Bar
I'm trying to add an area on the admin bar that will display user Profile Image, User Name, User Email, User role, and links to Edit Profile and signout. The way in which I would like it to display is
...
-1
votes
0answers
14 views
WordPress MultiSite Network Menus have disappeared?
I've had this WPMS install has been running for years. And I always keep it updated. Today, for some reason, the Network Menu options have disappeared. I can still manually navigate to all the Network ...
0
votes
0answers
10 views
Helper function to get all left sidebar menu items in the admin?
I want to collect all menu items in left vertical sidebar in the admin. Is there a helper function for that?
0
votes
1answer
108 views
Multiple custom post types on same admin page
Here's my situation....
I'm creating a plugin that will allow families to register on the site I'm working on. Each family will have 1 or more children that they need to add to their registration. My ...
0
votes
1answer
19 views
Lost admin “manage_link” capability WordPress. No “Links” menu item in admin menu
Going slightly mad. In the process of upgrading a client's website to WordPress 3.5.1 we've decided to use the built-in WordPress "Links" system to manage their affiliations.
I am using the "Admin ...
0
votes
1answer
25 views
Why Jetpack is missing the “Feedbacks” menu item?
Is there a known issue that would prevent the "Feedbacks" menu item from showing? I have two wordpress installs, one has the menu item the other doesn't. They both have the same plugins, theme, and ...
0
votes
0answers
18 views
Why is $_POST Empty in Profile Edit Admin?
This is a very odd problem - post data seems to be empty in the profile editing page of admin.
Here is my code: http://pastebin.com/3ejg8P99
What causes this? Is there some "safety" step I've missed ...
0
votes
1answer
19 views
Admin Left-Nav options not appearing [closed]
For whatever reason, when I'm setting up administrators and editors beyond the first, they are missing most of the functionality on the left-hand navigation.
http://db.tt/8p3XFmPX to see a screenshot ...
2
votes
2answers
70 views
Admin Ajax is returning 0
I am relatively new to jQuery and AJAX in particular. I have a small issue with the return value always being 0, though I think this is actually the success message and it's not returning anything.
I ...
3
votes
4answers
148 views
Add my own button next to “Screen options” and “Help” in the admin
I'd like to add my own button link next to these two. Is this possible?
0
votes
1answer
46 views
Custom post type isn't working
I just built up a beta environment for testing my new Wordpress site. I didn't migrate the database; I did my own installation again and ported over my theme (it's a simple theme) to my new instance. ...
0
votes
0answers
15 views
Change upload URL, but only upload
Love using Cloudflare, but one of the limitations is that they restrict upload file sizes to 100MB and I need to have users be able to upload larger files. The workaround I've been using is to change ...
0
votes
2answers
194 views
How to add super admin to all sites
Is there a way to add super admins to ALL sites without having to add them to each site individually? My group of super admins needs access to all sites.
0
votes
1answer
209 views
Custom bulk action for media gallery items
I'm trying to add custom "Bulk Actions" to WP 3.5 new media gallery items.
I started from this excellent tutorial which does exactly what I need, but with regular posts; so i tried to adapt it to work ...
0
votes
0answers
27 views
Admin approval needed for media/photo upload
We have a website with a function of uploading photo
Wordpress provides admin approval for posting user reviews
But we need this function to uploaded photo.
when user upload a photo, it is ...
168
votes
108answers
59k views
Best Collection of Code for your functions.php file [closed]
Please vote on the question and any answers you find useful by clicking on the UP arrow on the left hand side of the question or answer.
As with many others who are now viewing this post, I have been ...
1
vote
6answers
412 views
Can I manage more wordpress sites with one wordpress administrator page?
I would like to find a solution, where I can administer multiple wordpress sites (50 plus) using one wordpress admin interface or other tool. I would like to manage plugins and content on these sites. ...
2
votes
3answers
337 views
Sends out email to admin
Are there any plugin or code that sends out a email to me (admin) when a author or writer publish a post?
