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

learn more… | top users | synonyms (1)

0
votes
1answer
194 views

get_post_types not working properly in admin

I'm trying to get all post types (custom & built_in) but it's only gives me only built_in ones in admin. I can get all of them in root (5 with builtins included) but in admin, i can only get 3. I ...
1
vote
1answer
59 views

Permanently activate WordPress theme

It it possible to permanently activate a theme so that it cannot be disabled or changed? Something similar to: define( 'WP_DEFAULT_THEME', 'apollo' );
0
votes
1answer
38 views

Customising the admin columns for a custom post type, but now most of the built in categories don't display?

Our admin dashboard list of our custom post type shows by default two columns - title and categories. We want to improve the list, and to add the foobar custom field. So we do that as follows: ...
0
votes
1answer
32 views

Disabling “View” mentions from backend?

I'm using wordpress as a content manager or something, so i'm using backend only (and i've disabled the frontend with a ghost theme which redirect to the admin panel). The question is: how could i ...
0
votes
0answers
49 views

assign custom post type to another post type

My question is based on those answer: http://wordpress.stackexchange.com/a/85281/68506 and http://wordpress.stackexchange.com/a/5778/68506 What I need is 2 dropdown from a custom_post_type in ...
0
votes
0answers
19 views

hide the administrator from the users dashboard

How can I hide the administrator from the users dashboard after wp-admin login? All the options I have found here are for older version of Wp and do not work. WP Version 4.1.1
0
votes
2answers
103 views

Wordpress Admin Menu defining function is seperate file

Here is my current code, aio_menu.php <?php defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); add_action( 'admin_menu', 'AIO_menu_creator' ); function AIO_menu_creator() { ...
0
votes
1answer
295 views

how to display “Edit | Quick Edit | Trash | View” in custom WP_List_Table column?

I have removed "Post Title" in admin column, and created a custom column. Is there any way to the display "Edit | Quick Edit | Trash | View" link?
0
votes
1answer
43 views

How to enable reply button on mostly deeply-nested comments? [closed]

I have a blog on wordpress.com, using the Twenty Twelve theme. Background In my experience, on wordpress blogs with nested comments, the reply buttons only show on individual comments when their ...
0
votes
0answers
21 views

Moving website - admin section

I have successfully moved a wordpress site from /test directory to the root, so now the website url looks like www.example.com. Fine. However the admin section (wp-admin) still points to /test ...
1
vote
0answers
46 views

How to add internal, revision comments to page updates

I'm not sure the proper WP parlance for this, but I'd like to add historical comments to submitted page updates for version control purposes or as a supplement to the Revisions Browser. (Something ...
0
votes
0answers
181 views

Can't access admin-ajax.php on some sites on Multisite install

I have a multisite install on wpengine, with the main site acting as the parent theme and each subsite a child theme. From the main site and one sub site I can call /wp-admin/admin-ajax.php without ...
0
votes
1answer
56 views

Dropdown taxonomy lists in admin menu

I've added 4 taxonomy list to my wordpress backend: BH Job Experience BH Job Types BH Job Regions BH Job Tags These taxonomy lists are added under Job Listings like this: Now I would like to ...
0
votes
1answer
37 views

Handle logo text color from admin section

Hi as per my requirement I need to have Color Picker option for Logo Text see image For TEXT2 I need to have color picker option which can be managed from admin dashboard I tried ...
0
votes
2answers
118 views

Admin: Navigation Menus do not show empty categories/taxonomies in the list's search tab

This is referring to the Admin area of Navigation menus It seems the normal behavior for building out Navigation Menus (Appearance>menus) is that when you expose categories or custom taxonomies, that ...
0
votes
0answers
83 views

Removing wordpress admin-ajax.php

So, how can I disable "admin-ajax.php"? I used two plugins but they don't seem to work properly. such as "hearbeat control" Any suggestions? Thanks.
0
votes
1answer
93 views

Add a checkbox in plugin options page and make it actually work

My code: function afi_checkbox_field_0_render( ) { $options = get_option( 'afi_settings' ); ?> <input type='checkbox' name='afi_settings[afi_checkbox_field_0]' <?php checked( ...
0
votes
2answers
110 views

Shared Custom post type between WP network sites

I'm developing four websites which are separate, besides the Events (custom post type). Three of the websites are WP, and I've got them in a Network. I would like Events to show up in all three Admin ...
0
votes
0answers
77 views

Unable to render Admin Notices

I am trying to build a plugin and on activation I would like to render message on the dashboard whether the table exists or not but on activation I am getting the following error: The plugin ...
0
votes
1answer
256 views

How can I add a column in the wp_list_table of the admin area?

So my question is pretty much what you see in the picture. In my custom post type of "Products" how can I add an extra column like SEO Yoast did to my main table which is called WP_List_Table. I ...
0
votes
1answer
51 views

Black admin bar is being hidden by page elements

I all of a sudden noticed while building a new WordPress theme that the black admin bar is being hidden by the header element when you scroll down and I can't fix it. I basically have a full width ...
3
votes
2answers
522 views

Allowing admin-ajax.php to receive “application/json” instead of “x-www-form-urlencoded”

I'm using AngularJS's $http function to send my payload to WordPress's admin-ajax.php subsystem, but it seems the latter only accepts x-www-form-urlencoded data, instead of the application/json ...
0
votes
1answer
100 views

No results searching custom post type in admin panel

So I have a custom post type action and when I search in the admin panel I don't get any results. I think I figured out why, but not sure how to fix it. When I enter a search term and then click ...
-2
votes
2answers
99 views

Post Format Status [closed]

I'm new at wordpress theme development. We inspected too many themes but didn't see any common culture at post format status. I wanted to ask how you're using this format, both front side and admin ...
0
votes
1answer
32 views

Include administrator in author list

I have this code that is displaying my last active authors. I also would like it to display WP administrators in this list. The code is: $authors = array(); $count = 0; $args=array( 'post_type' ...
1
vote
0answers
24 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 . ...
0
votes
1answer
35 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
17 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
2answers
68 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
90 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
50 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
116 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
80 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
167 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
26 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
37 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
578 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
84 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
62 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', ...
3
votes
2answers
270 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
109 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
57 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
79 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
21 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
127 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
89 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
74 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
251 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
238 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
120 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 ...