Articles of admin

Admin login not working

I can’t log in as admin on my wordpress site. I’ve tried to change the password, and a bunch of other stuff, but no result. What happens is that I come back to the log in page, no message. The strange thing is that I can log in as another user, but then I don’t […]

MultiSite: new Sites not showing up

I have a Multisite installation that I just upgraded to 3.5.2. So far everything has been working great (9 sites); after the upgrade I just went to create two new ones, and I have a problem. Everything below is done as the superadmin who is also the admin for the new sites. Network Admin -> […]

Change default italic from <i> to <em> in admin editor

I’ve noticed that the admin editor by default embeds any italic texts with <i> which I intend to use for icon styling. I much more prefer to wrap them with an <em>. How would I got about changing this?

Sortable column containing numeric values for Custom Post Type at WordPress Backend

I have custom post type named Cars. By default, it is sorted by post publishing date, which is very unusual. WordPress should have provided option to sort columns containing numeric values. Alas, it’s not available, and I am looking for solution for the same. Help is appreciated.

Data won't save if metabox within conditional in admin. What am I missing?

What is wrong with this setup? Metaboxes inside this conditional will not get saved. // Only shows for the admin front-page assigned page. $front_page_id = get_option( ‘page_on_front’ ); $post_id = (empty($_GET[‘post’])) ? NULL : $_GET[‘post’]; if (is_admin() && $front_page_id == $post_id) { …….. } Background: The idea of this setup is to have only on […]

Customizing WordPress Admin – How to Change the Avatar size

I am in the process of customizing the back-end of WordPress for a new product that we will be releasing. I am trying to figure out what the best way is to update the avatar size that shows up in the adminbar, in the top right corner. I’m trying to set the image size 30px […]

How to disable accessing the custom post types from frontend via a link?

I am registering a custom post type like: /* POST TYPE: SECRET CARDS */ function register_post_type_secret_cards() { $args = array( ‘labels’ => array( ‘name’ => ‘Secret Cards’, ‘singular_name’ => ‘Secret Card’, ‘add_new’ => ‘Add New Item’, ‘add_new_item’ => ‘Add New Item’, ‘edit_item’ => ‘Edit Item’, ‘new_item’ => ‘Add New Item’, ‘view_item’ => ‘View Items’, ‘search_items’ […]

How To Make Iris Color Picker Showed Up Over Form and Text?

Is there a way to make wordpress default color picker (iris) showed up over form and text using wordpress api? Its inline display messing up the administration page of my plugin each time the color picker box showed up.

Add filter-by-tag in the all posts admin console page

By default the ‘all posts‘ page contains the following filters by date by category Is there a way I can add ‘by tags’ as well ?

Help with filter for wp_notify_moderator()

I have a case where I have multiple Administrators. Not all of them want to be notified per email when there was a comment posted or is held for moderation. The Settings > Discussion page only allows for the control of comment moderation emails for all Admins, not for selected ones. Responsible for the emails […]