Users with the ability to perform administrative tasks for a site or a network of sites.

learn more… | top users | synonyms (1)

1
vote
0answers
8 views

How to enqueue admin content outside admincp

How do I enqueue admin javascript/css/header outside admincp, and specifically outside Wordpress. I checked one of the admin pages, and it contains this line: require_once( ABSPATH . ...
-1
votes
0answers
10 views

How to merge two WP themes so that the backend shows both theme options and displays both their settings in the frontend? [on hold]

I am wanting to merge the Jupiter - Multi-Purpose Responsive Theme "http://themeforest.net/item/jupiter-multipurpose-responsive-theme/5177775" and the Project Bidding Theme from Sitemile ...
0
votes
0answers
5 views

Wordpress import issues - “Internal; server error” when trying to import .xml

I have persistently had the same issue over the past week; when I try to import my exported .xml file from my old website, and onto the new one, I get a 500 internal server error. I have tried ...
0
votes
1answer
12 views

Other than save_post any other actions on add / edit post screen?

When the add post or edit post screens load, is there an action other than save_post which I can hook on to? I need to make an API request before a user starts adding / editing posts. Basically when ...
0
votes
1answer
14 views

I don't want the complete article to show on homepage

When I post articles the complete article shows in the home page. I just want it to show Intro and then read more. I did not create the site myself and just taking on the role of admin of the page.
0
votes
1answer
10 views

How to create plugin list groups?

How do I create more of these? so that i can create proper plugins categories in the network plugin dashboard of wordpress.
1
vote
2answers
36 views

Add admin bar link to edit author

I am trying to allow my editors and admins to click to "Edit Author" as they would "Edit Post" or "Edit [Custom Post Type]" from the admin bar when they are on a page like /authors/jdoe (Note: I do ...
1
vote
1answer
11 views

Add last Revision of Post column on Admin Panel

How to add this column ( last revision of Post ) on All Posts Manager. I can't find discussion about this problem. Please help me or suggest me an idea. Thanks for all !
1
vote
0answers
11 views

Refreshing collections in the admin media manager

I know this question is very similar to this previously asked question; however, I was wondering if there was a more up-to-date/official way to refresh content programmatically in the WordPress admin ...
0
votes
1answer
20 views

Doubt using $wpbd->get_col for a single column

$table = $wpdb->prefix . 'posts'; foreach ( $wpdb->get_col( "DESC " . $table, 0 ) as $column ){//get all columns from wp_posts echo "<div><p>". ...
0
votes
1answer
22 views

Adding HTML tags or css classes to admin columns

Is it possible to add a custom class to the links in admin columns? I'm trying to replicate the labels below. I'm using WP 4.1 and my CPT is using 'show_admin_column' => true in ...
0
votes
0answers
6 views

Media upload privelages have been disabled for administrators - any ideas?

I have a nearly finished installation of Wordpress that was working fine. Then at some point the permissions for uploading images died for Administrator statuil. Details are: The issue: - I first ...
0
votes
0answers
17 views

custom script not loading at admin pages

I want to load a custom script on the admin pages. Seems simple right. Still, for some reason the script is not loading. I've tried putting this in my themes functions: add_action( ...
0
votes
1answer
22 views

Custom admin email for new user registration

I've scoured the web for the solution to this small issue, but I keep getting results that tell me how to customise the notification e-mail not the email address. I have the admin email address in ...
0
votes
1answer
33 views

Wordpress Brute Force Prevention

I am using WordFence security plugin for keeping track of login attempts and I regularly check the logs from it. I realize that there are going to be a lot of login attempts with the username 'admin'. ...
0
votes
2answers
21 views

My code for creating an admin option doesn't work

I used the code provided in this tutorial to create an option menu in dashboard, but contrary to what was expected, I don't see any new menu in dashboard: <?php add_action('admin_menu', ...
2
votes
2answers
62 views

Filter translations (gettext strings) on specific admin pages

I'm trying to do a string replacement using gettext filter (source): function theme_change_comments_label( $translated_text, $untranslated_text, $domain ) { if( stripos( $untranslated_text, ...
0
votes
1answer
33 views

How to maintain wordpress site blogs in production and staging?

I work as a website admin in my company. We are selling digital products using WooCommerce. We wanted to have staging and production in order to avoid any site down. So in staging we use to create ...
0
votes
0answers
17 views

Wordpress password protected page redirects to admin login on first try

When I password protect my pages, and I enter the correct/wrong password, on the first try, it brings me to the admin login page ( wp-login.php?action=postpass ). Lets say I go back and enter another ...
0
votes
0answers
23 views

Embedding code snippets in posts with indentation

I have a privately hosted blog using WordPress, and I am using the SyntaxHighlighter Evolved plugin for displaying highlighted code snippets nicely. I use the built-in editor in WordPress for writing ...
0
votes
0answers
10 views

admin panel is not showing well after https to http setting

my admin panel is looking like this now.after changing my website address from https to http.any solution. pls i am waiting for ur reply. i have already changed my database url site url and home ...
0
votes
1answer
18 views

Make “Post published. View post” Open in a New Tab

How would I make Post published. View post(edit and pages as well) always open in a new tab? I have this in an iframe but it looks weird when a post is in it.
0
votes
0answers
42 views

Can't access wp-admin/wp-login of my website

Whenever I'm trying to access mysite/wp-admin "Update database required" notificiation comes up. http://awesomescreenshot.com/04844f1y64 After clicking on update database the error of upgrade.php ...
1
vote
1answer
26 views

Link to post author but exclude administrator (on single.php)

How to exclude administrators from the code below? So if the current post author has the role of administrator, nothing will show. <a href="<?php echo get_author_posts_url( ...
0
votes
0answers
15 views

initial sort order for a sortable custom column in admin

I have created a number of 'views' column in the admin area of my posts. There are several tutorials for this and I did in fact use a number of these to arrive at my end result. It works as expected ...
0
votes
1answer
24 views

Add sub menu page in your plugin

this is how i am adding the menu and trying to add the sub menu page which is not adding. party-reservation.php function a_qoute_admin_action() { add_menu_page(__('Reservations Pages'), ...
0
votes
1answer
33 views

Bind custom role to admin page

I've made an admin page showing some records accessible from WP admin via www.xyz.com/wp-admin/admin.php?page=show-records-handle. how can I define a new user role bonded to this page? So users ...
0
votes
1answer
37 views

Move an Admin menu link to another part of the admin menu

Does anyone know how to move an admin sub menu link under admin settings. I am using the Genesis framework and I am removing the whole genesis menu as all the stuff I need is in appearance > ...
0
votes
0answers
44 views

Admin comment always on top of comment list / nested replies - possible?

I'd really just like a push in the right direction for this.. using a callback for a custom comment display so I can have 4 different forms of code and styles for: normal 'parent' comment normal ...
0
votes
1answer
22 views

Improving this link color picker code

I'm looking to create a color picker in the admin for the anchors. I know it can be done by CSS but I have a multisite and would like users to easily set the link colors. The following works but ...
0
votes
2answers
39 views

Send Admin Emails to Multiple Email Addresses

Is there a hook that would allow me to email multiple email addresses for the default admin email notifications? I was hoping I could build an array: $adminEmails = array('me1@example.com', ...
0
votes
0answers
34 views

using slug instead of ID in admin edit post url

In Admin, is there any way to use a slug instead of a post ID# within the url that takes you to a post's edit screen. So instead of: http://mysite.com/wp-admin/post.php?post=5562&action=edit ...
0
votes
1answer
32 views

New User Notification - Setting Email

When a new user registers an email is sent to my email address. When I created the site the first admin account was mine using email address (a@a.com) I want to change which email is sent a new user ...
0
votes
0answers
26 views

Downloading file from wp-admin folder

How do I download file.csv? '/var/www/vhosts/example.com/box/wp-admin/file.csv' Tried like this and a bunch of other ways but no luck echo '<a href="example.com/box/wp-admin/file.csv" ...
0
votes
0answers
22 views

How can i upload files to a dir other than media library

I am developing a custom plugin . That plugin need to have upload functionality which will not be images and should not be seen in media gallery . How can i set a custom upload directory which can ...
0
votes
0answers
20 views

Is it good practice to use WordPress nonce values to restrict page access?

I'm working with a colleague on a WordPress plugin. Part of the plugin functionality is showing dynamic lists with links which allow you to open a new page. Depending on the user's role, they may or ...
0
votes
0answers
26 views

Why loading this code need login?

I've written this piece of code and when I want to load it in WP admin I have to sign in again! what's wrong? <?php function bedehkar_page() { global $pagenow, $wpdb; if($pagenow == ...
0
votes
0answers
25 views

How to backup/move only the admin configuration?

I would like to move all the admin configuration from one Wordpress to another. Is it possible? I have two environments: Development and Homologation. The client is feeding the system with content ...
0
votes
1answer
60 views

Disable HTML (Text) Tab in Post Editor

I am attempting to disable the Text tab in the post editor but not having any luck. The first thing I want to do is set the Visual editor to be the default but this code does not work (it is being ...
0
votes
0answers
21 views

My Admin Not Receiving Comment Notifications

I have an issue where my admin is not receiving notifications when she receives a new blog comment. All setting is discussion are set up for her to receive emails and she is the only user on the site. ...
5
votes
1answer
174 views

How to show custom menu items in the WordPress android app?

I hope this is the right .SE site for this question. When on the road I want to use the Android WordPress app to write short snippets of articles for later use. My blog has some custom article ...
0
votes
1answer
32 views

Plugin Development - Get Admin Url (Including cases where wp-admin is not used)

I'm currently writing a WordPress plugin, and am looking to retrieve the WordPress admin url. It sounds simple enough - and it is - assuming every WordPress install is using the default wp-admin slug; ...
0
votes
0answers
10 views

Admin panel not working over SSL, rest of the site does

My admin panel is not working over SSL. The rest of the website doesn't give any problems, and opening the admin panel over a normal HTTP connection is no problem either. I only get the problem when ...
0
votes
0answers
8 views

Deactive certain plugin on post edit screen

is there any hook to deactivate certain plugins (which i choose) when I'm try to edit posts? I have plugin conflict and I want to deactivate one plugin when I edit custom post type items. Every other ...
0
votes
1answer
31 views

Restrict access to admin

Iuse this code for restrict access to wordpress admin. But now i must allow access to author too. Only for this roles. Is possible with this code? Really thanks add_action( 'init', 'blockusers_init' ...
1
vote
1answer
36 views

Adding text in more than one language (at the same time)

I am building a wordpress site. On the upper-right hand corner of every page on the site I am going to have two (or more) flags, and clicking on any given flag should cause the site to display the ...
0
votes
0answers
30 views

WP Admin register taxonomy and post type performance

I noticed that the wp backend (admin) gets slower (and slower) when creating custom post types & taxonomies. (note that I'm not flushing any rewrite rules). Right now I'm calling the ...
0
votes
1answer
31 views

How do I enable new account notification emails (to the administrator)?

As an administrator, receiving an email when a user registers to my blog is important. How do I enable this feature?
0
votes
0answers
34 views

Custom Admin Menu Order

I have a simple solution in my functions.php for reordering the admin menu. Here it is: // Admin menu - reorder function custom_menu_order($menu_ord){ if (!$menu_ord) return true; return array( ...
0
votes
0answers
32 views

Wordpress login not working

Ok so i needed to add a new user to my wordpress site DreamersCorp.org. When registering in the wp-admin screen it worked. I then proceeded to login and it failed. I then reset the password. I once ...