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

learn more… | top users | synonyms (1)

0
votes
0answers
24 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
71 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
54 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
34 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
107 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
78 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
33 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
44 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
12 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
47 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
61 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
37 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
1answer
57 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
55 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
49 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
66 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
49 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
27 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
76 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
87 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
53 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
31 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
24 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
23 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
30 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
224 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
38 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
210 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
54 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
20 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
33 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
37 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
34 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
39 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
76 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
45 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 ...
0
votes
1answer
77 views

Exclude categories For Custom post types

I have category 1, category 2, category 3, to category 7 and custom post types Gallery, Article, Front Row.. How can we restrict the admin to choose the category for custom post type Gallery to Cat ...
1
vote
1answer
84 views

Admin doesn't have sufficient permissions to plugin's page

I'm not able to visit plugin page in my admin panel. I have found some advices for debbuging this issue, but I wasn't able to find any solutions in mySQL, everything seems ok. Does anyone has ...
5
votes
1answer
84 views

Prevent author from changing their posts if admin has modified

In wordpress, by default, authors can create and make all changes to their posts. I'm looking for a way to restrict them from making to any change to a post if administrator has made any modification ...
0
votes
0answers
14 views

Proper permisssions for a file in uploads directory to be viewable by admin but not by public

What would be the proper permission to set for a file in wp-content/uploads so that it is not publicly viewable but can be accessed when logged into the admin area? Example - a user uploads a photo ...
0
votes
1answer
22 views

What happens when you create/edit a menu

I need to know this for a plugin I'm developing: What happens when a user creates a menu, add/remove menu items in the admin, what updates are made in the database, what tables/columns are affected?
0
votes
1answer
60 views

My Account Lost Administrator permission

Need help to solve this problem. First i did reflush all upgrade that didn’t complete that cause "WordPress Error: You do not have sufficient permissions to access this page" with force upgrade: ...
0
votes
2answers
72 views

Appearance > Menus

I have added custom WordPress admin menu and pages, however, I would like for it to appear in the "Appearance > Menus" section so that the user can add it in the menu structure of their website. ...
0
votes
0answers
23 views

Disable ajax on custom taxonomy form

In my plugin, I have create a custom taxonomy, service (similar to default category). I want to attach a file with the service. I have completed the updates to form as well as the code that should ...
0
votes
2answers
57 views

Change Buddypress Admin Profile Page Permalink

Does anybody know how to change the default admin profile permalink in Buddypress which is: domain.com/members/admin/ to this: domain.com/members/MyUserName/ I tried to change my name and it doesn't ...
1
vote
0answers
34 views

Adding Field to Profile “Name”

I am trying to add an extra field or two underneath the "Name" or "About" section in the Wordpress user profile. So far I have only been able to accomplish this by: //Begin ...
0
votes
0answers
16 views

Remove DEFAULT POSTS (not custom ones) in admin panel

I am trying to hide the post link in the menu in the admin panel, my code is the following. Any idea what might be wrong? I added that string at then end of my functions file. Thanks a dozen! ...
0
votes
1answer
85 views

Login to Admin Dashboard Problem

I can't login to my Admin dashboard even when I had reset my password from phpmyadmin! How can I solve it. It kept showing this link each time I tried to login with new new password: ...