Articles of admin

How to change color of registered widget areas in admin?

Right now they are all gray. How to change the color? I mean, how to add a class or id to the registered widget area that are shown in the admin area? This is how you register the admin areas in my functions.php right now: register_sidebar( array( ‘name’ => __( ‘Main Sidebar’, ‘twentyeleven’ ), ‘id’ […]

Passing dynamic options from backend to frontend

I have created an admin options page (using the Redux Theme Framework), in which the admin can customize the website’s appearance (text color, background color, background repeat options, etc.. ). Let’s suppose i want to give my user the possibility of setting a custom background for a section. Admin-side, i have a media uploader form […]

Problems to disable the comments for my statics pages

I am pretty new in WordPress world (I came from Joomla). I am developing a mainly static website using WP (because maybe in the future I will have some dynamic behavior and because WP is pretty light) So I have some statics pages that make up my site. The problem is that I can not […]

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’ […]