Articles of admin

Adding help information to custom post edit page

I have two custom post types created (using Types plugin) with a bunch of custom fields. I need to add a help information, instructions for admins that will show at the top of add new/edit CPT page of dashboard. How can I add a text visible only on those two pages (add/edit post type 1 […]

How to restrict wp-admin and prevent upload errors

I need to restrict wp-admin access to all users who cant manage_options and still let users add media on the front end. function wpse_11244_restrict_admin() { if ( ! current_user_can( ‘manage_options’ ) && $_SERVER[‘PHP_SELF’] != ‘/wp-admin/admin-ajax.php’ ) { wp_redirect( home_url() ); } } add_action( ‘admin_init’, ‘wpse_11244_restrict_admin’, 1 ); I found this code on stack overflow and […]

Remove pages from backend list *and* update counter accordingly

I hidden some pages using ‘parse_query’ hook, but the count for ‘Published’ pages didn’t changed… Where I should hook to change it? My code so far: $query->query_vars[‘post__not_in’] = array(4);

Add a Menu Link (to a WordPress Page) in the Admin Menu/Sidebar

I am trying to add a link, in the Admin Sidebar, that links to one of the pages I’ve created in the PAGES section. For example, I’ve created an ABOUT page. So in the sidebar I would like a link to “About” that loads this link: post.php?post=7&action=edit Why? I am trying to do this because […]

Admin auto-refresh is interfering with Firebug — how to prevent it?

I’m developing a plugin that adds a metabox to the post editing page. When I try to debug it with Firebug, about every 15 seconds the Firebug display refreshes as though the page has reloaded. This collapses the code tree and loses my place, so I have to start from scratch… and get where I […]

Limit Words in Category / Term Description – Admin Panel

I’m working with a Taxonomy where the Terms have lengthy descriptions. It makes the Admin Panel look really ugly when WordPress tries to display these descriptions for 10 categories. I’m trying to figure out a way to limit the number of words or characters displayed in the Category / Term Description Column but I cannot […]

a plugin to share a post to social networks via admin?

I’m not looking for a share this post button for the front end. I’ve seen a couple of similar topics here but not exactly what I’m after. What I would like is a plugin which offers the options in the admin panel to post a link my post to a facebook page, tweets it, perhaps […]

Disable SSL / HTTPS for wordpress

I’ve installed WordPress and setup the database. I go to the address and the setup page is there, but no CSS. I think: something’s wrong, but if I just do the setup maybe everything will just go back to normal. No. So then I spend a while looking through search results for WordPress styles not […]

Add link on the top menu of the post table?

Is there any way to add links on the top, as pictured below?

Administration Pages Styling

I am adding administration pages using add_menu_page() function. But it wont look good. Check the image below. I would like to have it as separated and in between Appearance and Plugins section with rounded borders.